Skip to content

Instantly share code, notes, and snippets.

View titanous's full-sized avatar

Jonathan Rudenberg titanous

View GitHub Profile
@titanous
titanous / gist:97174
Created April 17, 2009 18:21
Ruby ASR Weather for Tropo
# Ruby ASR Weather for Tropo
# Copyright 2009 Jonathan Rudenberg
# Licensed under the MIT License
#
# Requires a Yahoo! App ID and WeatherBug API Key
# http://developer.yahoo.com/maps/rest/V1/geocode.html
# http://weather.weatherbug.com/desktop-weather/api.html
#
# Try it out by calling 1-312-957-8992
@titanous
titanous / ppp-v3.rb
Created March 5, 2009 20:57
Ruby implementation of Steve Gibson's 'Perfect Paper Passwords' v3
# Perfect Paper Passwords v3
# For more info see http://grc.com/ppp
#
# The MIT License
#
# Copyright (c) 2009 Jonathan Rudenberg
# Original version by Gavin Stark (http://is.gd/lYIf)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@titanous
titanous / gist:12196
Created September 23, 2008 01:03
NSDistributedNotifications in RubyCocoa
require 'osx/cocoa'
include OSX
class NotificationHandler < NSObject
def initialize
c = NSDistributedNotificationCenter.defaultCenter
c.addObserver_selector_name_object(self, :notification, 'com.apple.iTunes.playerInfo', nil)
end
def notification(n)