I hereby claim:
- I am aklinkert on github.
- I am aklinkert (https://keybase.io/aklinkert) on keybase.
- I have a public key ASCsxVGVdQ-8Bl_lrpLNjtCMi_P4TU5UEIBemp8x9WebXgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
cwd="$(pwd)" | |
find . -print0 -type d | while IFS= read -r -d '' file; do | |
if [ ! -d "${file}/.git" ]; then | |
continue | |
fi | |
cd "${file}" | |
if [[ -n $(git status -s) ]]; then |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"s3:DeleteObject", | |
"s3:GetObject", | |
"s3:GetObjectAcl", | |
"s3:PutObject", | |
"s3:PutObjectAcl", |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Allow Public Access to All Objects", | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::bucket/*" | |
} |
<RoutingRules> | |
<RoutingRule> | |
<Redirect> | |
<Protocol>http</Protocol> | |
<HostName>www.target.example.com</HostName> | |
<HttpRedirectCode>301</HttpRedirectCode> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
#!/usr/bin/env bash | |
set -e | |
VERSION="${CIRCLE_SHA1}" | |
KUBE_CONTEXT="$(kubectl config current-context)" | |
# getKubeValue "${KUBE_CONTEXT}" "${KUBE_NAMESPACE}" "${deployment}" "${path}" | |
getKubeValue() { | |
kubectl --context "${1}" --namespace "${2}" get "deployment/${3}" -o "jsonpath={${4}}" |
#!/usr/bin/env bash | |
while true; do | |
result="$(curl -v "$1" 2>&1)" | |
code="$(echo "${result}" | tail -n1)" | |
if [ "${code}" != "ok" ]; then | |
echo "Failure at $(date)" | |
echo "code: ${code}" | |
echo "result: ${result}" |
#!/bin/bash | |
timestamp() { | |
date +"%s" | |
} | |
name=$(timestamp) | |
echo "creating key files in dir ./tmp-$name/" |
I hereby claim:
To claim this, I am signing this object:
/*menu handler*/ | |
$(function(){ | |
function stripTrailingSlash(str) { | |
if(str.substr(-1) == '/') { | |
return str.substr(0, str.length - 1); | |
} | |
return str; | |
} | |
var url = window.location.pathname; |