Skip to content

Instantly share code, notes, and snippets.

Matthew Fisher bacongobbler

Block or report user

Report or block bacongobbler

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 helm-scan.ps1
$versions = @("v2.0.1", "v2.0.2", "v2.1.0", "v2.1.1", "v2.1.2", "v2.1.3", "v2.2.0", "v2.2.1", "v2.2.2", "v2.2.3", "v2.3.0", "v2.3.1", "v2.4.0", "v2.4.1", "v2.4.2", "v2.5.0", "v2.5.1", "v2.6.0", "v2.6.1", "v2.6.2", "v2.8.0", "v2.8.1", "v2.8.2-rc1", "v2.8.2", "v2.9.0-rc1", "v2.9.0-rc2", "v2.9.0-rc3", "v2.9.0-rc4", "v2.9.0-rc5", "v2.9.0", "v2.9.1", "v2.10.0-rc.1", "v2.10.0-rc.2", "v2.10.0-rc.3", "v2.10.0", "v2.11.0-rc.1", "v2.11.0-rc.2", "v2.11.0-rc.3", "v2.11.0-rc.4", "v2.11.0", "v2.12.0-rc.1", "v2.12.0-rc.2", "v2.12.0", "v2.12.1", "v2.12.2", "v2.12.3", "v2.13.0-rc.1")
if ($env:TEMP -eq $null) {
$env:TEMP = Join-Path $env:SystemDrive 'tmp'
}
Update-MpSignature
foreach ($version in $versions) {
$url = "https://storage.googleapis.com/kubernetes-helm/helm-$version-windows-amd64.zip"
View the-post-it-unconference.md

The Post-it Unconference

Post-it style unconferences are an great way for small groups to share ideas, vote on topics they want to discuss and schedule based on the general interest of the group.

Recommended group size: 4-10

Prior to the meeting:

  1. Buy a stack of post-its and a few sharpies, ideally with differing colours. Each person in the group should have a small half-stack of post-its and a sharpie.
  2. Have a whiteboard or an easel pad available. These are invaluable both for scheduling talks and for jotting down or visualizing ideas during a discussion.
View gist:b3949bea0ae039b87cec04bd3ffe54df
><> docker run -it alpine sh
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
Digest: sha256:7df6db5aa61ae9480f52f0b3a06a140ab98d427f86d8d5de0bedab9b8df6b1c0
Status: Downloaded newer image for alpine:latest
/ # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-170-g9a8ee8c004 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-173-g53f4e4e2a7 [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
@bacongobbler
bacongobbler / release.sh
Last active Apr 8, 2018
Uploading static site assets to Azure Blob Storage
View release.sh
#!/usr/bin/env bash
set -eo pipefail
# Print a usage message and exit.
usage() {
cat >&2 <<-'EOF'
Usage: ./release.sh
To run, I need:
- to be provided with the name of the resource group these assets live in, in environment variable AZURE_RG_NAME
View Makefile
CC=gcc
CFLAGS=-lm
ODIR=obj
BINDIR=bin
HOST_OS := $(shell uname -s 2>/dev/null | tr "[:upper:]" "[:lower:]")
TARGET_OS ?= $(HOST_OS)
HOST_ARCH := $(shell uname -m)
View pgp.txt
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFp8op4BEADDk9QQYbTaq+nXTvxxTyjBqmTS3CsN94y8TfxslVLbQym3wuT5
9zWUv+JRlIZoqZiXJvrXFuJnUgTuzniYkrLtxvUWRKY8cISqcuA26d40YuBeQXWl
TvHAeDiJ3vyLRbS38/tzcEYThojuc0CMIklqDwrwI2J3DAegkfc4jAB60Q9oYo/M
IlsRxS1jaLMoe3xUFJV8Lq9BQOehqNSpL+L0lCHsXmLJjczuAE+pYReIuAlyeke5
o5/t4fdEqc5hziTN7XJGF5qAHK4+iEuzYx1M1UHuHqCOzZX8P/KOXT90Iru8HZ11
r/NueLUHIK/PALFBd8tC1zu03pyEKBgSd/qdsyFvIlJHQIEUOe66RaBOLhhBm9o7
97dWceYrktl0xIJxLRlcwQAb8/+xivDsQAdERU3xwVbWk9UQJx8Jy9fjI8bvJF/n
View keybase.md

Keybase proof

I hereby claim:

  • I am bacongobbler on github.
  • I am bacongobbler (https://keybase.io/bacongobbler) on keybase.
  • I have a public key ASCMtpYk3A2himgDeRHrllxXReAB6LGgI-ltqa1qHPAIDwo

To claim this, I am signing this object:

View gist:470b8d139536144edf91174916ec4036
{
"apiVersion": "2017-01-31",
"location": "westus",
"name": "cliacstest000002",
"properties": {
"agentPoolProfiles": [
{
"count": 3,
"dnsPrefix": "cliasdns000003agent",
"name": "agentpool0",
@bacongobbler
bacongobbler / .gitconfig
Last active Aug 28, 2017
My local git config
View .gitconfig
[user]
name = Matthew Fisher
email = matt.fisher@microsoft.com
[core]
editor = vim
whitespace = fix,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
[color]
ui = auto
editor = vim
View gist:b55726d9c59c7b8b9285f1b8b965b8e6
><> pwd
/Users/bacongobbler/go/src/github.com/deis/example-python-flask
><> draft create
--> Python app detected
--> Ready to sail
><> git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
You can’t perform that action at this time.