I hereby claim:
- I am cjlyth on github.
- I am cjlyth (https://keybase.io/cjlyth) on keybase.
- I have a public key whose fingerprint is 558D B27C D3F7 E078 DB84 46B0 4BFF 1A62 3465 7D7F
To claim this, I am signing this object:
#!/usr/bin/env bash | |
yum update -y | |
yum groupinstall "Development Tools" -y | |
sudo -u ec2-user git config --global credential.helper '!aws codecommit credential-helper $@' | |
sudo -u ec2-user git config --global credential.UseHttpPath true | |
# Borrowed from https://forums.aws.amazon.com/thread.jspa?messageID=911050 | |
echo "Setting up NodeJS Environment" |
#!/usr/bin/env bash | |
# thanks to this gist for getting me started | |
# https://gist.github.com/noonat/9fc170ea0c6ddea69c58 | |
curl https://api.github.com/users/cjlyth/keys \ | |
| grep -oe 'ssh-rsa[^""]*' \ | |
>> ~/.ssh/authorized_keys | |
echo -e "#cloud-config\nssh_authorized_keys:\n$(sed 's/^/ - /' ~/.ssh/authorized_keys)" \ | |
> ~/cloud-config.yaml |
# http://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout | |
mkrole() | |
{ | |
dir_name=${1:-'common'} | |
mkdir -p roles/$dir_name/{tasks,handlers,templates,files,vars,defaults,meta} | |
touch roles/$dir_name/{tasks,handlers,vars,defaults,meta}/main.yml | |
} |
I hereby claim:
To claim this, I am signing this object:
mvn versions:set -DnewVersion=0.0.3-SNAPSHOT |
db.zz_an02_cache.find({an02cacheKey:"8-70273186-1465091679-1434033220871"},{outletId:-1}) | |
db.zz_an02_cache.aggregate( [ | |
{ $match: { an02cacheKey: "1884586746-2-96337202-1434032093666" } } | |
, { $group: { _id: "$outletId" } } | |
] ); | |
{ $group: { _id: "$state", totalPop: { $sum: "$pop" } } }, |
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --storage-opt dm.basesize=50G" |
variable="a b a b a x x" | |
echo $variable | |
echo $variable | sed -r '/[^[:alnum:]]+/{s/[^[:alnum:]]/_/g}' | |
echo |
git clone git@github.com:chriskempson/base16-builder.git | |
cd base16-builder | |
docker run -it --rm --name base16-builder \ | |
-v "$(pwd)":/usr/src/base16-builder \ | |
-w /usr/src/base16-builder \ | |
ruby /usr/src/base16-builder/base16 |
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit | xargs tar -rf $commit.tar |