Skip to content

Instantly share code, notes, and snippets.

@Telltak
Created May 16, 2011 15:38
Show Gist options
  • Save Telltak/974672 to your computer and use it in GitHub Desktop.
Save Telltak/974672 to your computer and use it in GitHub Desktop.
Earthquake.init do
output do |item|
next unless item["_stream"]
if "#{item["text"]}".match(/@leegeorg07/)
notify "#{item["user"]["screen_name"]}: #{item["text"]}"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment