Skip to content

Instantly share code, notes, and snippets.


Lewis Denham-Parry denhamparry

View GitHub Profile
simpsoka /
Last active Jan 7, 2021
This is a list of questions to check our decision making.

Do I want to die on this hill?

  • Pass: This is morally good and if not handled has long term consequences
  • Fail: This if self serving

Am I including everyone?

  • Pass: My ego is not driving this conversation
  • Fail: The people in this conversation will only tell me I'm right and not push back
alexellis /
Last active Jun 21, 2018
A daemonset for the blinkt
  • Turn off RPis and install Blinkt if you haven't already. Rounded edges should point outwards.
  • Power back up
  • Install Kubernetes (hopefully you've already done this)
  • Download the gist to a temporary file i.e. gist.yml
  • kubectl apply -f gist.yml

Let me know what happens. If you see a red animation going backwards and forwards then everything's working right.


Build .NET on Windows or Linux, then re-build with Docker on ARM

On your PC:

faas-cli new --lang csharp pinetes

Edit ./pinetes/FunctionHandler.cs

alexellis /
Last active Feb 14, 2021
K8s on Raspbian
daredude / docker-clear.bat
Created Jun 5, 2016
delete all docker container and images on windows
View docker-clear.bat
@echo off
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i
octocat / .gitignore
Created Feb 27, 2014
Some common .gitignore configurations
View .gitignore
# Compiled source #
# Packages #
kevin-smets /
Last active Mar 9, 2021
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)





pitch-gist / gist:2999707
Created Jun 26, 2012
HTML: Simple Maintenance Page
View gist:2999707
<!doctype html>
<title>Site Maintenance</title>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
trey /
Last active Mar 8, 2021
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global "Your Name"
git config --global ""