This is a test file to play around with Org mode syntax based files and collaborative editing of them.
Feel free to modify this file.
Paragraphs are separated by at least one empty line.
#!/bin/sh | |
FILES="${@}" | |
USERTAG="@KarlVoit" | |
no_files_found() | |
{ | |
echo "No files found. Please do give me some Org-mode files as parameter" >&2 | |
exit 1 | |
} |
#!/bin/sh | |
FILENAME=$(basename $0) | |
DEBUG="true" ## if true, verbose debug output is activated | |
DEBUG="false" | |
ERRORFOLDER="unknown_destinations" ## if found as a sub-directory, all non-matching files are moved there | |
SIMULATE="true" ## if true, no files are moved | |
SIMULATE="false" | |
warn_and_exit() | |
{ |
#!/bin/sh | |
VERSION="Time-stamp: <2019-10-10 17:18:58 vk>" | |
## This script backups several things to a given target directory | |
## Initial tings to backup are taken from: | |
## https://www.debian.org/releases/stretch/amd64/release-notes/ch-upgrading.en.html | |
## -> "4.1.1. Back up any data or configuration information" | |
## «The main things you'll want to back up are the contents of /etc, /var/lib/dpkg, /var/lib/apt/extended_states and |
# -*- mode: snippet -*- | |
# name: LaTeX KOMA scrlttr2 | |
# key: tletter | |
# contributor: Karl Voit | |
# -- | |
From/Name: ${1:Firstname~Lastname} | |
From/Street: ${2:My~Street~23} | |
From/Postal No.: ${3:1234} | |
From/City: ${4:Graz} |
#!/bin/sh | |
## My one and only backup script for the future :-) | |
## Uses rsnapshot. | |
## | |
## Please do read this blog article about that script: https://Karl-Voit.at/2020/08/29/vkbackup/ | |
## | |
## --------------------------------------------------- | |
## | |
## Initial setup: |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
PROG_VERSION = "Time-stamp: <2022-03-13 22:56:40 vk>" | |
# TODO: | |
# - fix parts marked with «FIXXME» | |
# ===================================================================== ## | |
# You might not want to modify anything below this line if you do not ## |
\** `(my-capture-prompt “First name” ‘my-firstname)` `(my-capture-prompt “Last name” ‘my-lastname)` :`(my-capture-insert ‘my-firstname)“(my-capture-insert ‘my-lastname)`:
#!/bin/bash | |
## This script appends to ORGFILE when syncthing conflict files are located on the host. | |
## setup: | |
## 1. pip3 install appendorgheading https://github.com/novoid/appendorgheading | |
## 2. modify ORFGILE to match an Org mode file which is part of your agenda (in order to get notified). | |
## 3. create a cronjob entry for this script to run, e.g., daily. | |
HOSTNAME=$(uname -n) |
#!/bin/sh | |
## this script saves crontabs and misc things to a file | |
readonly SCRIPTNAME=$(basename $0) | |
readonly HOST=$(hostname) | |
OUTPUTDIR="${HOME}/archive/backup/" | |
[ "x$HOST" = "xHOSTX" ] && OUTPUTDIR="${HOME}/hosts/HOSTX/archive" | |
[ "x$HOST" = "xHOSTBUSINESS" ] && OUTPUTDIR="${HOME}/share/backup" |