Skip to content

Instantly share code, notes, and snippets.

View gist:43c7760e8d484b82e4aa77cf43de4b0c
Verifying my Blockstack ID is secured with the address 1Cd6Ds1XnDsnTMsDvMvi3DHLn6JoYH5Ni8 https://explorer.blockstack.org/address/1Cd6Ds1XnDsnTMsDvMvi3DHLn6JoYH5Ni8
@joescharf
joescharf / keybase.md
Created Oct 4, 2016
Keybase GitHub Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am joescharf on github.
  • I am joescharf (https://keybase.io/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
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 chef.example.net:4000/search/role?q=role:monitoring&sort=&start=0&rows=20
DEBUG: HTTP Request Returned 500 Internal Server Error: undefined method `closed?' for nil:NilClass