This file contains 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
#------------------------------------------------------------------------------ | |
# | |
# Record bash interactive command history in an sqlite database | |
# Requires: https://github.com/rcaloras/bash-preexec | |
# Usage: source $BASH_HOME/.bash_history.sh | |
# | |
#------------------------------------------------------------------------------ | |
compress_bash_history() | |
{ |
This file contains 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
#------------------------------------------------------------------------------------------ | |
# Slugify | |
# | |
# Usage: stdin -> slugify -> stdout | |
# Example: $ printf "%s\n" "FYI: 'Tacit Programming' is Cool!" | slugify | |
# Source: https://duncanlock.net/blog/2021/06/15/good-simple-bash-slugify-function/ | |
# | |
# 1. Transliterate everything to ASCII | |
# 2. Strip out apostrophes | |
# 3. Replace non-alphanumeric runs with a dash |
This file contains 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
"\C-g": abort | |
"\C-x\C-g": abort | |
"\e\C-g": abort | |
"\C-j": accept-line | |
"\C-m": accept-line | |
# alias-expand-line (not bound) | |
# arrow-key-prefix (not bound) | |
# backward-byte (not bound) | |
"\C-b": backward-char |
This file contains 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
source 'https://rubygems.org' | |
gem 'jekyll' | |
gem 'json' | |
gem 'liquid', '4.0.3' | |
# gem 'openssl' | |
gem 'rake' | |
gem 'sassc' | |
gem 'webrick' |