Skip to content

Instantly share code, notes, and snippets.

View ntalbott's full-sized avatar
💻
Writing and Coding

Nathaniel Talbott ntalbott

💻
Writing and Coding
View GitHub Profile
@ntalbott
ntalbott / hipchat-transcript
Created January 25, 2013 15:54
A handy little script to create a text-based transcript from a Hipchat room.
#!/usr/bin/env ruby
require "httparty"
def usage!
puts "Usage: hipchat-transcript <token> <room id> [date]"
exit!
end
TOKEN = (ARGV[0] || usage!)
@ntalbott
ntalbott / gharch
Created April 11, 2011 21:46
Github Repo Archive Script
#!/usr/bin/env ruby
target = ARGV[0]
dest = ARGV[1]
unless target && dest
puts "Github Archive Usage: gharch <user/repo> <destdir>"
exit(1)
end
remote, repo = target.split("/")