In iTerm2, in the menu bar go to Scripts > Manage > New Python Script
Select Basic. Select Long-Running Daemon
Give the script a decent name (I chose auto_dark_mode.py
)
Save and open the script in your editor of choice.
require 'rubygems' | |
require 'sinatra' | |
require 'xmpp4r' | |
require 'xmpp4r/muc' | |
require 'json' | |
CONFIG = YAML.load_file('config.yml') | |
jid = Jabber::JID::new(CONFIG['user_jid']) | |
client = Jabber::Client::new(jid) |
#!/usr/bin/env ruby | |
# Script to generate PDF cards suitable for planning poker | |
# from Pivotal Tracker [http://www.pivotaltracker.com/] CSV export. | |
# Inspired by Bryan Helmkamp's http://github.com/brynary/features2cards/ | |
# Example output: http://img.skitch.com/20100522-d1kkhfu6yub7gpye97ikfuubi2.png | |
require 'rubygems' |