Variables
current_version
Tasks
multistage:ensure
1. No change
# ~ $ gh libressl libressl | |
# ~/src/github.com/libressl/libressl $ gh https://github.com/rails/rails | |
# ~/src/github.com/rails/rails $ | |
gh () { cd $(_gh $@); } |
# Create symlinks to this file at `borg-zk-web@{1,2,3}.service`. | |
# Then submit them with `fleetctl submit borg-zk-web@{1,2,3}.service` | |
# Then start them with `fleetctl start borg-zk-web@{1,2,3}.service | |
[Unit] | |
Description=Borg-ZK-Web | |
[Service] | |
EnvironmentFile=/etc/environment | |
ExecStart=/bin/sh -exc "export SERVICE_APPNAME=borg-zk-web; export SERVICE_SHA=3dccdd24e82d8b8a212926e51a5f099d59eef278 ;docker run -e EXTERNAL_PORT=12345 -e EXTERNAL_PUBLIC_IPV4=$COREOS_PUBLIC_IPV4 -e EXTERNAL_PRIVATE_IPV4=$COREOS_PRIVATE_IPV4 -e PORT=8000 -e SERVICE_APPNAME=borg-zk-web -e SERVICE_ROLE=default -e SERVICE_INDEX=%i -e SERVICE_SHA=$SERVICE_SHA -e ETCD_ADDRS=http://$COREOS_PRIVATE_IPV4:4001 registry.borg.chi.shopify.com:5000/borg-zk-web:3dccdd24e82d8b8a212926e51a5f099d59eef278;" |
func startReapingChildren() { | |
sigchld := make(chan os.Signal, 1) | |
signal.Notify(sigchld, syscall.SIGCHLD) | |
log.Println("starting to reap children") | |
go func() { | |
for _ = range sigchld { | |
reapChildren() | |
} | |
}() | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.30196079611778259</real> | |
<key>Green Component</key> | |
<real>0.30196079611778259</real> |
current_version
multistage:ensure
No change
deploy
(J-Bob/prove (dethm.memb?/remb0) | |
'(((dethm memb?/remb (xs) | |
(if (atom xs) | |
(equal (memb? (remb xs)) 'nil) | |
(if (equal (memb? (remb (cdr xs))) 'nil) | |
(equal (memb? (remb xs)) 'nil) | |
't))) | |
nil | |
; prove the base case | |
((A 1 1) (remb xs)) |
~/scowl-6/final % egrep -h '([^s]s|z|j)ure$' * | sed 's/[sz]ure$/jure/g' burke@zaphod (18:09) | |
Rajure | |
Yurujure | |
enjure | |
meajure | |
clojure | |
expojure | |
injure | |
leijure | |
pleajure |
irb(main):001:0> require 'archive/tar' | |
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:17: warning: else without rescue is useless | |
SyntaxError: /opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:15: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' | |
when IO: parse(@source, full); @source.rewind | |
^ | |
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:34: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' | |
when :file: File.open(path, 'w') { |fio| fio.write(body) } | |
^ | |
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:35: syntax error, unexpected keyword_when, expecting keyword_end | |
when :directory: FileUtils.mkdir(path) |
#!/usr/bin/env ruby | |
# -*- mode: ruby -*- | |
# Copyright Burke Libbey 2009, MIT License. | |
HOME_DIR = "/Users/burke" # Home directory | |
SVN_DIR = "#{HOME_DIR}/src/clojure/svn" # Clojure SVN checkout path | |
BRANCHES_DIR = "#{SVN_DIR}/branches" # Clojure SVN branches path | |
TRUNK_DIR = "#{SVN_DIR}/trunk" # Clojure SVN trunk path | |
INSTALL_DIR = "#{HOME_DIR}/lib/clj" # Path to managed jar symlinks |
lambda{|n| n.zero? ? 1 : n * self.call(n-1)} |