Skip to content

Instantly share code, notes, and snippets.

@victort
victort / Ben.conf
Last active August 29, 2015 14:08
rbot Dockerfile goodness
[supervisord]
nodaemon=true
[program:launch_here.rb]
command=/bin/bash -c "cd /Ben/rbot && ./launch_here.rb /Ben/brains"
@victort
victort / gist:1671615065402a59e6bff250be530a61
Last active June 26, 2017 18:58
vagrantfile that provisions chef server (poorly)
$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
@victort
victort / knife cheat
Created June 26, 2017 23:11 — forked from ipedrazas/knife cheat
Hello!
# knife cheat
## Search Examples
knife search "name:ip*"
knife search "platform:ubuntu*"
knife search "platform:*" -a macaddress
knife search "platform:ubuntu*" -a uptime
knife search "platform:ubuntu*" -a virtualization.system
knife search "platform:ubuntu*" -a network.default_gateway
Unhandled exception: unimplemented function ADVAPI32.dll.QueryTraceA called in 64-bit code (0x000000007bc53520).
Register dump:
rip:000000007bc53520 rsp:000000000021e1e0 rbp:000000000021e2b0 eflags:00000202 ( - -- I - - - )
rax:0000000180000100 rbx:000000000021e200 rcx:000000000021e200 rdx:000000014935a422
rsi:00000005529006d0 rdi:00000005444d0bd0 r8:0000000140a1552f r9:0000000001994610 r10:0000000000000089
r11:000000000021e180 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:00000005444d0ca0
Stack dump:
0x000000000021e1e0: 000000000021e200 0000000000000010
0x000000000021e1f0: 0000000000000000 0000000000000000
0x000000000021e200: 0000000180000100 0000000000000000