This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## this script parses *.aux files (LaTeX/bibtex temporary files) in | |
## the current directory, extracts cited references and re-generates | |
## a bibtex-file | |
RESULTFILE=newreferences.bib | |
handle_outputfile_found() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## this script parses *.aux files (LaTeX/bibtex temporary files) in | |
## the current directory, extracts cited references and re-generates | |
## a biblatex-file | |
RESULTFILE=newreferences.bib | |
REFERENCESTMPFILE=`mktemp` | |
TMPFILE=`mktemp` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from distutils.core import setup | |
# Always prefer setuptools over distutils | |
from setuptools import setup, find_packages | |
# To use a consistent encoding | |
from codecs import open | |
from os import path | |
# workaround from https://github.com/pypa/setuptools/issues/308 to avoid "normalizing" version "2018.01.09" to "2018.1.9": | |
import pkg_resources |
\** `(my-capture-prompt “First name” ‘my-firstname)` `(my-capture-prompt “Last name” ‘my-lastname)` :`(my-capture-insert ‘my-firstname)“(my-capture-insert ‘my-lastname)`:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
OlderNewer