https://www.cheatsheet.wtf/Nano/
- useful prompt (when working in git repos):
# Show Git branch in the prompt
parse_git_branch() {
git branch 2>/dev/null | grep '*' | sed 's/* //'
| on run {input, parameters} | |
| tell application "System Events" | |
| key code 8 using command down | |
| delay 0.1 | |
| key code 53 | |
| key code 3 using command down | |
| key code 9 using command down | |
| end tell | |
| return input | |
| end run |
https://www.cheatsheet.wtf/Nano/
# Show Git branch in the prompt
parse_git_branch() {
git branch 2>/dev/null | grep '*' | sed 's/* //'
OQDS literature
([Luvisi’s work](https://www.unisalento.it/scheda-utente/-/people/andrea.luvisi
many info:
| tax explanation | FR | DE |
|---|---|---|
| 1st pillar | AVS/AI/APG | AHV / IV / EO |
| 2nd pillar | PP | BVG (Berufliche Vorsorge) |
| family allowance | AF | FZ (Familien zulagen) |
| #!/bin/bash | |
| # Argument passing and checking | |
| while getopts 't:r:' flag; do | |
| case "${flag}" in | |
| t) TARGETDIR="${OPTARG}" ;; | |
| r) REFDIR="${OPTARG}" ;; | |
| *) | |
| echo "usage: $0 [-t] [-r]" >&2 | |
| exit 1 |
| # suppress warining | |
| export BASH_SILENCE_DEPRECATION_WARNING=1 | |
| # # set PATH so it includes user's private bin if it exists | |
| if [ -d "$HOME/bin" ] ; then | |
| PATH="$HOME/bin:$PATH" | |
| fi | |
| # # don't put duplicate lines or lines starting with space in the history. | |
| # # See bash(1) for more options |