I hereby claim:
- I am mattconnell on github.
- I am mattconnell (https://keybase.io/mattconnell) on keybase.
- I have a public key ASBf5aXUXDZf3tkAdMHBhvgoEyDw4eMG2huAMK8P9SLdEgo
To claim this, I am signing this object:
| <?php | |
| // Digest exported wallabag JSON and re-import it, | |
| // since the built-in importer is broken. | |
| // CONFIGURATION // | |
| // Secrets file, for your API keys | |
| define('WALLABAG_SECRETS', 'wallabag-secrets.php'); |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -e | |
| ### Setup | |
| # List of formats to convert. | |
| SOURCEFORMATS="m4a ogg opus" | |
| # Desired outcome format |
| #!/bin/bash | |
| # Setup | |
| CONTAINER="sorccu/adb" | |
| CONTAINERNAME="adbd" | |
| HOSTDIR="$HOME/Downloads/" | |
| CONTDIR="/mnt/" | |
| # Fetch latest version first. | |
| echo "Pulling latest version of ${CONTAINER}..." |
| #!/bin/sh | |
| # Pull the latest version because we always want it. | |
| echo "Attempting to pull latest container version..." | |
| docker pull jacobalberty/unifi:latest | |
| # Run the container. | |
| echo "Starting container..." | |
| docker run \ | |
| --rm \ |
| #!/bin/sh | |
| ### Setup ### | |
| REPO_SERVER="rsync.net" | |
| REPO_NAME="detroit" | |
| REPO_PATH="${REPO_SERVER}:${REPO_NAME}" | |
| # Get the date+timestamp | |
| CURDATE="$(date -I)-$(date +%s)" |
| #!/bin/bash | |
| echo "Converting all wav files to liblame-encoded mp3s." | |
| for i in *.wav ; do | |
| echo -n "Processing file $i... " | |
| ffmpeg -loglevel error -i "$i" -acodec mp3 "${i//\.wav/}".mp3 | |
| echo "Done." | |
| done |
| #!/usr/bin/python | |
| from sys import argv | |
| import pyqrcode | |
| print( pyqrcode.create(argv[1]).terminal() ) |