I hereby claim:
- I am mjmac on github.
- I am mjmac (https://keybase.io/mjmac) on keybase.
- I have a public key ASDJ3eGq5niZVbkPmXXJSeETK5dOQXjv_-F_Lx2TwCep9Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Moved to https://github.com/mjmac/smartthings/blob/master/hsm200/driver.groovy |
package main | |
import ( | |
"fmt" | |
) | |
type Fetcher interface { | |
// Fetch returns the body of URL and | |
// a slice of URLs found on that page. | |
Fetch(url string) (body string, urls []string, err error) |
Started by user mjmac | |
Building on master | |
... minutes pass, during which I can see via 'ps axwwwu' that there are many git merge-base operations happening ... | |
Checkout:workspace / /home/hudson/jobs/Lustre_Master-Dist/workspace - hudson.remoting.LocalChannel@4965391b | |
Using strategy: Gerrit | |
Last Built Revision: Revision 1c4e5de4145cd0b9c2de910d6c2a8d87e6922538 (origin/66/266/1) | |
... |
def self.parse(filename) | |
log = self.new(filename) | |
xml = nil | |
File.open(filename) do |logfile| | |
xml = Nokogiri::XML(logfile) | |
end | |
xml.xpath('//envelope').collect{|e| Nokogiri::XML(e.to_xml)}.each do |env| | |
sender = env.xpath('//sender').first.text |
speakers = %w{mjmac sven} | |
now = DateTime.now | |
start_at = DateTime.parse("2010-03-25 10:52#{now.zone}") | |
end_at = DateTime.parse("2010-03-25 11:20#{now.zone}") | |
cl = Colloquy::Log.parse(cqxf) do |log, msg| | |
if msg.received.between?(start_at, end_at) and | |
speakers.include?(msg.sender_nick) | |
log.messages << msg | |
end |
case node[:platform] | |
when "ubuntu","debian" | |
package "ntpdate" do | |
action :install | |
end | |
end | |
package "ntp" do | |
action :install | |
end |
{ | |
"bootstrap": { | |
"chef": { | |
"url_type": "http", | |
"init_style": "init", | |
"path": "/srv/chef", | |
"serve_path": "/srv/chef", | |
"server_fqdn": "megaclite.jovian.system", | |
"webui_enabled": true | |
} |