A Code Monkey's Blog

Perlbrew and openSUSE

I have heard about how great perlbrew is from time to time on the web but I have never had a chance to play with it until today. After my openSUSE was upgraded from 11.x to 12.x and system-wide Perl was upgraded from 5.12 to 5.14 ...

Make apt like zypper

apt is one of the reasons that I like Debian/Ubuntu, but type apt-cache search, apt-cache show, apt-get install, apt-get update, apt-get upgrade is so verbose. To make life easier, I have stolen some ideas from zypper from OpenSUSE by adding the following lines into my .bashrc:

apt() {
 if [ "$1 ...

Latex \cite{} tolerate white spaces?

To make latex/bibtex tolerate the white spaces in your long \cite{foooooo, baaaaaar, loooooooog}, use package 'cite'

\usepackage{cite}

Yet another rename

I had many randomly named files and directories under my working project. Today I wanted to organize them in a more consistent naming convention. So I needed a file rename tool. Even though Linux base installation has a command 'rename', I soon found this Perl app rename is better thanks ...