Skip to content

Instantly share code, notes, and snippets.

View joescharf's full-sized avatar

Joe Scharf joescharf

View GitHub Profile
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
@joescharf
joescharf / test123123123
Created November 18, 2010 00:27
testing
test2
@joescharf
joescharf / gist:761363
Created December 31, 2010 21:59
Multiple Root Routes with Foreign Domain Detection
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 }
@joescharf
joescharf / keybase.md
Created October 4, 2016 00:42
Keybase GitHub Proof

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:

Verifying my Blockstack ID is secured with the address 1Cd6Ds1XnDsnTMsDvMvi3DHLn6JoYH5Ni8 https://explorer.blockstack.org/address/1Cd6Ds1XnDsnTMsDvMvi3DHLn6JoYH5Ni8
did:3:kjzl6cwe1jw148dirr6zly0uzhapxrfe8jbeqf5dfddu2hxdhk8i464mqckydf9