Skip to content

Instantly share code, notes, and snippets.

@macarthy
Created November 27, 2009 04:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macarthy/243820 to your computer and use it in GitHub Desktop.
Save macarthy/243820 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
$:.unshift(File.dirname(__FILE__) + "/../lib")
require "gist"
Gist.clear
Gist.process_selection
Gist.write(ARGV[0] == "private")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment