Short IT recipes

i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...

Monday, June 21, 2010

"Remote desktop session has ended" error when connecting to a guest on VirtualBox

›
I had a problem connecting from Windows using build-in Remote Desktop Connection program to a a guest on a headless VirtualBox server. I fou...
Saturday, May 29, 2010

Example of SSH tunneling

›
Example: ssh -N -L 5904:127.0.0.1:5901 username@remoteserver The above command forwards everything on localhost port 5904 to the port 590...
Friday, May 14, 2010

VirtualBox: start and stop a guest in a headless mode

›
Lets assume that we have a guest VirtualBox machine called "xp". To start it in a headless mode we can use VBoxHeadless --startvm ...
Sunday, April 25, 2010

bash: send a command to a screen session

›
" Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells....
Saturday, April 24, 2010

Ubuntu 10.04: How to remove chat and mail icons (indicators) from system tray

›
The 10.04 LTS release of Ubuntu seems to be very, very good. However, for some strange reason, creators of this release made some strange de...
Monday, March 08, 2010

Matlab: Convert numerical array to cell with string representation of numbers

›
Short Matlab script that takes an array (i.e. vector) of numbers and returns cell with fileds that are string representation of the numbers ...
Wednesday, March 03, 2010

imagemagick: crop all images

›
Example: convert rose: -crop 40x30+10+10 +repage repage.gif
Friday, February 26, 2010

Change font and font size in Fluxbox

›
In Fluxbox 1.1 a font and a font size can be changed by editing a overlay file, usually located in ~/.fluxbox/. So just add the following l...
Thursday, February 25, 2010

bash: split string to array

›
There are few possible ways of splitting a string with delimiter-separated values to an array in Bash. Here I present five of them. 1. Usi...
Wednesday, February 24, 2010

bash: read a specific line or/and a column from a file

›
If we have column-row wise txt files, we can use awk and sed programs to read the rows and columns of such files. Read specific line To r...
‹
›
Home
View web version
Powered by Blogger.