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