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 | |
PROJECTID=sm-demo-330516 | |
if [ -z "$1" ]; then | |
echo "Usage:" | |
echo " echo SECRET | storepw SECRET_NAME" | |
exit | |
fi | |
SEC="$(hostname)-$1" | |
gcloud beta secrets create $SEC --project=$PROJECTID --replication-policy automatic --data-file=- |
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 | |
PROJECTID=sm-demo-330516 | |
if [ -z "$1" ]; then | |
echo "Usage:" | |
echo " $0 SECRET_NAME" | |
exit | |
fi | |
SEC="$(hostname)-$1" | |
gcloud beta secrets versions access latest --project=$PROJECTID --secret=$SEC | xargs |
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
# Fix the control character | |
unbind C-b | |
set -g prefix C-a | |
set -g mouse on | |
unbind '"' | |
unbind % | |
unbind | | |
# Enable pane border status to display labels at the top |
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
write_files: | |
- url: http://deploy-files.s3-website-us-west-2.amazonaws.com/tmux.conf | |
owner: root:root | |
path: /etc/tmux.conf | |
permissions: '0644' |
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
<html><body onload="bomap_initialize()" onunload="GUnload()"> | |
<?php | |
// Obtain Boxoh key from here: http://www.boxoh.com/api/signup/ | |
$boxohApiKey = 'INSERT_BOXOH_KEY_HERE'; | |
// Obtain key from here: https://developers.google.com/maps/documentation/javascript/tutorial#api_key | |
$googleApiKey = 'INSERT_GOOGLE_KEY_HERE'; | |
// Grab the tracking number off the querystring 't' parameter |