Skip to content

Instantly share code, notes, and snippets.

View benmatselby's full-sized avatar

Ben Selby benmatselby

View GitHub Profile
@simpsoka
simpsoka / Leadership-CI.md
Last active December 20, 2023 15:40
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
@lyrixx
lyrixx / post-checkout
Created June 26, 2013 13:37
Git post checkout
#!/bin/bash
# Put this file at: .git/hooks/post-checkout
# and make it executable
# You can install it system wide too, see http://stackoverflow.com/a/2293578/685587
PREV_COMMIT=$1
POST_COMMIT=$2
NOCOLOR='\e[0m'
@rowan-m
rowan-m / make-history.sh
Created November 20, 2012 14:47
Turn lolcommits into a video slideshow set to music
#! /bin/bash
# Where lolcommits stores its images
LOLCOMMITS_DIR=/home/rowan/.lolcommits
# The subdirectory in the lolcommits directory you want to us
LOLCOMMITS_REPO=project
# Image mask used to blur commit message
BLUR_MASK_IMG=/home/rowan/mask.jpg
# Video frames per second
VIDEO_FPS=4
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 23, 2024 15:29
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname