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 | |
BB_ACCOUNT_NAME="robot_org" | |
BB_USERNAME="cleveron" | |
BB_PASSWORD="password" | |
NEW_REPO_HOOK_ID="a1b2c3d4e5f6" | |
declare -a repositoryList=( "package_manifest" ) |
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 | |
CITIES="Paris, Madrid, Berlin" | |
IFS=', ' read -r -a citiesArray <<< "$CITIES" | |
for city in "${citiesArray[@]}" | |
do | |
echo "City: $city" | |
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 | |
BB_ACCOUNT_NAME="john" | |
BB_USERNAME="doe" | |
BB_PASSWORD="password" | |
declare -a repositoryList=( "limerick-generator" ) | |
for repository in "${repositoryList[@]}" | |
do |
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 | |
declare -a ENVS_TO_PLAN=(test sandbox production) | |
for i in "${ENVS_TO_PLAN[@]}"; do | |
echo Planning environment: $i | |
cd $i | |
ls -al | |
echo Running Init for $i environment | |
aws-vault exec ident -- terraform init |
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
<html> | |
<head> | |
<title>Geolocation</title> | |
</head> | |
<body> | |
<script> | |
if ("geolocation" in navigator){ | |
console.log("Geolocation available"); | |
navigator.geolocation.getCurrentPosition(success, error); | |
} |
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
swagger: "2.0" | |
info: | |
description: "This is a super simple swagger sample Book server" | |
version: "1.0.0" | |
title: "Swagger bookserver" | |
termsOfService: "http://google.com/" | |
contact: | |
email: "[email protected]" | |
license: | |
name: "Apache 2.0" |
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
Subject | |
Description | |
Issue(s): None |
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
[color] | |
ui = auto | |
[svn] | |
authorsfile = ~/.svnauthors | |
[alias] | |
st = status -uno | |
ci = commit | |
br = branch |
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
# Most of these from: http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html | |
alias ll='ls -alh' | |
# Directory Navigation | |
alias cd..='cd ..' | |
alias ..='cd ..' | |
alias ...='cd ../../' | |
alias ....='cd ../../../' | |
alias .....='cd ../../../../' | |
alias .4='cd ../../../../' |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
export BASH_CONF="bashrc" | |
# Some useful colours | |
hash _c_define > /dev/null 2>&1 | |
if [[ $? -eq 0 ]]; then | |
. _c_define |