git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #!/bin/bash | |
| # Runs a command on all instances attached to a load balancer | |
| # Elastic Load Balancer Tools from http://aws.amazon.com/developertools/2536 | |
| ELB=prod-axs-aeg | |
| COMMAND='service varnish restart' | |
| INSTANCES=$(elb-describe-instance-health $ELB | awk -F " " '{print $2}') |
| See the entry point in file "blti-launch.html". |
| <?php | |
| /* vars for export */ | |
| // database record to be exported | |
| $db_record = 'XXX_TABLE_NAME_XXX'; | |
| // optional where query | |
| $where = 'WHERE 1 ORDER BY 1'; | |
| // filename for export | |
| $csv_filename = 'db_export_'.$db_record.'_'.date('Y-m-d').'.csv'; | |
| // database variables |
| <?php | |
| # ------------------------------ | |
| # START CONFIGURATION SECTION | |
| # | |
| $launch_url = "http://www.imsglobal.org/developers/BLTI/tool.php"; | |
| $key = "12345"; | |
| $secret = "secret"; | |
| $launch_data = array( |