Updated: 15 March 2026
docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/latex README.md -o README.pdf
Freelance software engineer United Kingdom
Updated: 15 March 2026
docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/latex README.md -o README.pdf
Updated: 31 January 2026
Lists all the available remotes from the config file
rclone listremotes
Lists directories in the remote aws_s3
rclone lsd aws_s3:
List the supported providers
rclone config providers
For my_remote, show the contents of migration/videos in tree format
rclone tree my_remote:migration/videos
Updated: 26 November 2025
Command-line OCR engine.
Transfer the characters in an image to a text file
tesseract the_image.jpg dir/the_image
Updated: 04 November 2025
Install on Linux
snap install yq
Convert yaml to json
yq --input-format yaml --output-format json read_me.yml
Updated: 04 October 2025
Read from standard input and write to standard output and files.
Find, from the root, all directories with ‘vim’ in their name. Send all non-error output simultaneously to std-out and a file
find / -type d -iname '*vim*' 2> /dev/null | tee find-results.txt
Updated: 03 September 2025
Change the file extension on all .csv files in the current dir to .txt
rename 's/\.csv$/\.txt/' *.csv
Updated: 03 December 2025
Download a file
wget https://code.jquery.com/jquery-3.6.0.min.js
Download a file and rename
wget -O /put/here/new_name.js https://code.jquery.com/jquery-3.6.0.min.js
Updated: 23 September 2024
Build and execute command lines from standard input.
Display the contents of all files called conn.cfg.php
find . -name 'conn\.cfg\.php' | xargs cat
Updated: 12 February 2026
Compare two files ignoring spaces and tabs (but not newlines, seemingly)
diff -w file1.csv file2.csv
Compare two directories
diff --brief --recursive ~/Desktop/bu ~/docs
Compare two directories but ignore differences in /.git
diff --brief --recursive ~/code/ai-client/ ~/code/ai-client/ | sed '/\/\.git/d'