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 | |
if [ -z $1 ]; then | |
echo | |
echo "Usage:" | |
echo " otp google" | |
echo | |
echo "Configuration: $HOME/.otpkeys" | |
echo "Format: name=key" | |
exit | |
fi |
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 | |
main() { | |
local role_arn=$(aws --profile "$AWS_PROFILE" configure get role_arn) | |
if [[ $? != 0 || $role_arn == "" ]]; then | |
exec terraform "$@" | |
exit 0 | |
fi | |
credentials=($( |
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
#!/bin/bash | |
POOL_ID="" | |
QUERY="" | |
REGION="" | |
ATTRIBUTES=( | |
"key:value" | |
"key2:value2" | |
) |
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
#!/bin/bash | |
CLIENT_ID="" | |
POOL_ID="" | |
JOBS="" | |
EMAIL="" | |
PASSWORD="" | |
REGION="" | |
ATTRIBUTES=( | |
"key:value" |
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
if os.environ.get("AWS_EXECUTION_ENV") is not None: | |
# Running on Lambda |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.23137254901960785</real> |
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
" Base16 Ocean (https://github.com/chriskempson/base16) | |
" Scheme: Chris Kempson (http://chriskempson.com) | |
" This enables the coresponding base16-shell script to run so that | |
" :colorscheme works in terminals supported by base16-shell scripts | |
" User must set this variable in .vimrc | |
" let g:base16_shell_path=base16-builder/output/shell/ | |
if !has('gui_running') | |
if exists("g:base16_shell_path") | |
execute "silent !/bin/sh ".g:base16_shell_path."/base16-ocean.".&background.".sh" |
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
#!/bin/bash | |
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent $1 |
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
#!/bin/bash | |
# Takes one parameter: a remote git repository URL. | |
# | |
# This is the stuff this script does: | |
# | |
# 1. Clones the repository | |
# 2. Fetches all remote branches | |
# 3. Compresses the folder | |
# 4. Deletes the cloned folder. |
NewerOlder