Karmic Koala
November 10, 2009 11:33
Someone put up an on-campus mirror of the new Ubuntu. Daamn, 5.7 MB/s!

Hey guys, what's cool in the music scene these days?
A few I've liked recently:
import sha
def killchars(s, allowedchars):
r = ""
return "".join(l for l in s if l in allowedchars)
def tweetieregistration(email):
email.lower()
email_alpha = killchars(email, "abcdefghijklmnopqrstuvxyz")
digest = sha.new(email_alpha).hexdigest()
key = killchars(digest, "0123456789")[:8]
return key
print tweetieregistration("test@test.com")
tell application "System Events" to set appList to name of application processes whose frontmost is true
set frontApp to item 1 of appList
if frontApp is "Safari" then
tell application "System Events" to keystroke "[" using command down
else
-- expose all windows
tell application "System Events" to key code 101
end if