Useful-scripts/README.md
2025-02-20 15:10:28 +01:00

780 B

Useful-scripts

My collection of useful shell scripts.

killwine.sh

kill every wine process including processes hanging

webptogif.sh

convert animated .webp at $1 (path) to a gif

get_matrix_access_token.sh

args:

  • $1 username
  • $2 password
  • $3 subdomain (synapse.example.org)
    returns a matrix access token

convert_md_to_pdf.sh

(need to be used with listings-setup.tex in the same folder, xelatex and pandoc are required)
convert infile.md in the current folder to a pdf file (outfile.pdf) with code blocks in red boxes.

flatten.sh

move all the files in $1 subdirectories to $1.
Careful, this operation is irreversible and manually moving back all the files to where they were supposed to be will be a pain if you flatten your home folder.