Skip to content

Instantly share code, notes, and snippets.

View willywos's full-sized avatar
🐥
Living el pollo loco

Willy willywos

🐥
Living el pollo loco
View GitHub Profile
@willywos
willywos / gitio
Created January 5, 2012 04:25 — forked from defunkt/gitio
Turn a github.com URL into a git.io URL.
#!/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]