tech snippets.
reference material.
clever hacks.
useful tools.
- system font stack. / modern font stacks.
- webfont guide.
- fira code font.
Can also be installed on Ubuntu via:
sudo apt-get install fonts-firacode
- vimwiki markdown to HTML converter.
- pngquant, a PNG image compression tool.
- exifcleaner, removes metadata from images, videos, PDFs, etc.
- python tool to check markdown sites for dead links.
Invoke recursively on a directory of markdown files like this:
linkcheckMarkdown -r .
Only show dead HTTP(S) links and discard errors:
(linkcheckMarkdown -r . | grep 'http') 2> /dev/null
- screen recording with ffmpeg.
- peek, a screen recording tool.
- ibm personal wheelwriter 2 manual.
- redmond97 theme for gtk.
- set dark mode in chromium: browse to
chrome://flags
, look for
#enable-force-dark
and set it to "enabled with selective inversion of
non-image elements."
- downsample a .mov to a small .gif using ffmpeg and
gifsicle:
$ ffmpeg -i fft.mov -r 30 -s 480x221 -t 00:00:01 fft.gif
$ gifsicle -i fft.gif -O3 --colors 32 -o fft_optimized.gif
$ ls -lh
total 4.4M
-rw-r--r-- 1 chotrin chotrin 4.3M Jan 22 10:36 fft.mov
-rw-r--r-- 1 chotrin chotrin 126K Jan 22 10:54 fft.gif
-rw-r--r-- 1 chotrin chotrin 87K Jan 22 10:55 fft_optimized.gif
(this example is 1 second of 30fps footage at 480x221 resolution.)
- search for 'foo' and replace with 'bar' in the current directory with ack:
ack -l 'foo' | xargs perl -pi -E 's/foo/bar/g'
- use rsync to copy the contents of one directory to another:
rsync -av pictures/ ~/public_html/pictures/
- create symlinks on Windows in an Administrator CMD.EXE prompt:
mklink Link Target
or mklink /D LinkDir TargetDir
- create backups of a disk:
dd if=/dev/sda status=progress | zstd > image.img.zst
- restore backups of a disk:
zstdcat image.img.zst | dd of=/dev/sda status=progress
- a collection of tiled backgrounds.
- Transparent Textures.
essays & things.