Brad Lucas

Programming, Clojure and other interests

Yahoo Quote Downloader

September 22, 2009

Yahoo Quote Downloader

Continue reading →

Website Grader

July 10, 2009

I've been working with the websitegrader seo tool. So far, I've managed to get our company website from 56 to 82.

Continue reading →

Grand Central Terminal Departures

July 9, 2009

View the departure screen before you run for the train.

Continue reading →

Google Map Entry

July 1, 2009

Updated the Beacon Hill company Google maps entry.

Beacon Hill, New York

Continue reading →

Simple Emacs Mark Completed Function

October 23, 2008

I’ve been in the habit of keeping track of things in todo lists using Emacs’s outline-mode. This works great to organize things but I needed a better way to mark completed items. I have the files in source control so I could delete them and still know of them using a diff with a previous version but this is clumsy. Otherwise, I could mark items with a date or a DONE but this gets ugly. instead I have this simple emacs function that takes the current line as moves it to the bottom of the file with the date prepended.


(defun mark-completed ()
"Move the current line to the bottom of the file and prepend the date."
(move-beginning-of-line nil)
(kill-line 1)
(if (not (eq 0 (current-column)))
(insert " - ")

Continue reading →