Skip to content

Instantly share code, notes, and snippets.

# If you, like me, have all of your various source-code-like projects in ~/src/
# this is how to give yourself per-project shell history.
#
# I wish I'd done this years ago.
#
# First, in your .bashrc file, you redefine the cd, pushd and popd builtins to be "do the builtin bit,
# then do one other thing (set_src_history.sh, below) like so:
cd () {
This gist describes the process of making a self-hosted installation
of Wordpress run with SQLite as a backing store, rather than MySQL.
This is not a step-by-step guide, and will require some degree of
comfort with your filesystem, editors, and logging. This involves
both fighting with and lying to these systems, and consequently
comes with no guarantees whatsoever.
---------------
# Get Alacritty from https://alacritty.org/ and then copy the contents of this
# gist into ~/.alacritty.toml
#
# You can clone the Alacritty themes from https://github.com/alacritty/alacritty-theme
# and install Fira Code from https://github.com/tonsky/FiraCode
#
# Installing TLDR, the simplified-manual project - https://tldr.sh/ - has also been
# useful for me.
#
# You need to specify where you've cloned the themes repo in the first "include"