Moar Geez

Posted: February 27th, 2011 | Author: | Filed under: Uncategorized | Tags: | No Comments »

Here is the result of my first bandwidth test (speedtest.net) using my mobile phone. Evo 4G (HTC Supersonic) running Cyanogenmod 7 (nightly build), WiMax (Sprint 4G).

Speed test result: Cyanogenmod 7 on Evo 4G (HTC Supersonic), WiMax (Sprint 4G)


Turbonium Color Theme for GNU Emacs

Posted: February 20th, 2011 | Author: | Filed under: Linux, Tools and Gadgets | No Comments »

Here is the color theme I created to use with GNU Emacs (Emacs > vi, btw). It’s based on the Blue Mood theme, which is part of the emacs-color-theme package included with Debian. I decided to name it ‘Turbonium’, because I have to hold in a snicker every time I hear that word. I use Emacs for editing C source code mostly, so this color theme is tailored to that end. Here’s a screen shot to demonstrate how it looks with the White Rabbit font by Matthew Welch:

download turbonium.el.tar.gz


Practical jokes with bash

Posted: February 20th, 2011 | Author: | Filed under: Funny, Linux | No Comments »

Has your Linux loving friend left her computer unlocked and unwatched? Try this from a terminal prompt:

echo "PS1='8===D ~~ '" >> ~/.bashrc


Saving Trees With a Template

Posted: January 27th, 2011 | Author: | Filed under: Things I Learned in College | Tags: , , | No Comments »

School is back in. This semester I’ve decided to try taking notes in my linear algebra class using my laptop instead of pencil and paper. This turns out to be a challenge because of the special symbols used in mathematics. LaTeX is is a typesetting system which allows users to create documents with nicely rendered mathematical text. With the help from some macro functions, I hope to be able to write LaTeX source code at or above the speed at which I normally write using a pencil.

To make things more fun, I’ve created a LaTeX template which styles the resulting PDF documents to look like sheets of engineer’s computation pad, complete with a hot cocoa stains.

Download:

notes_template.tar.gz


Orientation of Wacom Bamboo in Linux

Posted: January 17th, 2011 | Author: | Filed under: Linux | Tags: , , | No Comments »

As a left-handed person, I wanted to use my Bamboo graphics tablet on the left hand side of my keyboard (luckily I mouse with my right hand) without having the tablet’s cord running in the wrong direction. I was able to flip the orientation of the tablet in software using the xsetwacom utility. Here was my approach:

1. use a recent kernel and X.org which support the Bamboo. I’m running 2.6.37 and X.org 1.7.7 which seem to do the trick.

2. install the xsetwacom utility. In Debian, this comes as part of the wacom-tools:

sudo apt-get install wacom-tools

3. Identify wacom device to tweak according to xsetwacom. Through a quick process of trial and error, I discovered the device name to use when setting the orientation (step 4) :

xsetwacom --list

4. Issue command to rotate orientation:

xsetwacom --set "Wacom Bamboo Pen Pen" Rotate "HALF"

At this point the stylus motion should be working according to the new orientation. I wrapped this one line command in to a script to call from a keyboard shortcut, and it’s working great.