This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |