Mercator Puzzle Redux

The aforementioned Mercator Puzzle is quite nice, but it’s static: you always get presented the same 15 countries at the same 15 starting positions. To counter that, I decided to make the thing dynamic: you get to place 15 countries chosen from a set of 178 in total. If you don’t know the anwser, just …

Google Maps v3 Drag Polygon

It’s really not that hard. No need for one of the many diy scripts; just set the draggable property on your instance of google.maps.Polygon and you’re good to go. Note: draggable was introduced in Google Maps v3.11 (dd 22 January 2013). The current stable version of Google Maps still is 3.10 however. For now (until …

pytesla — Python bindings to the Tesla Model S REST API

pytesla is a python binding to the Tesla Model S REST API so that you can monitor your car or programmatically interact with it. It makes it easy to schedule charging times, trigger heating/cooling according to weather or just gather stats. A car with an API, how cool is that? Can’t wait for the day …