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
if (!Date.prototype.toRFC3339String) { | |
(function () { | |
function pad(number) { | |
if (number < 10) { | |
return '0' + number; | |
} | |
return number; | |
} |
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 | |
# use this to run composer commands in a container (rather than on the host machine) | |
# to execute: | |
# ./composer-command.sh {{ composer commands }} | |
# the {{ composer commands }} above get passed to composer for execution (eg: "install") | |
# | |
# ./composer-command.sh install --dev | |
# | |
# Install Laravel (run this from a parent directory) |
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 list-hosted-zones | jq -c '.HostedZones | .[]' | while read i; do | |
name=$(echo $i | jq -r .Name) | |
id=$(echo $i | jq -r .Id) | |
aws route53 list-resource-record-sets --hosted-zone-id "${id}" | jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?] | @csv' > "${name//./_}DNS_Zone.csv" | |
done |
OlderNewer