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 | |
/* | |
By Marco Arment <[email protected]>. | |
This code is released in the public domain. | |
THERE IS ABSOLUTELY NO WARRANTY. | |
Usage example: | |
// In a registration or password-change form: |
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
// build log data | |
$data = array( | |
account_id => 1, | |
array( | |
'type' => 'budget', | |
'message' => 'this is a test error message for budget' | |
), | |
array( | |
'type' => 'budget', | |
'message' => 'this is a test error message for budget' |
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
?app_data={"ref":"ad","data":{"campaign_id":"1"}} |
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
PS1='\w$ ' | |
alias staging-mysql='pagoda -a aisle5-staging tunnel -c db1' | |
alias staging-redis='pagoda -a aisle5-staging tunnel -c cache1' | |
alias redis='redis-server' | |
alias redis-web='resque-web -p 8282 -F -r localhost:6379' | |
alias worker-start='php -f /Applications/MAMP/htdocs/aisle5/secure/workers/worker_start.php' |
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
DB1_HOST="localhost" | |
export DB1_HOST | |
DB1_PORT="3306" | |
export DB1_PORT | |
DB1_NAME="bertha" | |
export DB1_NAME | |
DB1_USER="root" |
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
?app_data={"ref":"ads","data":{"ad_campaign_id:"1234"}} |
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
{ | |
"ref": "ads", | |
"data": { | |
"ad_campaign_id": "1234" | |
} | |
} |
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
web1: | |
name: app | |
document_root: /public | |
php_version: 5.3.10 | |
php_max_execution_time: 60 | |
php_file_uploads: "1" | |
php_post_max_size: "64M" | |
php_upload_max_filesize: "64" | |
php_date_timezone: America/Denver | |
shared_writable_dirs: |
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/sh | |
# | |
#current directory | |
# | |
DIR="$( cd "$( dirname "$0" )" && pwd )" | |
# | |
#concatenate all javascript files and compress | |
#using yuicompressor. output as min.js. |
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/sh | |
# | |
#current directory | |
# | |
DIR=$PWD; | |
# | |
#concatenate all javascript files and compress | |
#using yuicompressor. output as min.js. |
OlderNewer