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
#!/bin/bash | |
months=( | |
"01" | |
"02" | |
"03" | |
"04" | |
"05" | |
"06" | |
"07" |
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
#!/bin/bash | |
accounts=( | |
'as3_baseplatform' | |
'as3_clarity' | |
'cygnus_cavc' | |
'cygnus_cpa' | |
'cygnus_fhc' | |
'cygnus_ll' | |
'cygnus_mass' |
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
#!/bin/bash | |
# Loops over hostzone and gets NS records and updates NameServers to match. | |
echo $1 | |
for domain in $(cli53 export $1 |grep NS); do | |
if [[ $domain =~ 'ns-' ]]; then | |
ns_list+=($domain) | |
fi | |
done |
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
#!/bin/bash | |
mkdir clean | |
for file in *.txt; do | |
#Remove .txt from end of files | |
domain=${file%".txt"} | |
cli53 create $domain --comment 'Gallo' |
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
#!/bin/bash | |
mkdir clean | |
for file in *.txt; do | |
#Remove .txt from end of files | |
domain=${file%".txt"} | |
cli53 create $domain --comment 'Gallo' |
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
#!/bin/bash | |
# External AWS Key | |
export AWS_ACCESS_KEY_ID="123456" | |
export AWS_SECRET_ACCESS_KEY="123456" | |
# Export bind file | |
cli53 export --full --debug $1 > $1.bind | |
# Set Key's to blank so your system key is used |
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
extension = "newrelic.so" | |
newrelic.enabled = true | |
newrelic.error_collector.record_database_errors = true | |
newrelic.browser_monitoring.auto_instrument = false | |
newrelic.capture_params = true | |
newrelic.transaction_tracer.record_sql = "raw" |
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
node { | |
dir("${env.BUILD_NUMBER}") { | |
try { | |
docker.withRegistry('https://registry.hub.docker.com', 'docker-registry-login') { | |
stage("Copy Artifact") { | |
step ([$class: 'CopyArtifact', projectName: 'Platform/master']); | |
} | |
def myDocker = docker.image("registry.hub.docker.com/scomm/php5.6:latest") | |
myDocker.pull() |
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
#!/bin/bash | |
subdomains="r1,r2,r3" | |
domains=$(cat /etc/nginx/domain_list) | |
domains=(${domains//,/ }) | |
subdomains=(${subdomains//,/ }) | |
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
#!/bin/bash | |
#aws route53 create-hosted-zone --name altdotpop.com --caller-reference 2016-02-09-18:51 --hosted-zone-config Comment="Southcomm" | |
Id=$(aws route53 list-hosted-zones-by-name --dns-name baseplatform.io. --max-items 1 --query 'HostedZones[*].Id' --output text | awk -F'/hostedzone/' '{print $2}') | |
echo " |