Skip to content

Instantly share code, notes, and snippets.

View eshao's full-sized avatar

Edwin Shao eshao

View GitHub Profile
### Keybase proof
I hereby claim:
* I am eshao on github.
* I am eshao (https://keybase.io/eshao) on keybase.
* I have a public key whose fingerprint is E14A 5761 0737 1D1E 8766 0710 10EC BEA6 B99E 51E6
To claim this, I am signing this object:
[user]
name = Edwin Shao
[alias]
ca = commit -a
ci = commit --interactive
co = checkout
st = !git status && echo && git l origin..HEAD
ls = ls-files --stage --abbrev
up = remote update
#!/usr/bin/env ruby
# lib/etherpad.rb
#
# mechanize => 1.0.0
%w{rubygems nokogiri mechanize json logger}.each {|l| require l }
class Etherpad
def initialize(base_url, username, password)
@@base_url = base_url
@@username = username