Skip to content

Instantly share code, notes, and snippets.


Billie Thompson PurpleBooth

View GitHub Profile


When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
PurpleBooth /
Last active Sep 19, 2021
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.



Docker Container Name

A one paragraph description about the container.

Getting Started

These instructions will cover usage information and for the docker container


PurpleBooth /
Last active Sep 17, 2021
Change your default branch on github without checkout anything out

Usage "$GITHUB_TOKEN" PurpleBooth/homebrew-repo

Does not delete the old default branch, or change where pull requests are based from, incase something breaks.

PurpleBooth / Dockerfile
Last active Aug 3, 2021
Create a static binary in go and put it in a from scratch docker container
View Dockerfile
FROM golang:1.9
WORKDIR /go/src/
COPY . .
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go
FROM scratch
COPY --from=0 /go/src/ /main
CMD ["/main"]
PurpleBooth /
Last active May 17, 2021
A github workflow pipeline for rust that does test, build and deploy windows, linux and mac, creates releases, and does SemVer Versioning, and releases to a homebrew tap


  • Automatically bump SemVer
  • Update a personal homebrew tap
  • Keep that pesky version in the Cargo.toml up to date
  • (From dependabot) Get new versions out as soon as possible


  • You don't want a changelog

Here is a non-exhaustive list of books that have influenced how I think about software.

PurpleBooth / Pipfile
Last active Mar 20, 2021
Hacking about with the IMDB Keras data set. Mostly from
View Pipfile
name = "pypi"
url = ""
verify_ssl = true
keras = "*"
tensorflow = "*"

Mutation Testing

How good are the tests you've been writing all day, and yesterday?

The Command

We're going to use to run our mutation tests. There are a LOT of options for mutation testing in python, if you find a better one, tell me about it.

Installing into the environment