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 | |
echo "calling" | |
( | |
echo "sleeping 5" | |
( sleep 5 && echo "sleep finished" ) | |
)& | |
echo "waiting for background" | |
wait |
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
dCuKUbGiHG4sOkKKrjePtjrrZskr3sku7siOyyOkDmsPLjHEMuKPjL6AcrTnPe(MuiJtk4COQyEcbLUNqq1(qviXbjvSqsXdrv0eLOKlIQkBukPpIQqmsuv1jrvWkfI4LOkKQzkf1nLOANs1pfsdLuPLke4PQMkjxvIcFfvHAUsuk7f(lcnyj4WIAXcHEmQmzuCzkBwO(mIgncoTIvleKETeLQzJ0TrPDtLFtvdxqhhvHuwUKEUstN46ISDjY3fOXJQsNxaRhvHKA)KQgAHcFXlgHPyeMIryAJZIZGZafoFJghVMGEJ5ttryAOHgArJ02qJImEGOXXRjO1gh5IrUbE5tJAbVTGxE5TfT5fXnUDKXRg54DQaHgoz1NcXZCYuYu1HK0QL7zm05fFnASU(Xj4AIQurlVz(1Qc3Lyv1HK0Ql6AXhgC(NsSJ(c8ZrqFHYA2qAoao1NzGcxYuZjqHZMOYafei4mtC8WLOsaOWztuzGcce8QNAqHZMOYafei4HLcLm1Ccu4SjQmqbbcEnZzqHZMOYafei4Xzoz8oOWztuzGccei4gFdZogJbrecohuORfk8mNmLmvDijTA5EgdDEXxJgRRFCcUkQUnZVwv4sDijTku4sGqdFLSKw8KZkzobpNepEAnIlbFWOoOb3kzobNNEpLXh0PVGUvpz12vFHi9HgLwM4vltFOrP9mRHxwEpR(c84XXS4P1iUHgL2ZSg0GVe8bJ6Wxc(GrDrGLzcGVHgL2ZSg6f5TnFAhzi4eSHKGGEtfXP(mdu4sMAobkC2evgOGabNJM3fk8DCKud)8xNY1PdbFdnoOW3Xrsn0lcbNzIJhUevcafoBIkduqGGxZCgu4SjQmqbbcE1tnOWztuzGcce80Ae3qJdAWtRrKJM3fAWJZCY4DqHZMOYafei4HLcLm1Ccu4SjQmqbbce8QroENkqOHpCEh(4gHiNNnKAIXGUwCoVNY4d6Gg8HbVS8Ew9f4XJJz1xGJbp5K6qsAvOWxc(GrD4lbFWOUiWYmbGG |
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 | |
log () { | |
echo "$(date): $@" | |
logger -p local4.info -t "$APP_NAME[installer]" -- "$@" | |
} | |
die () { | |
local st="$?" | |
log "Error: $@" |
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
{ | |
"DistributionConfig": { | |
"CallerReference": "createstageconfig", | |
"Aliases": { | |
"Quantity": 1, | |
"Items": [ | |
"mobilecache-staging.btrll.com" | |
] | |
}, | |
"DefaultRootObject": "index.html", |
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
#!/usr/bin/env bash | |
# OpenSSL requires the port number. | |
DELAY=1 | |
ciphers="ECDHE-ECDSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES128-SHA256" | |
for cipher in ${ciphers[@]} | |
do | |
echo -n Testing $cipher... | |
result=$(echo -n | openssl s_client -cipher "$cipher" -connect mobilestaging.btrll.com:443 -CAfile rootcert -tls1_2 -servername mobilestaging.btrll.com 2>&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
------------puppet-control-repo(staging)---------- | |
A data/profile/pjump.pp | |
A data/profile/sjump.pp | |
diff --git a/data/profile/pjump.pp b/data/profile/pjump.pp | |
new file mode 100644 | |
index 0000000..c3ad3d3 | |
--- /dev/null | |
+++ b/data/profile/pjump.pp |
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 | |
MAX_JOBS=10 | |
function filter_pids { | |
y=\$"$1" # Name of variable. | |
pidlist=`eval "expr \"$y\" "` | |
rpids="" |
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
logrotate: | |
Installed: 3.7.8-6ubuntu5 | |
Candidate: 3.8.7-0krp1~precise1 | |
Version table: | |
3.8.7-0krp1~precise1 0 | |
500 http://ppa.launchpad.net/darkroll/ppa/ubuntu/ precise/main amd64 Packages | |
*** 3.7.8-6ubuntu5 0 | |
500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages | |
100 /var/lib/dpkg/status |
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
ControlPath ~/.ssh/c/%r-%h-%p | |
ServerAliveInterval 5 | |
ServerAliveCountMax 4 | |
ForwardAgent yes | |
ControlMaster auto | |
host pm adsynth-aws-dashboard.cranestylelabs.com ec2-107-23-107-76.compute-1.amazonaws.com | |
hostname adsynth-aws-dashboard.cranestylelabs.com | |
ProxyCommand /bin/bash -c '/usr/local/bin/knock -v -d 100 %h 3888:tcp 9541:tcp 10483:tcp; sleep 0.1; /usr/bin/nc %h %p' |
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
{ | |
"ReplicationGroups": [ | |
{ | |
"Status": "available", | |
"Description": "loadtest-mobile", | |
"NodeGroups": [ | |
{ | |
"Status": "available", | |
"NodeGroupMembers": [ | |
{ |