Skip to content

Instantly share code, notes, and snippets.

View hjkp's full-sized avatar

HJK Solutions hjkp

View GitHub Profile
class Foolio < Chef::Recipe
def self.hit_me
package "foo" do
action :remove
end
end
end
Foolio.hit_me
http://www.credit.com/
GET / HTTP/1.1
Host: www.credit.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.2) Gecko/2008090512 Firefox/3.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
class Monkey < Application
provides :html, :json
def index
@monkey_list = Monkey.list
display @node_list
end
def show