4 ms·
Append your lat/lng to your Git commit messages!
- evantahler 12y agoI've been traveling a lot for work, and I thought it might be cool to somehow signal where I was physically committing code from when I checked it in. I knew my Mac has a Geolocation framework, but I couldn't figure out a way to access it via the command line. Then I found the wonderful WherAmI project! It's a simple wrapper around the CoreLocation framework that spits out your lat/lng. From there, it's a simple task to pass that up to the Google Geocoding API to get a street address!