Skip to content

Instantly share code, notes, and snippets.

View gist:43c7760e8d484b82e4aa77cf43de4b0c
Verifying my Blockstack ID is secured with the address 1Cd6Ds1XnDsnTMsDvMvi3DHLn6JoYH5Ni8
joescharf /
Created Oct 4, 2016
Keybase GitHub Proof

Keybase proof

I hereby claim:

  • I am joescharf on github.
  • I am joescharf ( on keybase.
  • I have a public key whose fingerprint is DD27 B630 030D EF61 5542 F352 AEA2 36FB 83A4 1A54

To claim this, I am signing this object:

joescharf / gist:761363
Created Dec 31, 2010
Multiple Root Routes with Foreign Domain Detection
View gist:761363
map.root :controller => "home", :action => "index", :conditions => {:protocol => /http:/}
map.root :controller => "dashboards", :action => "show", :conditions => {:protocol => /https:/, :foreign_domain => false}
map.root :controller => "payments", :action => "new", :conditions => { :foreign_domain => true }
View gist:388364
knife search role role:monitoring -l debug
DEBUG: Signing the request as admin
DEBUG: Sending HTTP Request via GET to
DEBUG: HTTP Request Returned 500 Internal Server Error: undefined method `closed?' for nil:NilClass