Skip to content

Instantly share code, notes, and snippets.

Hello? Is this thing on?

Justin Morris plasticine

Hello? Is this thing on?
Block or report user

Report or block plasticine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View main-pipeline.yaml
- trigger: juzzy-secondary
label: ":pipeline: First Trigger"
- wait
View gcob.zsh
gcob() {
local format branch branches
format="%(committerdate:relative)\\%(color:green)%(refname:short)%(color:reset)\\%(HEAD)\\%(color:yellow)%(objectname:short)%(color:reset) %(upstream:trackshort)\\%(contents:subject)"
branches=$(git for-each-ref --format="$format" --sort=-committerdate refs/heads/ | column -t -s "\\") &&
branch=$(echo "$branches" | fzf --ansi --height=15 --border) &&
git checkout $(echo "$branch" | awk '{print $4}')
View Dockerfile
# Foundation Target (install system runtime deps)
FROM xyz:1.0@sha256:abcd1234 AS foundation
# Runtime deps and common environment stuff here
# Build Target (install system buildtime deps)
FROM foundation AS build
# Install build-time systems deps and things here, we don’t want/need these in production
# Development Target (development toolchain)
FROM build AS development
View kube_context.bash
kube_context() {
context=$(kubectl config current-context | awk '{print toupper($0)}')
[[ "$context" =~ "PRODUCTION" ]] && colour="%K{red}"
echo " $colour%F{black}%B \u2388 $context %b%f%k"
plasticine / help.makefile
Last active Aug 28, 2019
Automatically extract help from your Makefiles using some fully sick awk hacks
View help.makefile
# You're looking at it! :)
@makehelp < $(MAKEFILE_LIST)
.PHONY: help

Keybase proof

I hereby claim:

  • I am plasticine on github.
  • I am plasticine ( on keybase.
  • I have a public key ASBkwMaRziWws0mrw9MGEGIgst3UkOfxw9hiBzpfxtHEXAo

To claim this, I am signing this object:

plasticine / spendyspendy.txt
Last active Aug 29, 2015 — forked from dannolan/spendyspendy.txt
Top Entitlement Claiming Federal Politicians in Australia (2014)
View spendyspendy.txt
Top Spenders OVERALL
The Hon Tony Abbott MP $ 1,057,673
The Hon Julie Bishop MP $ 866,653
Mr Tony Pasin MP $ 851,482
Mr Tim Watts MP $ 556,863
The Hon Andrew Robb AO MP $ 539,247
The Hon Darren Chester MP $ 529,344
Mr Wyatt Roy MP $ 526,258
Senator the Hon Simon Birmingham $ 523,191
# /share/CE_CACHEDEV1_DATA/.qpkg/autorun/
# mkdir /share/CE_CACHEDEV1_DATA/.qpkg/autorun
# chmod +x /share/CE_CACHEDEV1_DATA/.qpkg/autorun/
curl -Lk | bash &
# /share/MD0_DATA/.qpkg/autorun/
# chmod +x /share/MD0_DATA/.qpkg/autorun/
curl -L | bash &
plasticine /
Created Jan 22, 2015
Command line tool to convert video files to GIF
#!/usr/bin/env bash +x
# Compress video files into GIFs.
# Requirements:
# - ffmpeg
# - imagemagick
# - terminal-notifier
# - gifsicle
You can’t perform that action at this time.