From 39137e6afc4f5471adac69a5b561c902053a288d Mon Sep 17 00:00:00 2001 From: Mama Raca Date: Thu, 22 Jan 2026 17:09:27 +0100 Subject: [PATCH] grouped by language, added readme, added .gitignore --- .gitignore | 1 + README.md | 0 daily-review.sh => bash/daily-review.sh | 9 ++++++--- .../fail2ban-abuseipdb-check.sh | 0 pve-netbox-diff.sh => bash/pve-netbox-diff.sh | 0 zola-deploy.sh => bash/zola-deploy.sh | 0 6 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 README.md rename daily-review.sh => bash/daily-review.sh (90%) rename fail2ban-abuseipdb-check.sh => bash/fail2ban-abuseipdb-check.sh (100%) rename pve-netbox-diff.sh => bash/pve-netbox-diff.sh (100%) rename zola-deploy.sh => bash/zola-deploy.sh (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..afed073 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.csv diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/daily-review.sh b/bash/daily-review.sh similarity index 90% rename from daily-review.sh rename to bash/daily-review.sh index b85f632..401cb1d 100644 --- a/daily-review.sh +++ b/bash/daily-review.sh @@ -27,9 +27,12 @@ verify_paths(){ if [ ! -f "$WEEK_LOG" ]; then touch "$WEEK_LOG" cat >> "$WEEK_LOG" << EOF -#-*- mode: org -*- -#+STARTUP: showall +#+LaTeX_CLASS: article +#+LATEX_HEADER: \usepackage[a4paper,margin=2cm]{geometry} +#+title: Kratki dnevnik - teden $(date +%V), $(date +%Y:w) EOF + gpg --recipient you@example.com --encrypt "$WEEK_LOG" + rm -f "$WEEK_LOG" fi } @@ -77,4 +80,4 @@ cat >> "$WEEK_LOG" << EOF ** Kaj sem danes naredil? EOF -emacs -nw "$WEEK_LOG" +emacs -nw "$WEEK_LOG".gpg diff --git a/fail2ban-abuseipdb-check.sh b/bash/fail2ban-abuseipdb-check.sh similarity index 100% rename from fail2ban-abuseipdb-check.sh rename to bash/fail2ban-abuseipdb-check.sh diff --git a/pve-netbox-diff.sh b/bash/pve-netbox-diff.sh similarity index 100% rename from pve-netbox-diff.sh rename to bash/pve-netbox-diff.sh diff --git a/zola-deploy.sh b/bash/zola-deploy.sh similarity index 100% rename from zola-deploy.sh rename to bash/zola-deploy.sh