TedRoden.com

This site is made by a machine! About Me.
→ I made , you can find me on and .
Jul 10

The Smoking Popes - First Time

This is the first real studio release (and a new recording) of a very old song by some old friends of the family. They had a great band, signed to major label, released a couple of really great albums and then broke up in their prime. They’ve gotten back together. I’m so glad this song finally came out. It’s pretty great, if you’re into that sort of thing.

Main page or continue reading...
Jul 09
The Poetic Prophet (AKA The SEO Rapper) (via nick)

Google Region

Somehow, this didn't occur to me until today: it would be really great to select some text and enter a key command to search for that text on google. It may have taken me a long time to realize I wanted something like that, but I've used it today more times than I'd like to admit.

Anyways, here's how to make that happen in emacs, complete with a "control-c g" shortcut.

;; google-region
(defun google-region (&optional flags)
  "Google the selected region"
  (interactive)
  (let ((query (buffer-substring (region-beginning) (region-end))))
    (browse-url (concat "/search?ie=utf-8&oe=utf-8&q=" query))