-
smart card reader supported by GnuPG
I use [0.332][4], a mod of the [SCM332 V2][1] which is comparatively light and small. Previously, I was simply using the SCM332 V2 directly with an OTG adapter.
-
root access from Termux
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
#!/usr/bin/perl | |
# All URLs of the format <http://f76.eu/a*> are for identifying my | |
# documents. See: http://f76.eu/a0 | |
# | |
# This script finds all files when run from the root of the directory | |
# tree with my documents. | |
# Example confguration `~/.config/parse_docurls.conf`: | |
# |
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
#!/usr/bin/perl | |
# Run without parameters to see usage. | |
# Felix E. Klee <felix.klee@inka.de> | |
use strict; | |
use warnings; | |
use Image::ExifTool qw(:Public); | |
use File::Find; |
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 | |
# Felix E. Klee <felix.klee@inka.de> | |
if [ $# -ne 2 ]; then | |
cat <<EOF | |
Usage: $0 GPSDIR DIR | |
Geotags image files in DIR using GPS tracks stored in GPSDIR. The | |
tags are added in Exif data. Files that already are geotagged are not |
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
#!/usr/bin/perl | |
# Traverses media files in the specified directory tree. | |
# Prepends the media creation time as a time stamp in the format | |
# "%HH%MM%SS_" to each media file name where the data is | |
# available. The time is local time. | |
# What looks like an existing time stamp is replaced. |
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 | |
# Creates a backup of my machine: linux.f76.eu | |
# Felix E. Klee <felix.klee@inka.de> | |
LANG="en_US" # Sets locale to US english | |
BACKUP_DIR=~/"Dropbox/Temp Backup/Internet/linux.f76.eu/" | |
BACKUP_FILE="backup.tar.gpg" | |
echo "Making backup to" |
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 | |
# Felix E. Klee <felix.klee@inka.de> | |
MSLINK=mslink_v1.3.sh | |
DROPBOX_DIR="/mnt/c/Users/Felix/Dropbox" | |
DROPBOX_WIN_DIR='C:\Users\Felix\Dropbox' | |
HOME_DIR="/home/felix" | |
HOME_WIN_DIR='\\wsl.localhost\Ubuntu\home\felix' |
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 | |
# Depends on: | |
# | |
# * Mikaël Le Bohec's [mslink][1], and | |
# | |
# * my [winpath][2]. | |
# | |
# [1]: http://www.mamachine.org/mslink/index.en.html | |
# [2]: https://gist.github.com/feklee/678c630aa7f84ceda1c766333b37e7d3 |
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 | |
# Sorts media files into directories by the date when they were | |
# created. There is no time zone conversion: Many media files don't | |
# contain a time zone, or they default to UTC. | |
# Felix E. Klee <felix.klee@inka.de> | |
shopt -s nullglob |
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 | |
# Felix E. Klee <felix.klee@inka.de> | |
set -e | |
# Usage info | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} PGP_ENCRYPTED_PDF NEW_PDF PGP_ENCRYPTED_RESULT |
NewerOlder