Scripting Tmux Layouts

Tmux is an awesome replacement for Screen. I have a couple of standard terminal layouts for programming. One of them is show below. Vim editor on the left. Top right pane has the bpython interpreter. Bottom right pane has the bash prompt. I have a small tmux script in my ~/.tmux/pdev file that has the following lines selectp -t 0 # Select pane 0 splitw -h -p 50 'bpython' # Split pane 0 vertically by 50% selectp -t 1 # Select pane 1 splitw -v -p 25 # Split pane 1 horizontally by 25% selectp -t 0 # Select pane 0 In my tmux....

August 3, 2011 · 1 min

Downloading Specific Filetypes using 'wget'

I decided to prepare myself for the Intro to AI, a free online course offered by Stanford. I found the course website: http://www.stanford.edu/class/cs221/schedule.html and wanted to download all the slides. It’s time to pull all the ppt files from that page. wget -r -A.ppt http://www.stanford.edu/class/cs221/notes/ This created a tree of empty directories with one of them that had all the ppt files. Time to clean up the empty folders: find -depth -type d -empty -exec rmdir {} \; Ta-da!...

August 1, 2011 · 1 min

Synchronize Panes in Tmux

Tmux is an alternative for screen. For anyone who doesn’t know screen, it is a terminal multiplexer which means, it allow multiple windows in terminal. It can split your window into multiple panes (vertical/horizontal), detach a session which can be attached at a later time. Detach/Attach is very useful for running a job in a remote server without having to keep the ssh open the whole time. Tmux can be configured by ~/....

April 25, 2011 · 2 min

Why do I hate Gnome?

I’ve been using Ubuntu Linux on my netbook for the past couple of days and I’m quite pleased with the whole experience, except for the initial issues (I just won’t trust the auto-update).Ubuntu uses the Gnome desktop environment by default with a little bit of tweaking. Gnome UI designers have a sense of aesthetic cognizance to their designs. I’ve always appreciated the crisp icons and the polished dialogs. I’ve been known to throw around the word stunning, quite generously, while describing Gnome....

February 28, 2011 · 2 min

Ubuntu and I have some trust issues

I’ve been exclusively using Meego on my netbook and I was moderately happy with what it provided. So I did what any self-respecting hacker would do - I tried to make it better. Well, we all know how that usually ends. I managed to uninstall every single kernel in the system and rendered the system unbootable. Taking this as an opportunity I decided to try a grown-up OS. Enter Ubuntu into the picture....

February 20, 2011 · 3 min