June 26, 2007
The Google Maps API requires a unique key for each domain where maps will be rendered. This means the key you generate for your production environment won’t work on dev or qa (assuming your dev and qa environments are not served from within your production root).
I typically do my dev work locally, push changes to a qa server, and eventually push the final product to production.
In order to get my google maps to render across all three environments, I use a switcher that feeds the google maps API the correct key based on which server is asking for it.
Read the rest of this entry »
Posted in api, googlemaps, php
1 Comment »
June 24, 2007
Adobe Photoshop CS 8.0 has a nasty habit of truncating filenames longer than 31 characters when you use the “Save for Web…” feature. There are settings that control this behavior, but they are kinda hard to find.
To prevent Photoshop from chopping off the end of your filenames:
- Create or open a file
- Select “Save for Web…” (Alt-Shift-Ctrl-S) from the File menu
- Next to the “Preset” select there’s a circle with an arrow through it. Click it and select “Edit Output Settings…”

Read the rest of this entry »
Posted in photoshop
7 Comments »
June 21, 2007
This tutorial will show you how to execute a command on a remote server using password-less authentication.
This particular example demonstrates updating a remote subversion (svn) workspace, though it can easily be adapted to any command you may require.
I’ve layered it into 4 steps- the final step being what I consider the most elegant and optimized solution to the problem.
Read the rest of this entry »
Posted in cygwin, authentication, subversion, bash, openssh
No Comments »
Recent Comments