Skip to content

Instantly share code, notes, and snippets.

@basyura
basyura / earthquake-growler.rb
Created March 16, 2011 07:24
earthquake-growler.rb
#!ruby
#-*- coding: utf-8 -*-
require 'ruby-growl'
require 'rss'
g = Growl.new 'localhost', 'ruby-growl', ['ruby-growl Notification']
g.notify 'ruby-growl Notification', 'earthquake', 'start'
uri = 'http://tenki.jp/component/static_api/rss/earthquake/recent_entries_by_day.xml'

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: