Short IT recipes

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

Wednesday, April 19, 2006

Latex: Sorting and referencing using bibtex

›
Standard way of referencing in Latex is to put references number is square brackets, ,e.g., [3]. However, sometimes it is necessary to put r...
Wednesday, April 05, 2006

Ruby: Real number precision

›
If you do some things that involve float/real/double numbers in Ruby, you must lookout for one thing. For example if one write code like thi...
Friday, March 03, 2006

imagemagick: apply median filter

›
Apply median filter of radius 2: for f in *.tiff; do convert -median 2 $f ../outDir/$f; echo $f; done
Sunday, February 12, 2006

Matlab code time execution

›
Most people is familiar with tic; toc; commands in matlab to check execution of their code; But more detail insight into this problem is by...
Thursday, February 09, 2006

Mac X: Changing bash prompt in X11's xterm

›
Default bash prompt in my X11's xterm was: PS1="\h:\w \u" This was very annoying as the prompt contained all the path to the c...
Thursday, February 02, 2006

Unreal Tournament 2004: Make it slower

›
UT2004 is very nice and one of my favorite games. One nice option it has it is possibility to setup the speed of the game. You cannot do it...
Tuesday, January 17, 2006

Latex: draft option

›
Writing some long document/article in latex with a lot of figures can be not very nice; providing that, the more figures you have the more t...
Sunday, January 15, 2006

Matlab: getargs.m

›
Get arguments function code (getargs.m) function S = getargs(defaultS, varglist); if mod(length(varglist),2) ~=0 error('Odd number o...
Tuesday, January 10, 2006

Ubuntu: quick setup of vsftpd server

›
Instead of proftpd it is faster to use vsftpd. After installation ( sudo apt-get install vsftpd ) just: sudo vim /etc/vsftpd.conf And uncom...
‹
Home
View web version
Powered by Blogger.