From bb55ac55c8086cd10d2ab33030ddfb47215d54bc Mon Sep 17 00:00:00 2001 From: dataprolet Date: Fri, 15 Mar 2024 11:44:08 +0000 Subject: [PATCH] Added random things. --- ocrmypdf-script.sh | 10 ++++++++++ really-random-tips.md | 7 ++++++- software.md | 14 ++++++++++++-- 3 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 ocrmypdf-script.sh diff --git a/ocrmypdf-script.sh b/ocrmypdf-script.sh new file mode 100644 index 0000000..a0f5d4b --- /dev/null +++ b/ocrmypdf-script.sh @@ -0,0 +1,10 @@ +#!/bin/bash +echo "Please select a file to OCR:" +IFS=$'\n' +files=( $(ls | grep pdf) ) +declare -a files +select file in ${files[*]} +do +break +done +ocrmypdf -l deu+eng -d -c $file "${file%.*}"-OCR.pdf diff --git a/really-random-tips.md b/really-random-tips.md index 8af132f..b5802ce 100644 --- a/really-random-tips.md +++ b/really-random-tips.md @@ -1,3 +1,8 @@ ## Most random tips I could think of: -1. Firefox has an about.about section, listing all other about:X pages. \ No newline at end of file +1. Firefox has an about.about section, listing all other about:X pages. +2. Clean your Arch system: `sudo pacman -Qttdq | sudo pacman -Rnsscu -` +3. Ferment lemons in salt. +4. Enable TRIM: `systemctl enable fstrim.timer` +5. https://github.com/ibraheemdev/modern-unix +6. Chatbots: https://www.flowgpt.com/chat; https://perplexity.ai \ No newline at end of file diff --git a/software.md b/software.md index 1481d0c..3cb1f19 100644 --- a/software.md +++ b/software.md @@ -1,7 +1,17 @@ -## Random sotware recommendations +## Random software recommendations - Mobile browser: Mull - Deduplication: Czkawka - Ventoy - Nala -- https://wiki.archlinux.org/title/LibreOffice#Grammar_checking \ No newline at end of file +- https://wiki.archlinux.org/title/LibreOffice#Grammar_checking +- Media sorting: phockup +- Backup: Borg +- Firmware update: fwupd +- Analyse pishing mails: ThePhish +- OCR: OCRmyPDF +- Upscal images: Upscaly +- Send files: croc +- Hosting: pgs.sh +- LLM: ollama +- VPN: Tailscale \ No newline at end of file