Batch Convert Image to PDF

One of my friend was looking for a way of batch converting images in to pdfs. Well, This is how you can do it. I use mac, so tutorial is for Mac/Linux.

Mac: Install Brew From here

Linux: Install imagemagick and poppler-utils

Use this one line script to convert all the image in current folder

Tmux – Gnu Screen alternative

I am a very old user of Gnu Screen, actually I am one of those who will suggest noobs to use these better tools for servers. Gnu Screen is awesome tool. It has helped me of good help always and it will. But It very hard to configure and explore for new possibilities. If a tool is unmaintained for a long time it gets outdated. Recently I found a replacement of my age old tool. The Tmux!

Tmux is really great and very easy to use. Best part is you can set all your old shortcuts here too. 🙂

To install it in mac do

$ brew install tmux

on ubuntu

$ sudo apt-get install tmux

You can put your setting in ~/.tmux.conf

# set -g default-terminal "xterm-color"
set -g terminal-overrides 'xterm*:smcup@:rmcup@'

This should be enough to get you started. Google for Tmux cheat sheet to know popular shortcuts. Here is the one of them.

Quiz o Twist

Do you think you can trick the quiz. Really! lets see.

Please give your answers through mail [mail (at)].

This round is called as Questions to the Answer. You are given one answer and four option, you have to choose the correct question for which you are given the answer.

1. Answer: Tokyo

Que1: which city has the largest population?
Que2: which trade city was atomic bombed in 1945?
Que3: which city has the largest area?
Que4: which city has the highest air traffic in terms of passengers?

2. Answer: 12

Que1: How many man have walked on the moon till date?
Que2: Which number is considered unlucky in popular culture except in Italy?
Que3: How many miles is the marathon race?
Que4: How many countries played the first Olympic in Athens?

Continue reading “Quiz o Twist”

Restore Gnome Default Panels

Many times we screw our gnome desktop panels accidentally. I found a very easy solution to revert them.
Just open terminal and type.

gconftool-2 --shutdown
gconftool  --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

But remember this is not the case when gnome panels get scrambled automatically (Which seems to be a consistent case in Ubutnu 10.04). You can simple refresh you gnome panels by doing.

killall gnome-panel