gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
Lua module for wezterm
to convert tmux
stylised text into Lua tables compatible with wezterm.format()
.
See wezterm/wezterm#5848 for details.
In addition to the tmux
styles, it also supports wezterm.nerdfonts
,
allowing the use of any symbol name supported by wezterm
.
Gitmux is an example of tmux
utility that can be used with wezterm
. See gitmux.yml
for example config.
- SwiftDefaultApps - https://github.com/Lord-Kamina/SwiftDefaultApps
- Platypus - https://sveinbjorn.org/platypus
Use Platypus to create org.codemedic.SSHHandler app, as an ssh
URL handler, making use of the applescript below.
Not sure, but I am told to run it once to get the URL handler registered.
Homebrew build logs for mpv on Ubuntu 16.04.7 LTS | |
Build date: 2021-01-19 13:00:56 |
#!/bin/bash | |
######################################################################### | |
# # | |
# # | |
# NATO String converter # | |
# # | |
# Description: converts string (first parameter given) # | |
# to NATO phonetics-alphabet # | |
# # |
void | |
blow_bubbles_till(bool& condition) | |
{ | |
static const char* sprite = ". o O @ *"; | |
unsigned frame = 0; | |
while (!condition) { | |
boost::this_thread::sleep_for(boost::chrono::milliseconds(250)); | |
std::cerr << "\r‗‗" << std::string(sprite + frame * 5, 5) << ' '; | |
frame = (frame + 1) % 5; | |
} |
Run pdflatex --shell-escape gpgbackup.tex
to produce a pdf that you can print and lock away.
In order to recover the key, you will have to scan extract individual QR Codes with names IMGa.png
, IMGb.png
, IMGc.png
and IMGd.png
, as given in the name of each figure, then run the recovery commands.
NOTE: The above command WILL leave some artefacts in /tmp
which should be removed using the command rm /tmp/IMG*png
PS: Original formula for this gist was from @costrouc.
# Heavily depends on: | |
# libqrencode (fukuchi.org/works/qrencode/) | |
# paperkey (jabberwocky.com/software/paperkey/) | |
# zbar (zbar.sourceforge.net) | |
# Producing the QR codes: | |
# Split over 4 codes to ensure the data per image is not too large. | |
gpg --export-secret-key KEYIDGOESHERE | paperkey --output-type raw | base64 > temp | |
split temp -n 4 IMG | |
for f in IMG*; do cat $f | qrencode -o $f.png; done |