Skip to content

Instantly share code, notes, and snippets.

steam steam://connect/206.212.61.22:27017
Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1367621987_client)
Installing breakpad exception handler for appid(steam)/version(1367621987_client)
unlinked 0 orphaned pipes
Installing breakpad exception handler for appid(steam)/version(1367621987_client)
[0520/191547:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1367621987_client)
Installing breakpad exception handler for appid(steam)/version(1367621987_client)
@atomic-penguin
atomic-penguin / test-kitchen-no-metadata.sh
Created April 29, 2013 18:34
test-kitchen, bails on metadata without Berksfile
wolfe21@wolfe21-ig88:~/git/opscode/ntp$ kitchen test
-----> Starting Kitchen
-----> Cleaning up any prior instances of <default-ubuntu-1204>
-----> Destroying <default-ubuntu-1204>
Finished destroying <default-ubuntu-1204> (0m0.00s).
-----> Testing <default-ubuntu-1204>
-----> Creating <default-ubuntu-1204>
[kitchen::driver::vagrant command] BEGIN (vagrant up --no-provision)
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'canonical-ubuntu-12.04'...
chef > if node['kernel']['modules'].has_key('ip6tables')
chef ?> puts "true"
chef ?> end
NoMethodError: Undefined node attribute or method `has_key' on `node'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/node/immutable_collections.rb:164:in `method_missing'
from (irb):4
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/shell.rb:73:in `block in start'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/shell.rb:72:in `catch'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/shell.rb:72:in `start'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/bin/shef:35:in `<top (required)>'
@atomic-penguin
atomic-penguin / dotgit-hooks-pre-commit.sh
Last active December 11, 2015 03:59
A pre-commit hook for sourcepawn
#!/bin/bash
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
@atomic-penguin
atomic-penguin / Makefile
Created October 28, 2012 22:41
Builtin Votes Makefile
# (C)2004-2010 SourceMod Development Team
# Makefile written by David "BAILOPAN" Anderson
###########################################
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
###########################################
SMSDK = ../../sourcemod-central
HL2SDK_ORIG = ../../hl2sdks/hl2sdk
HL2SDK_OB = ../../hl2sdks/hl2sdk-ob
#!/bin/sh
mumble-overlay /opt/cxoffice/bin/wine --bottle "Team Fortress 2" "C:/Program Files/Steam/Steam.exe" -applaunch 440 -full -w 1600 -h 900 -console -novid -useforcedmparms -noforcemaccel -noforcemspd "$@"
@atomic-penguin
atomic-penguin / kitchen-test-librarian-error
Created August 30, 2012 20:46
librarian chokes on cookbooks directory.
wolfe21@wolfe21-ig88:~/chef/cookbooks/nfs$ kitchen test
Cookbook metadata specifies an unrecognized platform that will not be tested: amazon
Cookbook metadata specifies an unrecognized platform that will not be tested: debian
Cookbook metadata specifies an unrecognized platform that will not be tested: fedora
Cookbook metadata specifies an unrecognized platform that will not be tested: oracle
Cookbook metadata specifies an unrecognized platform that will not be tested: redhat
Cookbook metadata specifies an unrecognized platform that will not be tested: scientific
checking nfs
Running syntax check on nfs
Validating ruby files
include_recipe "krb5"
include_recipe "resolver"
include_recipe "yum::epel"
node['sssd']['packages'].each do |pkg|
package pkg
end
cookbook_file "/etc/pki/tls/certs/ldap-root-ca.cer" do
source "root-ca.cer"
wolfe21@wolfe21-ig88:~/chef/cookbooks/nfs$ kitchen ssh ubuntu-10.04
/var/lib/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/command/base.rb:105:in `with_target_vms': This command requires a specific VM name to target in a multi-VM environment. (Vagrant::Errors::MultiVMTargetRequired)
from /var/lib/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/command/ssh.rb:39:in `execute'
from /var/lib/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/cli.rb:42:in `execute'
from /var/lib/gems/1.9.1/gems/vagrant-1.0.3/lib/vagrant/environment.rb:167:in `cli'
from /var/lib/gems/1.9.1/gems/test-kitchen-0.5.2/lib/test-kitchen/runner/vagrant.rb:44:in `ssh'
from /var/lib/gems/1.9.1/gems/test-kitchen-0.5.2/lib/test-kitchen/cli/ssh.rb:30:in `run'
from /var/lib/gems/1.9.1/gems/test-kitchen-0.5.2/lib/test-kitchen/cli.rb:107:in `run'
from /var/lib/gems/1.9.1/gems/test-kitchen-0.5.2/lib/test-kitchen/cli.rb:71:in `run'
from /var/lib/gems/1.9.1/gems/test-kitchen-0.5.2/bin/kitchen:7:in `<top (required)>'