Garage Band Rockabilly
February 15th, 2010We got Tate’s guitar working with Garage band this weekend and I got to have some fun playing with it last night. Take a listen: rockabill-e.mp3
The one thing I looked forward to in chrome
February 4th, 2010Not there.
Google Chrome bookmarks are separate from those saved in Google Bookmarks. While it’s currently not possible to automatically sync these two sets of bookmarks, you can use a bookmarklet to easily create Google Bookmarks in Google Chrome.
Drag this bookmarklet to the Google Chrome bookmarks bar: Google Bookmark
Any time you visit a webpage that you want to save to your Google Bookmarks page, simply click the bookmarklet in the bookmarks bar.
This makes no sense to me at all. Why have all of these web services and then not integrate them with your browser? If google would have synced all of my currently sorted bookmarks into the browser then I would use chrome. As of now it’s just another damn browser I have to test sites against.
Elegance is not a dispensable luxury but a quality that decides between success and failure.
One Liner
September 24th, 2009I was able to get the gdef.sh script down to one line.
wget -q "http://www.google.com/search?num=100&hl=en&q=define%3a%22`echo $@ | sed 's/ */+/g'`%22&btnG=search" -U "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 Firefox/0.8.0+" -O - | awk 'BEGIN {RS="<li"; FS="(<|>)";} /^>/{printf("%s\n\n\n",$2)}' | fmt | sed 's/&.*;//g'
Google Define Shell Script
September 22nd, 2009Here is a script that will pull definitions from google. It is a minimalistic version of google-define.el
getdef.sh pig latin
Will produce:
Pig Latin is a game of alterations played on the English language game. To
form the Pig Latin form of an English word the initial consonant sound ...
A type of wordplay in which (English) words are altered by moving the
leading phonetic of a word to the end and appending -ay - however,
if the ...
getdef.sh
#!/bin/sh
#Grab the definition of a term from google
#Jeremy English <jhe@jeremyenglish.org>
term=`echo $@ | sed 's/ */+/g'`
wget "http://www.google.com/search?num=100&hl=en&q=define%3a%22$term%22&btnG=search" -U "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 Firefox/0.8.0+" -O def.html 2>/dev/null
awk 'BEGIN {RS="<li"; FS="(<|>)";} /^>/{printf("%s\n\n\n",$2)}' def.html | fmt | sed 's/&.*;//g'
New Guitar Tabs
September 6th, 2009I collected some of the tabs that I have made and put them on a single page. I also added a couple that I have never posted here.
btw, tuxguitar dosen’t work with Snow Leopard. It is looking for a 32-bit jvm.
Printable Calendars
July 28th, 2009I wrote some python code that will let you build different types of printable calendars without to much effort. Let me know if you are interested and I’ll put it on github. Here are a few examples:
This is a full year on a single page:
This is a folding calendar:
And here is one that will let you mark the kinds of exercise you have done and the time spent on each:




