Skip to content

Instantly share code, notes, and snippets.

View jasondew's full-sized avatar

Jason Dew jasondew

View GitHub Profile
@jasondew
jasondew / foo.rb
Created August 8, 2011 21:14 — forked from gfredericks/foo.rb
kimian quine
foo.rb:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
foo.rb:1: syntax error, unexpected tI...
^
#! /usr/bin/env ruby
# usage:
# $ das_download.rb email password [download_directory]
require "mechanize"
class DasDownloader
attr_reader :agent, :email, :password
def initialize(email, password)