Skip to content

Instantly share code, notes, and snippets.

View aidangoettsch's full-sized avatar
🤔
hmm

Aidan Goettsch aidangoettsch

🤔
hmm
View GitHub Profile
@aidangoettsch
aidangoettsch / gitio
Created December 23, 2012 20:29 — forked from defunkt/gitio
#!/usr/bin/env ruby
# Usage: gitio URL [CODE]
#
# Turns a github.com URL
# into a git.io URL
#
# Copies the git.io URL to your clipboard.
url = ARGV[0]
code = ARGV[1]