Setting proxy for CPAN

To enable CPAN behind proxy: Ref: http://abhijit.name/setting_cpan_for_proxy.html

November 15, 2013 · 1 min · 7 words · kenno

Vim backspace delete problem

In insert mode, backpace doesn’t delete characters as intended. To fix this issue, add this configuration to the .vimrc as the following: set backspace=indent,eol,start Reference: http://vim.wikia.com/wiki/Backspace_and_delete_problems

August 7, 2012 · 1 min · 26 words · kenno

Kill all processes of a user

The following command will kill all processes belong to a single user on Linux. pkill -u username Credit: Linux – Kill all processes for a user

May 9, 2011 · 1 min · 26 words · kenno

Playing .ass subtitles with mplayer

$ mplayer -ass -sub subtitle.ass file.avi

August 29, 2010 · 1 min · 6 words · kenno

Change default editor in Debian

` update-alternatives –config editor` There are 7 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /bin/ed 2 /bin/nano 3 /usr/bin/vim.tiny 4 /usr/bin/vim.basic 5 /usr/bin/nedit 6 /usr/bin/emacs21 7 /usr/bin/xemacs21 Press enter to keep the default[*], or type selection number: 6

April 19, 2010 · 1 min · 39 words · kenno