Skip to content

Instantly share code, notes, and snippets.

View dje's full-sized avatar
😀
Playing

Darrin Eden dje

😀
Playing
View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzZn0UHM4Mxpq+B4W1R9niyDAPLNCNukWqgIiUheO+Z0YexleDTsSsF4joTLt3MD5BUGt1r3aRohcGc5m+XzHzaJPaM31xKdgI5j/ZEMfpNTrKLBZngZLRnTLNmVfOfxpntWoPQZbB8BbqdIIbXZQsMx54SrzuHDWKhV8/zbinSyMbGu1SZHjBfFJq0uU/egRyzKX5ZNJKR5RJeqtbK1n6TL7DBN23rSwrq5GyuLNCHQmuE2c9HmEwKDxLamGlVnDiMaPf+oQnA5Rf5SQypgl/HZvPXNGizmPVtldlhD5NvT9zvSQMrO1Vu3Z+4xubZv+AT+cq7dP9nZtHub8NU+Uf deden@helium.local
dje:postgresql/ (feature/test-kitchen-refresh) $ bundle exec kitchen list
Instance Driver Provisioner Last Action
default-ubuntu-1204 Vagrant ChefSolo <Not Created>
default-ubuntu-1004 Vagrant ChefSolo <Not Created>
default-debian-74 Vagrant ChefSolo <Not Created>
default-centos-64 Vagrant ChefSolo <Not Created>
default-centos-510 Vagrant ChefSolo <Not Created>
contrib-ubuntu-1204 Vagrant ChefSolo <Not Created>
contrib-ubuntu-1004 Vagrant ChefSolo <Not Created>
  1. Fork the repository on Github
  2. Create a named feature branch based off the develop branch
  3. Write your change and write tests for your change
  4. Run the tests, ensuring they all pass
  5. Submit a Pull Request based off the develop using Github
@dje
dje / gist:6158688
Last active December 20, 2015 15:59
irb(main):001:0> require 'berkshelf'
Gem::LoadError: Unable to activate chef-11.6.0, because json-1.8.0 conflicts with json (<= 1.7.7, >= 1.4.4)
-----> Starting Kitchen (v1.0.0.beta.2)
-----> Verifying <default-ubuntu-1204>
Removing /opt/busser/suites/bats
Uploading /opt/busser/suites/bats/pdns_running.bats (mode=0644)
-----> Running bats test suite
1..1
ok 1 pdns process in list
Finished verifying <default-ubuntu-1204> (0m0.86s).
-----> Kitchen is finished. (0m1.32s)
@dje
dje / gist:5951741
Created July 8, 2013 19:28
Erlang failing to build on OS X 10.9
brew: superenv removed: -m64 [16/1943]
Undefined symbols for architecture x86_64:
"___sync_val_compare_and_swap_1", referenced from:
_ethr_dw_atomic_cmpxchg in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_ddrb in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_rb in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_wb in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_acqb in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_relb in libethread.a(ethr_atomics.o)
_ethr_dw_atomic_cmpxchg_mb in libethread.a(ethr_atomics.o)
require 'trello'
require 'pivotal-tracker'
include Trello
include Trello::Authorization
include PivotalTracker
Client.token = 'some_token'
Trello::Authorization.const_set :AuthPolicy, OAuthPolicy
@dje
dje / gist:3159989
Created July 22, 2012 15:28
PowerDNS Lua 5.2 compilation error
Making all in luabackend
make[3]: Entering directory `/usr/src/pdns/pdns/modules/luabackend'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c -o luabackend.lo luabackend.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c luabackend.cc -fPIC -DPIC -o .libs/luabackend.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c luabackend.cc -o luabackend.o >/dev/null 2>&1
mv -f .deps/luabackend.Tpo .deps/luabackend.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT minimal.lo -MD -MP -MF .deps/minimal.Tpo -c -o minimal.lo minimal.cc
libtool: compile: g++ -DHAVE_
installing default gems: /usr/local/lib/ruby/gems/1.9.1 (cache, doc, gems, specifications)
rake 0.9.2.2
rdoc 3.9.4
minitest 2.5.1
json 1.5.4
io-console 0.3
bigdecimal 1.1.0
[ruby] $ /bin/sh -xe /tmp/hudson9051835820499430810.sh
+ mkdir -d fpm
mkdir: invalid option -- 'd'
@dje
dje / gist:1254014
Created September 30, 2011 15:04
embedded jruby and ffi
(LoadError) load error: yajl/yajl -- java.lang.UnsatisfiedLinkError: dlopen(/Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle, 9): Symbol not found: _rb_cArray
Referenced from: /Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
Expected in: dynamic lookup
[Thrown class org.jruby.embed.EvalFailedException]
Restarts:
0: [QUIT] Quit to the SLIME top level
1: [CAUSE1] Invoke debugger on cause (LoadError) load error: yajl/yajl -- java.lang.UnsatisfiedLinkError: dlopen(/Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle, 9): Symbol not found: _rb_cArray
Referenced from: /Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle