There are no reviews yet. Be the first to send feedback to the community and the maintainers!
This is a Go package which maps a (lat, long) to a timezone. My motivation was figuring out the UTC time of a JPG with EXIF metadata containing GPS coordinates and local time, but no timezone offset. This is a surprising number of photos. I built this to improve sorting in Camlistore, especially when photos are intermixed with tweets, checkins, etc, but it should be generally applicable. See docs at http://godoc.org/github.com/bradfitz/latlong It tries to have a small binary size (~360 KB), low memory footprint (~1 MB), and incredibly fast lookups (~0.5 microseconds). It does not try to be perfectly accurate when very close to borders. To rebuild the data files, see the Makefile (or just run make). You'll need the data files unzip to the "world" directory. Some background: https://plus.google.com/u/0/+BradFitzpatrick/posts/XVyy1bAzkZd Another image of the underlying data structure: http://i.imgur.com/Rt8bLSD.png ... the tile borders are only there for debugging, to show areas with only one timezone. Tiles without borders around them still work; at that level, the small possible bitmap is used for lookup.
homelab
Brad's homelab setuphttp2
old repo for HTTP/2 support for Go (see README for new home)gomemcache
Go Memcached client library #golanggoimports
(old repo) Tool to fix (add, remove) your Go imports automatically.talk-yapc-asia-2015
talk-yapc-asia-2015shotizam
Shotizam analyzes the size of Go binariesexp-httpclient
experimental new HTTP client API for #golang (WIP)embiggen-disk
embiggden-disk live-resizes a filesystem after first live-resizing any necessary layers below it: an optional LVM LV and PV, and an MBR or GPT partition tablegitbrute
brute-force a git commit hashiter
Range over integers [0,n). Seriously, that's it.jndi
a irresponsibly bad logging libraryautocertdelegate
Get LetsEncrypt TLS certs for internal-only TLS servers via a delegated golang.org/x/crypto/acme/autocert server.runsit
THIS IS OLD. DO NOT USE THIS. Just use systemd these days.go-smtpd
SMTP server library for Goscanningcabinet
Document Management System (scanner -> appengine blobs)campher
Embed Perl in Go. This works, but was a joke for a presentation. Don't use.go-sql-test
test ALL the databaseswebsomtep
[joke] combination SMTP / WebSocket serverdeadbeef
Gimmicky commit hash made using bradfitz/gitbruteslice
The slice package sorts Go slices.snake
a #golang Snake game in webassembly running at http://snake.126.49.198.in-addr.arpa/webfist
WebFist implements WebFinger delegation for providers who don't support WebFinger natively.android-garage-opener
Android Garage Door Openerlesser
rfbgo
Toy RFB (VNC) Server in Go (#golang)go-tool-cache
inboxfewer
archive gmail threads when github or gerrit issues are closedart
Allotment Routing Tableshipit
Software Release Toolgitutil
Utilities for working with git and Gerritcontributing
(DEAD, SHUT DOWN) a repository of information on how to contribute to open source projectsandroid-squeezer
Android SqueezeCenter / SqueezeBox remote control client.undent
unindent stuffh2slam
slam an HTTP/2 server a lot of concurrent load over a single TCP connection (for debugging something)zippy-android-talk
Code to accompany my Zippy Android talk at Google I/O 2010go-issue-mirror
[old] precursor to golang.org/x/build/maintner/godatagoman
Gearman Client for Gominimal-qemu-linux
experimenting with a minimal Linux kernel under qemu-system for testinglitecmp
ip2asn
parser for iptoasn.com datahubbub-hub
A PubSubHubbub hub implementationsixmap
tool to visualize the SIX (Seattle Internet Exchange) route server coverageqopher
Gopher Queuegotsync
parallel tree syncqemu-guest-kragent
a minimal qemu-guest-agent in Go for gokrazy + Proxmox (qemu)powerview
Control Hunter Douglas PowerView shades & blindsgrpc-go16-demo
Demonstrating using Go 1.6's http2 to do grpcgo-get-proxy
http proxy for the "go get" subcommandgce
Go package for for Google Compute Engine (GCE)sonden
If Sonos is playing audio, turn on my Denon amps.go-runas
Wrapper around go's rpc pkg to drop root and run RPCs as another usertalk-http2go
HTTP/2 Go Talkcandysim
when will Candyland be over?morskoyboy
Bored on a bus with no Internet? Play ะะพััะบะพะน ะะพะน (Sea Battle), similar to Battleship.batt
build ALL the thingsset-consistenthash-perl
consistent hashing library for Perlissue-tracker-behaviors
lingobingo
lingo bingo lightning talkbrackup-gae-server
Brackup server for Google App Engineeight22er
[joke] Twitter Direct Message POP3 gatewayremserial-mirror
git mirror of remserialtalk-2016-08-16-seattle-go-1.7
aoc
advent of code helpers to reuse between tasksperl-denon-avr-4806
Perl code to control a Denon AVR-4806unicode-checkutf8
Perl module Unicode::CheckUTF8go-mod-archiver-test
perl-net-openid
Perl Net::OpenID::* modulesissuemirror
Code for mirroring Github issues to local files, and reading them.issue735583
Demo for Chrome issue issue 735583talk-2014-04-gophercon
Gophercon 2014 Talksys-syscall
Sys::Syscall -- access system calls that Perl doesn't normally provide access tok9sms
K-9 SMSbarlogalights
little program I use to run the LED strips in my home bartalk-2012-08-23-square-go
Talk about Go at Squarefotobilder-spiegel
Mirror photos & galleries from FotoBilder / LiveJournaldemocgoalloc
fw-test-agent
go-test-bug-repro
wintun-go
dev fork of golang.zx2c4.com/wintuntalk-gluecon-2010
Slides & code samples from my Gluecon 2010 talkLove Open Source and this site? Check out how you can help us