This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | |
| --------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ||youtube.com$domain=~youtube.com # Don't pull youtube JS unless you're using youtube. This breaks | |
| # embedded videos, which is mildly inconveninent, but makes everything much faster. | |
| ||www.gstatic.com$domain=~google.com | |
| ||gstatic.com$domain=~google.com # Don't use gstatic unless you're on Google. This might | |
| # break some things but so far I haven't noticed any problems. | |
| ||accounts.google.com$domain=~google.com # Don't pop up the "log in with google" dialog everywhere. This makes the | |
| # internet feel about 95% less creepy. | |
| ||static.licdn.com$domain=~www.linkedin.com # I was changing my 4 month old child's diaper when they said to me, Dad, | |
| # don't run LinkedIn code if you're not using Linkedin. Here's what that | |
| # taught me about b2b sales. |
OlderNewer