Skip to content

Instantly share code, notes, and snippets.

@senior
senior / gist:7813021
Last active December 30, 2015 09:59 — forked from cprice404/gist:7811438
(ns scratch1)
(defprotocol Foo2
(foo2 [_ msg])
(bar2 [_]))
(ns scratch2)
(def a (proxy [java.lang.Object Foo2] []
(foo2 [msg] (println "foo" msg))
-[ RECORD 1 ]--+------------------------------
datid | 17413
datname | puppetdb
numbackends | 13
xact_commit | 238
xact_rollback | 2
blks_read | 314
blks_hit | 30109
tup_returned | 68458
tup_fetched | 16072
@senior
senior / gist:6707884
Last active December 23, 2015 23:09 — forked from kbarber/gist:6703697
On the host system
-------------------
* Install the net-scp ruby gem: sudo gem install net-scp
* Install the json gem:
** The gem needs to build a native extension, tell it where Xcode Command Line Tools is: sudo xcode-select -switch /Library/Developer/
** Xcode CLT doesn't include xcrun, fake one with the script here: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory
** should be ready to build now: sudo gem install json
* sudo gem install systemu
* git clone git://github.com/puppetlabs/puppet-acceptance.git
* cd puppet-acceptance