How Emacs changed my life

I became aware of Emacs in my college days but kept using ViM, I was naive and thought no one uses Vim except me. I was proud because I was using something a hacker uses.

I actively started using Emacs in first year of my job. I was working for Curl project in Persistent Systems. At that time I had choice between Curl IDE, and Emacs. I am being inspired by all the movies immediately decided to use Emacs. Slowly and gradually I learned a thing or two about in Emacs. I learned the philosophy and learned to customise my own editor.

Emacs has a good learning curve. At first you will struggle just to close the editor, save files. Absence of tabs will confuse you. But in long run you will have deep understanding of the language/platfrom you are working on. I like Most people stared setting up emacs the way I want it. I experimented with various Modes. Since then I have worked in many languages like C++, Ruby, Python, C#, Javascript/Node; But my editor stayed same.

I have never felt limited with emacs, Partly cause I am good at using Emacs and partly I don’t like IDEs. I always find intersting people using emacs, a great example will be Yukihiro Matz, Inventer of Ruby. He shared a slideshare on Emacs, go take a look.

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*:sm[email protected]:[email protected]'

This should be enough to get you started. Google for Tmux cheat sheet to know popular shortcuts. Here is the one of them. http://cheat.errtheblog.com/s/tmux

WordPress Android App

I found this new app on android for worspreass. this is really awesome. You should try this some time. It supports all the basic features like post, page and comments etc…

Posted from WordPress for Android

Nice deck

Found really nice deck on SlideShare with great Mark twain quotes. And then I embeded it here. But looks like author didn’t like it, and he removed it.

So I found something better then that. Just check it out. By the way I am using SlideShare oembed plugin for WordPress by Jai Pandya

http://www.slideshare.net/GlobalGossip/really-ugly-resumes

Quiz o Twist

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

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

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

gnome

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

Gimp – The ultimate

I am not new user of gimp, but I am also not a power user of gimp too. Recently I was creating a poster for a office event. I used script-fu -> alpha-to-logo scripts. I have to say that gimp is ultimate. I created a animated blinking neon light GIF of my name.

Gimp is more then enough for any casual user. There is no reason it cant be used as a professional tool.