- Developer tools
- Mac Ports – http://www.macports.org/install.php
- If you are running Snow Leopard, install using this guide: http://guide.macports.org/#installing.macports.subversion until version 1.8 has been released.
- TextMate – http://macromates.com/
- Snow Leopard: If cmd+left & cmd+right doesn’t work (start and end of line) download “Snow Leopard Compatibility.zip” from http://ticket.macromates.com/show?ticket_id=0FDE7076
- Alternate GUI: http://jason-evers.com/projects/green-moleskine
- Neopro theme: http://github.com/hugowetterberg/Neopro.tmTheme
- Cyberduck – http://cyberduck.ch/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/** | |
* Script for change the collation of a database's table's | |
*/ | |
if ($argv[1] == '-h') { | |
echo "Usage:\n\tphp collation_switch.php sql-user sql-password sql-database target-collation target-character\nExample: php collation_switch.php USER PASS DATABASE utf8_swedish_ci utf8\n"; | |
die(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Returns all the layers in the tile service. | |
* | |
* @return array | |
*/ | |
function simplegeo_tileservice_get_layers() { | |
static $layers; | |
$cache_key = 'simplegeo_tileservice:layers'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
repo="`pwd`" | |
export GIT_DIR="$repo" | |
wd="`dirname $repo`" | |
echo "$repo" | |
echo "$wd" | |
cd "$wd" | |
git merge master | |
git submodule init |