Yesterday, I sent out this tweet: <font color="#FFFF00"><marquee behavior="alternate" bgcolor="black" scrollamount="10">Sometimes I miss the olden days</marquee></font> — Bramus! (@bramus) February 12, 2013 Rather soon I got a reply by @vormplus: @bramus we should recreate blink and marquee with css3. Add some extra magic to the web 😉 Sparked by this reply I got started … …
Category Archives: Original Content
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 …
Continue reading “Automatic Website Publishing with git-ftp.py on Mac OS X”
On the LG ST600 Smart TV Upgrader
At home I have a pretty neat media center setup if I say so myself. The core of the whole setup is a Mac Mini running Plex, which indexes all media that I have. To watch any media I either use Plex.app on the Mac Mini itself (or Plex.app on any other Mac in my …
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 …
Continue reading “Automatic website publishing with Git, GitHub-Style”
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. …
Continue reading “Photoshop Google Maps Tile Cutter Script (Google Maps Tile Generator)”
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 …
Continue reading “Convert MrSID to an image (PNG, JPG, TIFF, …)”
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 …
Continue reading “Convert ESRI Shapefile (.shp) to geoJSON (.json)”
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 …
Continue reading “MAMP Pro slow name resolving with .local vhosts in Lion (fix)”