Skip to content

Instantly share code, notes, and snippets.

Paul Fawkesley paulfurley

Block or report user

Report or block paulfurley

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
paulfurley / .gitconfig
Created Mar 11, 2019
.gitconfig snippet for nice `git log` showing signature status
View .gitconfig
date = relative
pretty = "%C(yellow)%h %C(blue)%<(50,trunc)%s %C(green)%<(8,trunc)%ad %C(reset)%ae%n%>(69,trunc)%C(magenta)%G? %GS%n%-b"
paulfurley /
Created Jan 11, 2019
Raid-1 + LUKS encrypted filesystem

make encrypted luks partition on raid-1 array from free space

  • use cfdisk /dev/sda to create a new partition in free space with type "Linux RAID"
  • repeat for /dev/sdb
  • cat /proc/mdstat to see what /dev/mdX device is next
$ mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/sda6 /dev/sdb6
View termtosvg-emoji.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/sh -eu
# fksync
# This scripts keeps your PGP keys in sync with your team by:
# 1. periodically uploading your key to the keyservers
# 2. periodically downloading their keys from the keyservesr
# Note: it can't handle *new* team members. You'll need to get their key the
paulfurley /
Last active Feb 14, 2019
Firefox profile addons and settings
paulfurley / hockeypuck-supervisor.conf
Last active Sep 23, 2018
Installing Hockeypuck with PostgreSQL on
View hockeypuck-supervisor.conf
# /etc/supervisor/conf.d/hockeypuck-supervisor.conf
# Do `service supervisor reload` then start/stop with `supervisorctl start hockeypuck`
command=/home/hockeypuck/bin/hockeypuck -config /home/hockeypuck/etc/hockeypuck/hockeypuck.conf
paulfurley / pre-commit
Last active Sep 20, 2018
Configure git email and signing key on a per-repository basis
View pre-commit
#!/bin/sh -u
# Install this into ~/.githooks/pre-commit
# Make it executable:
# > chmod +x ~/.githooks/pre-commit
# Configure git to point at your hooks directory
# > git config --global core.hooksPath ~/.githooks
paulfurley /
Last active Jul 25, 2018
Install Ubuntu 18.04, restore from backintime backup


  • A full backup of /home/paul using backintime

Install Ubuntu

  • Choose "Something else" to enter the partitioning tool

  • Select "use the advanced partitioning tool for more control"

paulfurley /
Last active Jul 10, 2018
irssi IRC client

irssi cheat sheet

These commands configure a network (e.g. freenode) with servers (e.g. and channels (e.g. #doesliverpool).

Once configured you can just /connect <network> and everything happens automatically.

Add Freenode network

/network add -autosendcmd "/^msg nickserv identify <password>" freenode

paulfurley /
Last active Oct 11, 2018
Yealink T20 VoIP phone setup notes
You can’t perform that action at this time.