Skip to content

Instantly share code, notes, and snippets.

View juliandunn's full-sized avatar

Julian C. Dunn juliandunn

View GitHub Profile
@juliandunn
juliandunn / java.env
Created January 24, 2013 21:36 — forked from logic/java.env
ZOO_LOG4J_PROP="INFO,ROLLINGFILE"
ZOO_LOG_DIR="/var/log/zookeeper/"
@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 / 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
#!/usr/bin/ruby
require 'ruby_kml'
# http://www.boutell.com/zipcodes/
# read zipcodes.csv into hash, get lat/long for each zip
zipcodes = {}
File.open('zipcode.csv', 'r') do |file|
file.each_line do |line|
entry = line.gsub('"','').split(",")