Computing
Posts about Computers
Total nerd meme
Posted by Stephen on April 11, 2008 in Computing
After reading James Bennett’s latest post, I immediately tried the following Unix command: $ history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head 140 ls 120 cd 47 su 26 vim 26 […]
Writing a new CMS
Posted by Stephen on February 28, 2007 in Programming
Tonight, I’ve taken the first steps towards ditching WordPress and rolling my own custom CMS. I’ve wanted to do this for a long time, and I’ve always dismissed it on the grounds that it’s too much work and time, and that there’s already a ton of blogging software out there. But the truth […]
Cool Python Function
Posted by Stephen on October 3, 2006 in Programming, Stuff
I’m not sure that others would find this interesting, but I’m posting it anyway in case I need this later. While working on a Python script, I needed something that would generate the proper suffixes to make ordinal numbers like 1st, 2nd, and 3rd. Since some markup schemes allow you make the suffix […]
NOAA’s Weather Feeds
Posted by Stephen on September 25, 2006 in Programming, Stuff
For a project at work, I need to provide a constantly-updated weather forecast of a certain area in Northern Minnesota. I was pleasantly surprised to learn that The National Weather Service provides this information for free in XML format. Unfortunately, accessing it is kind of a pain. I would like to be […]
Apple’s open(1) Command
Posted by Stephen on September 7, 2006 in Computing, Programming, Stuff
I really like OS X. In particular, I like its open(1) command. I seriously wish that Linux and BSD had something like this. Basically, you type open <filename> and that file is handled as if you had double-clicked it. This command is so useful and convenient that I can’t remember what […]