This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZOO_LOG4J_PROP="INFO,ROLLINGFILE" | |
ZOO_LOG_DIR="/var/log/zookeeper/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Author: Joshua Timberman <[email protected]> | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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(",") |