The attached file contains the results of the Australian Marriage Survey in JSON format, scraped from the "Australian Marriage Law Postal Survey 2017 - Response.xls" Excel spreadsheet provided by the ABS here
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
S3_BUCKET := bucket-name | |
STACK_BASE_NAME := test-stack | |
%: %.yaml | |
@aws cloudformation package \ | |
--template-file "$<" \ | |
--s3-bucket $(S3_BUCKET) \ | |
--output-template-file deploy.yaml | |
@aws cloudformation deploy \ | |
--template-file deploy.yaml \ |
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
S3_BUCKET := cf-templates-1wwumiwcx5krz-ap-southeast-2 | |
S3_PREFIX := 8b87ca7b-869e-4401-baa0-ad0522e32f21 | |
AWSCLI := .venv/bin/aws | |
all: parent.pyaml | |
parent.pyaml: child.pyaml | |
child.pyaml: grandchild.pyaml |
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 | |
_red() { echo '\[\e[31m\]'"$1"'\[\e[m\]'; } | |
_grn() { echo '\[\e[32m\]'"$1"'\[\e[m\]'; } | |
_ylw() { echo '\[\e[33m\]'"$1"'\[\e[m\]'; } | |
_blu() { echo '\[\e[34m\]'"$1"'\[\e[m\]'; } | |
_fus() { echo '\[\e[35m\]'"$1"'\[\e[m\]'; } | |
_cyn() { echo '\[\e[36m\]'"$1"'\[\e[m\]'; } | |
_wht() { echo '\[\e[37m\]'"$1"'\[\e[m\]'; } | |
_ppl() { echo '\[\e[38;5;55m\]'"$1"'\[\e[m\]'; } | |
_lgrn() { echo '\[\e[38;5;84m\]'"$1"'\[\e[m\]'; } |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Dé de Couleurs</title> | |
<meta name="description" content="Dé de Couleurs"> | |
<meta name="keywords" content="dice colour random"> | |
<meta charset="utf-8"> | |
</head> | |
<style type="text/css" media="screen"> | |
* { |
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 | |
spiffy_calc() { | |
local -a FIRST_ARG | |
local -a ACC | |
for var in "$@"; do | |
if [[ ${var} == "in" ]]; then | |
FIRST_ARG=("${ACC[@]}") | |
ACC=() | |
else |
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 | |
#_red() { echo '\e[31m'"$1"'\e[m'; } | |
#_grn() { echo '\e[32m'"$1"'\e[m'; } | |
#_ylw() { echo '\e[33m'"$1"'\e[m'; } | |
test_cipher_proto() { | |
local cipher endpoint proto proto_flag result ret | |
cipher=${1} | |
endpoint=${2} | |
proto=${3} |
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/sh | |
BOOT2DOCKER_CERTS_DIR=/var/lib/boot2docker/certs | |
CERTS_DIR=/etc/ssl/certs | |
CAFILE=${CERTS_DIR}/ca-certificates.crt | |
for cert in $(/bin/ls -1 ${BOOT2DOCKER_CERTS_DIR}); do | |
SRC_CERT_FILE=${BOOT2DOCKER_CERTS_DIR}/${cert} | |
CERT_FILE=${CERTS_DIR}/${cert} | |
HASH_FILE=${CERTS_DIR}/$(/usr/local/bin/openssl x509 -noout -hash -in ${SRC_CERT_FILE} 2>/dev/null) |
I hereby claim:
- I am irgeek on github.
- I am irgeek (https://keybase.io/irgeek) on keybase.
- I have a public key ASDUY2TB580FvHixmDAUwO-oWxA3nWV23WtXPP4HbxTJHwo
To claim this, I am signing this object:
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
# Bash script to maintain a persistent ssh-agent across multiple | |
# invocations of your shell when the parent process launching them | |
# does not set the necessary environment variables. | |
AGENT_VARS_FILE="${HOME}/.ssh/agent-vars.sh" | |
start_agent() { | |
rm -f ${AGENT_VARS_FILE} | |
touch ${AGENT_VARS_FILE} | |
chmod 600 ${AGENT_VARS_FILE} | |
[[ -s ${AGENT_VARS_FILE} ]] && { echo "Resetting agent file failed. Non-zero length!"; exit 1; } |
NewerOlder