Skip to content

Instantly share code, notes, and snippets.

View juliandunn's full-sized avatar

Julian C. Dunn juliandunn

View GitHub Profile
@juliandunn
juliandunn / traceroute-episode-IV-a-new-hope.txt
Last active December 12, 2015 08:59
here's the full traceroute with credits
zaphod:tmp$ traceroute 216.81.59.173
traceroute to 216.81.59.173 (216.81.59.173), 64 hops max, 52 byte packets
1 nectar (192.168.5.1) 3.793 ms 0.745 ms 11.977 ms
2 cpe-72-225-160-1.nyc.res.rr.com (72.225.160.1) 86.680 ms 35.550 ms 37.859 ms
3 tenge-0-2-0-6-nycmnyr-rtr01.nyc.rr.com (24.168.135.169) 50.914 ms 23.809 ms 13.318 ms
4 bun120.nycmnytg-rtr001.nyc.rr.com (184.152.112.63) 20.660 ms 19.192 ms 20.846 ms
5 bun6-nycmnytg-rtr002.nyc.rr.com (24.29.148.250) 20.429 ms 16.775 ms 15.689 ms
6 107.14.19.24 (107.14.19.24) 15.007 ms 15.276 ms 16.220 ms
7 ae-1-0.pr0.nyc20.tbone.rr.com (66.109.6.163) 17.830 ms 18.652 ms
107.14.17.171 (107.14.17.171) 38.915 ms
@juliandunn
juliandunn / gist:4950591
Created February 14, 2013 04:22
minitest-meme.txt
=== Unit tests
require 'minitest/autorun'
class TestMeme < MiniTest::Unit::TestCase
def setup
@meme = Meme.new
end
def test_that_kitty_can_eat
@juliandunn
juliandunn / gist:5000718
Created February 20, 2013 23:35
tar manpage excerpt
BUGS
The GNU folks, in general, abhor man pages, and create info documents instead. The
maintainer of tar falls into this category. Thus this man page may not be complete,
nor current.
Complete!
Copy iso file /Users/juliandunn/Dropbox/devel/github/juliandunn/bento/iso/VBoxGuestAdditions_4.2.10.iso into the box /tmp/VBoxGuestAdditions.iso
Installing Virtualbox Guest Additions 4.2.10 - guest version is 4.1.22
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.1.22 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules[ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[ OK ]
@juliandunn
juliandunn / cla.rb
Last active December 16, 2015 20:19 — forked from jtimberman/cla.rb
#!/usr/bin/env ruby
# Author: Joshua Timberman <joshua@opscode.com>
# License: Apache Software License version 2
#
# gem install roo
#
# Usage:
# cla name []
#
# Where name is a string to search, and [] is an optional string to tell the script
@juliandunn
juliandunn / chef-11.6.0-rc0-output-windows
Created June 29, 2013 02:25
Chef 11.6.0rc0 output on Windows
Recipe: chef-client::config
* directory[C:/chef/run] action create[2013-06-29T02:17:13+00:00] INFO: Processing directory[C:/chef/run] action creat
e (chef-client::config line 77)
================================================================================
Error executing action `create` on resource 'directory[C:/chef/run]'
================================================================================
Chef::Exceptions::Win32APIError
-------------------------------
@juliandunn
juliandunn / certificate.svg.erb
Created August 26, 2013 04:11
Opscode Training Certificate template
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="792px"
height="612px" viewBox="0 0 792 612" enable-background="new 0 0 792 612" xml:space="preserve">
<g id="Certificate_Layout">
<g>
<g>
<g>
<g>
export AWS_ACCESS_KEY=AKIAXXXXXXXXXXXXXXXXXX
export AWS_SECRET_KEY=XXXX
export AWS_SSH_KEY_ID=xxxx
# Of course, the new Python Amazon tools need to use completely
# different environment variables. Really, guys?
export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_KEY
export AWS_DEFAULT_REGION=us-east-1
@juliandunn
juliandunn / windows-vagrant-chef-run.txt
Created September 23, 2013 19:23
first run of IIS cookbook under Vagrant 1.3.x with vagrant-windows
$ vagrant destroy -f && vagrant up
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
[Berkshelf] Cleaning Vagrant's berkshelf
[default] Running cleanup tasks for 'chef_solo' provisioner...
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'windows-2012-standard'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
@juliandunn
juliandunn / windows-knife-editor-settings.md
Last active August 10, 2016 06:55
knife[:editor] settings on windows

Notepad++

knife[:editor] = '"C:\Program Files (x86)\Notepad++\notepad++.exe" -nosession -multiInst'

Sublime Text

knife[:editor] = '"C:\Program Files\Sublime Text 2\sublime_text.exe" --wait'