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 bash | |
result=`curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} $1` | |
echo -e "Time_Connect\tTime_startTransfer\tTime_total" | |
echo $result | awk -F: '{ print $1"\t"$2"\t"$3 }' |
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
# | |
#!optional | |
#!rest | |
#( | |
#\ | |
#\altmode | |
#\backnext | |
#\backspace | |
#\call | |
#\linefeed |
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 bash | |
printf "Precompiling assets..." | |
rake assets:precompile | |
printf "\nCommitting assets to git..." | |
git add public/assets/ | |
git commit -am "Update asset pipeline" | |
printf "\nDeploying to Heroku..." | |
git push heroku | |
printf "\nRemoving assets..." |
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 bash | |
eval "$(tr '\n' ' ' < .env)mvn groovy:shell" |
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 bash | |
git ls-remote heroku | awk 'END{print $1}' | xargs git show |
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 boot | |
#tailrecursion.boot.core/version "2.3.1" | |
(set-env! :dependencies '[[amazonica "0.2.11"]]) | |
(require '[amazonica.aws.ec2 :as ec2] | |
'[amazonica.core :refer [defcredential]]) | |
(defcredential | |
(System/getenv "AWS_ACCESS_KEY_ID") |
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
git clone [email protected]:tailrecursion/boot | |
cd boot | |
make boot | |
mv ./boot /usr/local/bin | |
echo '#!/usr/bin/env boot | |
#tailrecursion.boot.core/version "2.3.1" |
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
# Example of iterating over a list of projects | |
projects = $(shell find . -name Dockerfile -exec dirname {} \;) | |
graceful: | |
# Find all projects with a Dockerfile, then call the local-stop target | |
# on them before a vagrant halt. Makes faulty exits more explicit. | |
$(foreach p,$(projects), \ | |
make -i -C $p local-stop ;) | |
vagrant halt |
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
# ${HOME} will be replaced by user home directory according to platform | |
default_userdir="${HOME}/.${APPNAME}/0.8.2/dev" | |
default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/0.8.2/dev" | |
# options used by the launcher by default, can be overridden by explicit | |
# command line switches | |
default_options="--branding gephi -J-Xms512m -J-Xmx2048m -J-Xverify:none -J-Dsun.java2d.noddraw=true -J-Dsun.awt.noerasebackground=true -J-Dnetbeans.indexing.noFileRefres\ | |
h=true -J-Dplugin.manager.check.interval=EVERY_DAY" | |
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea |
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
archive help | |
archive getfns | |
archive update | |
archive table | |
archive extrac | |
archive delete | |
update replac | |
update addfil | |
update amove | |
replac gethdr |
OlderNewer