Skip to content

Instantly share code, notes, and snippets.

Net::HTTP.post_form URI.parse('http://github.com/repositories'),
'login' => github_username,
'token' => github_token,
'repository[description]' => summary,
'repository[name]' => project_name
# Timesheet logging
# Just install ts (from moreutils) & add to your ~/.bash_profile or ~/.bashrc,
# Usage:
# $ tsl 'setting up staging server'.
# NB message must be enclosed in quotes to include shell chars (>, >>, | and friends)
# $ tsl
# Mar 27 11:29:49 'setting up staging server'
tsl() {
if [ -z "$1" ]