Skip to content

Category Archives: Linux

Twitter Mode for Emacs – With OAuth

Twitter’s recent removal of basic authentication eliminated the ability to use quick and dirty methods of posting tweets and viewing timelines, such as via the command-line with cURL. There is one twitter mode, twitel.el, that I had already been using. Supposedly it can handle OAuth through the emacs-oauth package, with some minor custom tweaks to [...]

Gnus, Emacs, and Gmail; Getting Started

I’ve wanted to set up gnus for email for quite a while, but each time I look at the documentation I find it irritating. The fact is there is a ton of documentation, but all of what I’ve found requires a lot of background knowledge that I don’t have. But I finally broke through, setting [...]

Subversion, JavaHL, and Eclipse on Linux

I normally use emacs and command line svn when working at home on Linux. Eclipse to me, in principle, is a necessary evil of programming with larger groups. But a recent volunteer project I’ve been working on for the Philippine Scholars of Minnesota is forcing me out of this habit. And with this change, I’ve [...]

Syncing IPod in Linux

A colleague recently pointed me to an article about syncing my ipod with a Linux box. The article is good but my experience getting this to work was sufficiently different enough to warrant another post. My first issue came with Step 1: sudo add-apt-repository ppa:pmcenery/ppa This issue I had was that the keyserver was down. [...]

Installing Sup on Ubuntu Server 8.04 LTS

This is not a complete step-by-step set of instructions, but it should be pretty close. sudo apt-get install ruby-full build-essential wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz tar -zxvf rubygems-1.3.6.tgz cd rubygems-1.3.6/ sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem sudo gem update –system sudo gem install rake sudo apt-get install zlib1g-dev uuid-dev sudo gem install ncursesw # We need [...]

Simple Processes: Bash vs. Python – “A No-Brainer”

I haven’t posted in about 5 billion years. Well, it seems like that anyway. As I sit here partying with my laptop on a Friday night, I’ve been wondering how to display the track length of the current track that xmms2 is playing, without having to use the “xmms2 status” command. Yes, I listen to [...]

Linux Banging

This is a great list of bang command usage.

Mcabber Install on Dreamhost

I’m reposting this, it’s what I used to install mcabber on dreamhost: From your home directory: mkdir bin lib tmp chmod 777 tmp chmod 755 bin lib echo "export PATH=$PATH:$HOME/bin" >> ~/.bash_profile echo "export PKG_CONFIG_PATH=$HOME/lib/pkgconfig" >> ~/.bash_profile echo "export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile source ~/.bash_profile cd ~/tmp wget ftp://ftp.gtk.org/pub/glib/2.19/glib-2.19.8.tar.gz tar -xvzf glib-2.19.8.tar.gz cd glib-2.19.8 ./configure –prefix=$HOME [...]

Bash Shortcuts

A nice list of bash shortcuts

Quick command line spell check of a single word or sentence

Here’s a short bash script, using aspell, to spell check a word or several words from the command line. It’s simple but effective. If anyone else knows a cleaner or even simpler way, please let us know. #!/bin/bash WORD=$1 TEMPFILE=temp.spell echo $WORD > $TEMPFILE aspell -c $TEMPFILE cat $TEMPFILE rm -f $TEMPFILE rm -f $TEMPFILE.bak [...]