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 the first year of my job. I was working for Curl project in Persistent […]
One of my friend was looking for a way of batch converting images in to pdfs. Well, This is how you can do it. That’s a simple algorithm how to convert jpg to pdf. I use mac, so tutorial is for Mac/Linux. Mac: Install Brew From here View the code on Gist. Linux: Install imagemagick […]
I have moved my blog to WordPress 3.6. So far so good. Twenty Thirteen theme is lovely.
WordPress as a very nice Author-info, I like it. By default it is off unless there are more then one author post on your blog. You can turn it on without installing any stupid plugin or code edit. Follow these steps. First you should update description in your WordPress user profile Open phpmyadmin or equivalent. […]
I am a proud owner of 2012 Royal Enfiled Classic 500cc . I rarely find complete specification on Internet so I uploaded myself.
Melpa is a Emacs mode repository. If you are not using Melpa on Emacs 24 you are really missing something. Put this in your .emacs file. Restart and run M-x list-packages
Here is how to get colors working and allow native scrollback in terminal.app file: .tmux.conf Show sort hostname in tab title of tmux. Really helpful trick. file: .bashrc
I always wanted to sync history of my all shell session. View the code on Gist.
How to access a website with multiple virtual hosts from Arduino Ethernet Shield. The problem is if you have used Arduino Ethernet Shield, then you know that you can connect a IP, But if the IP has multiple virtual hosts, it will only connect to default virtual host. If it is commercial shared VPS, You […]
I spend most time with IRB or Rails/console. These are good settings on which I have settled with over the time. These will allow you to have basic logging and IRB history. Just put these in the ~/.irbrc file (If file doesn’t exist then create one). View the code on Gist.