Skip to content

Instantly share code, notes, and snippets.

View mniehe's full-sized avatar

Mark Niehe mniehe

View GitHub Profile
@mniehe
mniehe / dt_raw_autoexport.sh
Created June 19, 2022 03:36 — forked from crapp/dt_raw_autoexport.sh
Darktable cli convert all files in provided locations
#!/usr/bin/env bash
# Simple bash script to automate raw conversion using darktable cli
# Copyright © 2021 C. Rapp
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#!/bin/bash
# This script backs up files using restic and sends emails on success or errors.
#
# Files that the script expects:
# /usr/local/etc/restic/repo.env: shell variables that define the restic repository
# /usr/local/etc/restic/include.txt: paths to back up
# /usr/local/etc/restic/exclude.txt: paths to not include in the backup, even if they are in include.txt
#
# Inspired by https://gist.github.com/perfecto25/18abbd6cfbaa4e9eb30251470e9b7504
@mniehe
mniehe / hosts.txt
Created October 28, 2021 21:52 — forked from Luro02/hosts.txt
A blocklist for the Amazon Fire devices, that should block (some) telemetry...
# Amazon Fire (HD 8) Blocklist (V.1.0)
#
# Constribute:
# please make a comment under this gist and I'll add it after checking to this list.
#
# Constributions by:
# Luro02
#
# Credits:
# https://forum.xda-developers.com/amazon-fire/general/how-to-block-updates-via-router-t3640267