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
def recursive_sort: | |
if type == "object" then | |
to_entries | |
| sort_by(.key) | |
| map( {key: .key, value: (.value | recursive_sort)} ) | |
| from_entries | |
elif type == "array" then | |
map( if type == "object" or type == "array" then . | recursive_sort else . end ) | |
| if length == 0 or (first | type) != "object" then | |
sort |
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 | |
# Setup and start Sauce Connect for your Codeship Build | |
CONNECT_URL="http://saucelabs.com/downloads/Sauce-Connect-latest.zip" | |
CONNECT_DIR="/tmp/sauce-connect-$RANDOM" | |
CONNECT_DOWNLOAD="Sauce_Connect.zip" | |
READY_FILE="connect-ready-$RANDOM" | |
# Get Connect and start it |
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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
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 | |
SYMFONY="Symfony_Standard_Vendors_2.0.0BETA3.tgz" | |
APPLICATION_ROOT="/var/www" | |
REMOTE_IP="127.0.0.1" | |
DB_HOST="localhost" | |
DB_DRIVER="pdo_pgsql" | |
DB_USER="test" | |
DB_PASSWORD="test" | |
echo "Please enter the company name and project name (in the format CompanyName ProjectName)" |