Skip to content

Instantly share code, notes, and snippets.


Scott M. Likens damm

  • Seattle, Washington USA
View GitHub Profile
View gist:da289ec2f4f6e9f76c05
### Keybase proof
I hereby claim:
* I am damm on github.
* I am damm ( on keybase.
* I have a public key whose fingerprint is 0698 3E59 0FAC 603B FEBF 80EE 2609 1D8B CD51 3E23
To claim this, I am signing this object:
View gist:158578
<console type='pty' tty='/dev/pts/3'>
<source path='/dev/pts/3'/>
<target port='0'/>
View gist:158582
mayo:~ sudo virsh dumpxml chefserver
Connecting to uri: qemu:///system
<domain type='kvm' id='20'>
<type arch='x86_64' machine='pc'>hvm</type>
View gist:159421
{ "run_list": {
View gist:168555
:bob => {
:gecos => "Brash Deploy User",
:shell => "/bin/bash",
:home => "/home/deploy"
View gist:168736
LogFormat "%V\t%{X-Forwarded-For}i\t%h\t%{%s}t\t%>s\t%b\t%D\t%X\t\"%r\"\t\"%{Referer}i\"\t\"%{User-Agent}i\"" common
View gist:169237
# Example MySQL config file for medium systems.
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:\mysql\data) or
View gist:176717
keys = []
search(:node, "*") do |server|
server['keys_ssh_host_rsa_public'].each do |x|
Chef::Log.debug("SSH RSA Key #{x}")
my_host_rsa_public << x
server['ipaddress'].each do |y|
Chef::Log.debug("IP Address #{y}")
my_host_ip << y
View gist:177868
"default_interface": "br0",
"interfaces": {
"br0": {
"flags": [
View blah
"default_interface": "en0",
"interfaces": {
"stf0": {
"number": "0",
"flags": [
"addresses": {