First, let's define various error levels (log levels).
Fatal/Critical: The application composition root should look something like this:
def main(*args)
My dropbox public dominion folder has the dividers from BGG.
The origin of these dividers is on BGG, but it's a couple more clicks, and requires you to have a login.
The dividers above are incomplete, some of the new expansions (empires and 2nd edition cards) have not been made. So I found another resource to get those (slightly different format though).
Here's the wooden box used (also mentioned in various BGG threads): Hobby Lobby Artist Box
// +build ignore | |
package main | |
import ( | |
"log" | |
"github.com/shurcooL/vfsgen" | |
"go/build" | |
"net/http" | |
"os" |
I hereby claim:
To claim this, I am signing this object:
#! /usr/bin/env bash | |
for i in $(seq 1 10); do | |
start=$(($(date +%s%N)/1000000)) | |
print -P $PS1 $RPS1; | |
end=$(($(date +%s%N)/1000000)) | |
echo Execution time was `expr $end - $start` ms. | |
done |
func setup() func() { | |
pool, err := dockertest.NewPool("") | |
if err != nil { | |
fmt.Printf("Could not connect to docker: %s\n", err) | |
os.Exit(1) | |
} | |
pool.MaxWait = time.Second * 120 | |
// pulls an image, creates a container based on it and runs it |
# Docker | |
alias drd='docker rmi $(docker images -f "dangling=true" -q)' | |
alias dre='docker rm $(docker ps -a -f status=exited -q)' | |
alias drc='docker rm $(docker ps -a -f status=created -q)' | |
alias dps='docker ps --format '\''table {{ .ID }}\t{{ .Image }}\t{{ .Names }}\t{{ .Ports }}'\''' | |
alias dpsa='docker ps -a --format '\''table {{ .ID }}\t{{ .Image }}\t{{ .Names }}\t{{ .Ports }}'\''' | |
# Git | |
# https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git | |
# https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git-extras/git-extras.plugin.zsh |
#!/usr/bin/env bash | |
function aws-creds-to-env { | |
profile_name="${1:-default}" | |
AWS_ACCESS_KEY_ID=$(aws configure get "${profile_name}.aws_access_key_id") | |
export AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY=$(aws configure get "${profile_name}.aws_secret_access_key") | |
export AWS_SECRET_ACCESS_KEY | |
} |
git config --local user.email ghost.squadron@gmail.com | |
git config --local user.signingkey 1C08DB44DEC7CAFC | |
git config --local core.sshCommand "ssh -i ~/.ssh/id_rsa_ghostsquad" | |
git --no-pager config --local --list |
#!/usr/bin/env bash | |
# Start SSH Agent if not already started | |
# https://stackoverflow.com/questions/18880024/start-ssh-agent-on-login | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initialising new SSH agent..." | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
echo succeeded |