Automatic Website Publishing with git-ftp.py on Mac OS X

On a recent project I collaborated on, deployment happened via git-ftp.py, a Python script which automatically publishes your git repository to an FTP server. The script itself works with with an git-rev.txt file on the FTP server which keeps track of the last published commit. When deploying via git-ftp.py, the script only uploads the changes […]

Automatic website publishing with Git, GitHub-Style

One of the things I like about GitHub is the fact that it sports a gh-pages branch. Anything you push to it, is automatically published on your GitHub subdomain http://username.github.com/projectname/. Inspired by this GitHub publishing flow, I’ve set up a likewise method on our web servers at work: a branch which gets published automatically onto […]

Photoshop Google Maps Tile Cutter Script (Google Maps Tile Generator)

UPDATE SEPTEMBER 2013: PS_Bramus.GoogleMapsTileCutter has been updated and now includes a nice UI dialog. A video of the new version in action can be viewed on YouTube. The download link below links to the latest version, so no worries there. Last week, I coded a Google Maps Tile Cutter script for use with Adobe Photoshop. […]

Convert MrSID to an image (PNG, JPG, TIFF, …)

Conversion result, using data of my hometown Deinze, Belgium To convert a MrSID (Multiresolution Seamless Image Database) from LizardTech you’ll need GDAL (Geospatial Data Abstraction Library) — Mac Users: download here — along with its MrSID Plugin — Mac Users: scroll down at link above. Once both are installed you can use gdal_translate to do […]

Convert ESRI Shapefile (.shp) to geoJSON (.json)

Conversion result implemented in Google Maps, using data of my hometown Deinze, Belgium To convert ESRI shapefiles to geoJSON (which you can perfectly use JavaScript and thus pass on to Google Maps, see screenshot above) you will need GDAL (Geospatial Data Abstraction Library) — Mac Users: download here. I have installed GDAL 1.9 Complete but […]

Convert LAMBERT 1972 to WGS84

Needed to convert LAMBERT 1972 (EPSG:31370) coordinates to WGS84 (EPSG:4326) for a project I’m working on in order to use the coordinates with Google Maps (which uses a SphericalMercator (EPSG:900913) projection). Took me quite a while to find the needed algorithm, so hereby I’m listing them (and am providing the JavaScript implementation): JavaScript: var lambert72toWGS84 […]

Radio Silence

You might have noticed the absence of posts here on bram.us the past week. Culprit were the new lesson materials I have developed for the course Rich Internet Applications (next year to be renamed to Web & Mobile Development) The developed materials consist of a set of interactive in-browser slide decks, powered by (a customized) […]

MAMP Pro slow name resolving with .local vhosts in Lion (fix)

An issue I’ve encountered with MAMP Pro since having upgraded to OS X Lion was that requests to vhosts served via MAMP took their time to load: after about 3 to 5 seconds of loading, the site would finally load. The most tricky part in this issue is that it only happens if you have […]

On Gowalla, Facebook, Instagram, Path, and Storytelling

I was meaning to write a blogpost on Gowalla 4. About how I used it less than before. But also about that when I use it (which I still do from time to time), I use it in a more engaged way. In the blogpost on Path 2, I was going to state that “Path […]