This file contains 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/bash | |
# Usage: install_node 0.6.16 | |
DIR=~/.node | |
TARGET=/Volumes/Macintosh\ HD | |
VER=$* | |
if [ ! -f ~/.node/$VER.pkg ]; then | |
curl --create-dirs -o $DIR/$VER.pkg http://nodejs.org/dist/v$VER/node-v$VER.pkg | |
fi |
This file contains 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/bash | |
android update project --path ./ | |
if [ $? -ne 0 ] | |
then | |
exit | |
fi | |
ant debug install | |
if [ $? -ne 0 ] |
This file contains 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/bash | |
#------------------------------------------------------------------------------ | |
# SETTINGS | |
#------------------------------------------------------------------------------ | |
MYSQL_ROOT_PASSWORD=password | |
MYSQL_GITORIOUS_PASSWORD=password | |
GITORIOUS_HOST=gitorious | |
SYSADMIN=sysadmin |
This file contains 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 | |
class Auth | |
{ | |
private $hasher; | |
private $session; | |
function __construct() | |
{ | |
$this->hasher = new PasswordHash(8, false); |
NewerOlder