Rob Brazier rfbrazier

View redis_pubsub_demo.rb
1 2 3 4 5 6 7 8 9 10
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
View gist:1077160
1 2 3 4 5 6 7 8 9 10
tell application "Google Chrome"
set theTitle to title of active tab of front window
set theURL to URL of active tab of front window
end tell
 
tell application "OmniFocus"
set theDoc to default document
set theTask to theTitle
set theNote to theURL
Something went wrong with that request. Please try again.