tech snippets.
reference material.
- ascii table.
- markdown cheatsheet.
- project euler, programming puzzles.
- a list of simple programming problems.
clever hacks.
useful tools.
- system font stack.
- 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.
- python tool to check markdown sites for dead links.
Invoke recursively on a directory of markdown files like this:linkcheckMarkdown -r .
- 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'