Skip to content

Commit

Permalink
[null]
Browse files Browse the repository at this point in the history
  • Loading branch information
sarang-gupta committed Sep 11, 2011
1 parent 23c5285 commit 2a91fb8
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 140 deletions.
53 changes: 51 additions & 2 deletions codes.txt
@@ -1,5 +1,54 @@
# List mapping codes to cities. The format "code|city" and city can be
# List mapping codes to cities. The format "city<tab>code[s]" and city can be
# in any format cityfind.sarangconsulting.com (which doesn't exist
# yet, but will soon) handles. If cityfind can already find a city
# from its code, no need to put it here
Amsterdamamt|amsterdam

# TODO: convert to db, since direct lookup is probably inefficient

Amsterdam Amsterdamamt,amd
Atlanta Atlantaald,AtlantaPaix
Boston Bostonbo
Brussels Brusselsbrl
Chicago Chicagochd,ChicagoEquinix
Dallas Dallasdan
Denver Denverden
Elk Grove ElkGrovech
El Segundo Elsegundola
Frankfurt Frankfurtfix,Frankfurtfri
Houston Houstonhob
Kansas City KansasCitykcd
London Londonlnt,Londonlnx,Londonlo
Amherst, MA ma.amhr
Cambridge, MA ma.cmbr
Lowell, MA ma.lwll
Needham, MA ma.ndhm
Quincy, MA ma.qncy
Warren, MA ma.wrrn
Miami Miamimi,mia
Minneapolis Minneapolismpn
New York NewYorknyr,NewYorkny
Dover, NH nh.dovr
Oakbrook Oakbrookch
Palo Alto PaloAltoPaix
Paris par,Parispat,Parispav
Philadelphia Philadelphiaphy
Reston Restonrst,Restondc
San Francisco SanFranciscosfd
San Jose, CA SanJoseEquinix, SanJosesj
Santa Clara, CA SantaClarasc
Seattle Seattlesel
Zurich Zurichzuh














7 changes: 4 additions & 3 deletions hosts/Makefile
@@ -1,8 +1,9 @@
# many files here are generated
# TODO: remove silly "cd .." somehow
all: mostneeded.txt reversehosts.txt current-codematches.txt
mostneeded.txt: hostnames.txt
../most-needed.pl
cd ..; ./most-needed.pl
reversehosts.txt: hostnames.txt
../most-needed.pl
cd ..; ./most-needed.pl
current-codematches.txt: hostnames.txt ../patterns.txt
../parse-existing-hosts.pl
cd ..; ./parse-existing-hosts.pl

0 comments on commit 2a91fb8

Please sign in to comment.