Short IT recipes

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

Sunday, September 18, 2011

ffmpeg: Convert mp4 to mov

›
To convert mp4 movie into mov movie the following command can be used: ffmpeg -i input_file.mp4 -acodec copy -vcodec copy -f mov output_file...
Thursday, August 18, 2011

CentOS 5: Mount samba share in read-write mode

›
To mount a windows share on centos with read-write mode, I used the following command as a root /sbin/mount.cifs //ip_address/windows_share...
Tuesday, July 26, 2011

Git: change commit editor to vim

›
This command can be used: git config --global core.editor "vim" or one can setup environment variable GIT_EDITOR: export GIT_EDITO...
Sunday, June 26, 2011

Git: last commit date

›
To obtain date and time of the last commit in a current branch one can use git log command: git log -1 --format="%cd"
Tuesday, May 03, 2011

IELTS preparation: useful vocabulary

›
Recently, I was preparing myself for IELTS (International English Language Testing System) test (general module). As part of this preparati...
Saturday, April 30, 2011

Ubuntu 11.04 (Natty Narwhal): Use 'normal' GNOME instead of Unity

›
Ubuntu 11.04 uses Unit as its default desktop environment. However, it is very easy to switch back to 'normal/traditional' GNOME des...

Ubuntu 11.04 (Natty Narwhal): How to remove chat and mail icons (indicators) from system tray

›
Just like for Ubuntu 10.04 , the two following icons (notifiers): can be removed by removing two packages: indicator-me and indicator-messa...
Wednesday, March 30, 2011

ImageMagick: Make thumbs of images

›
For example to make jpg thumbs of all tiff images in a current director one can use: for f in *.tiff; do bname=`basename $f .tiff` ; conver...
Thursday, March 17, 2011

ImageMagick: Flatten and convert an image to grayscale

›
In short, to flatten and convert to grayscale all images in current director one can use: mogrify -flatten -type Grayscale * or mogrify -fla...
Tuesday, March 08, 2011

An example file upload progress monitoring in Zend Framework 1.11

›
An example web application demonstrating usage of Zend_ProgressBar  and jquery progressbar  for monitoring progress of file uploads in Zend ...
‹
›
Home
View web version
Powered by Blogger.