Skip to content

Instantly share code, notes, and snippets.

View oker1's full-sized avatar

Zsolt Takacs oker1

View GitHub Profile
synkro - closed doors
underworld - crocodile (innervisions orchestra remix)
dj koze - i want to sleep
mark e - oranges (space dub)
atjazz - looking glass
motorcity drum ensemble - frontin
stimming & h.o.s.h. - radar
redshape - goom
martini bros - dark room
kerri chandler - fortran (argy's 6'23 mix)
### Keybase proof
I hereby claim:
* I am oker1 on github.
* I am oker1 (https://keybase.io/oker1) on keybase.
* I have a public key ASCpGreYM19r8TFwBJh6ZDP58K6aoGzzo6AsmlHI7-N87go
To claim this, I am signing this object:
NoMethodError: undefined method `each' for nil:NilClass
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:145:in `block in sync_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:143:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:143:in `sync_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:105:in `block in sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:104:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/cookbook/synchronizer.rb:104:in `sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:413:in `sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:243:in `setup_run_context'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:492:in `do_r
@oker1
oker1 / gist:9893528
Created March 31, 2014 14:27
vagrant-lxc error
INFO subprocess: Starting process: ["/usr/bin/sudo", "cp", "/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/scripts/lxc-template", "/usr/share/lxc/templates/lxc-vagrant-tmp-tmp_default_1396275929831_40155"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO subprocess: Starting process: ["/usr/bin/sudo", "chmod", "+x", "/usr/share/lxc/templates/lxc-vagrant-tmp-tmp_default_1396275929831_40155"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG driver: Creating container...
INFO subprocess: Starting process: ["/usr/bin/sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-
@oker1
oker1 / gist:9048014
Created February 17, 2014 10:12
homebrew-hhvm
> $ brew install -v hhvm [±master]
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> Verifying hhvm-2.4.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> rm -rf hphp/submodules/folly
==> ln -s /opt/homebrew/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DBINUTIL_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DLIBIBERTY_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DCMAKE_INCLUDE_PATH="/opt/homebrew/include:/usr/include" -DCMAKE_LIBRARY_PATH="/opt/homebrew/lib:/usr/lib" -DLIBEVENT_LIB=/opt/homebrew/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/opt/homebrew/opt/libeventfb/include -DICU_INCLUDE_DIR=/opt/home
@oker1
oker1 / gist:8919826
Created February 10, 2014 16:57
vagrant-lxc log
Vagrant up:
Mon 10 Feb 2014 08:47:26 AM PST
Shell provisioner:
Mon 10 Feb 2014 08:47:45 AM PST
Chef log:
[Mon, 10 Feb 2014 16:47:51 +0000] INFO: *** Chef 10.18.2 ***
... error
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> Verifying hhvm-2.4.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> rm -rf hphp/submodules/folly
==> ln -s /opt/homebrew/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DBINUTIL_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DLIBIBERTY_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" -DLIBEVENT_LIB=/opt/homebrew/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/opt/homebrew/opt/libeventfb/include -DICU_INCLUDE_DIR=/opt/homebrew/opt/icu4c/include -DICU_LIBRARY=/opt/homebrew/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/opt/homebrew/opt/icu4c/lib/libicui18n.dyl
Stream.continually(input.readLine())
.takeWhile(_ != null)
.map(_.split(",", 2))
.map { case Array(x, y) => (new java.util.Date(java.lang.Long.parseLong(x) * 1000), y) }
@oker1
oker1 / jenkins-slave
Last active December 25, 2015 16:09 — forked from bols-blue/jenkins-slave
# defaults for jenkins continuous integration server
SLAVE_NAME=slave1
JENKINS_ARGS="-jnlpUrl http://test.lnc.jp:8080/computer/$SLAVE_NAME/slave-agent.jnlp"
# jenkins home location
JENKINS_HOME=/opt/jenkins-slave
# location of the jenkins war file
JENKINS_WAR=$JENKINS_HOME/slave.jar
@oker1
oker1 / gist:6864060
Created October 7, 2013 07:57
go crosscompile linux/amd64
hg clone -u release https://code.google.com/p/go
cd go/src
./all.bash
export GOROOT=$HOME/go
export PATH=$GOROOT/bin:$PATH
cd $GOROOT/src
GOOS=linux GOARCH=amd64 ./make.bash --no-clean 2>&1