This file contains hidden or 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
| hardstatus alwayslastline | |
| hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
| # huge scrollback buffer | |
| defscrollback 5000 | |
| # no welcome message | |
| startup_message off | |
| # 256 colors |
This file contains hidden or 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/env bash | |
| # | |
| # Reads AirTag data from the FindMy.app cache and converts it to a daily GPX file | |
| # | |
| # Rsyncs the data to a web accessible folder that can be displayed with e.g. | |
| # https://gist.github.com/henrik242/84ad80dd2170385fe819df1d40224cc4 | |
| # | |
| # This should typically be run as a cron job | |
| # |
This file contains hidden or 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
| if [ -z ${KEYID+x} ]; then | |
| echo "KEYID is unset, Please Set $KEYID to your pgp keyID" | |
| exit 1 | |
| fi | |
| if [ -z ${KEYSERVER+x} ]; then | |
| echo "KEYSERVER is unset, Please Set $KEYSERVER to your were your public key is stored" | |
| exit 1 | |
| fi | |
| today=$(date '+%Y-%m-%d') |
This file contains hidden or 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
| # https://github.com/drduh/config/blob/master/gpg.conf | |
| # https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html | |
| # https://www.gnupg.org/documentation/manuals/gnupg/GPG-Esoteric-Options.html | |
| # Use AES256, 192, or 128 as cipher | |
| personal-cipher-preferences AES256 AES192 AES | |
| # Use SHA512, 384, or 256 as digest | |
| personal-digest-preferences SHA512 SHA384 SHA256 | |
| # Use ZLIB, BZIP2, ZIP, or no compression | |
| personal-compress-preferences ZLIB BZIP2 ZIP Uncompressed | |
| # Default preferences for new keys |
This file contains hidden or 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
| # $OpenLDAP$ | |
| ## This work is part of OpenLDAP Software <http://www.openldap.org/>. | |
| ## | |
| ## Copyright 2004-2014 The OpenLDAP Foundation. | |
| ## All rights reserved. | |
| ## | |
| ## Redistribution and use in source and binary forms, with or without | |
| ## modification, are permitted only as authorized by the OpenLDAP | |
| ## Public License. | |
| ## |
This file contains hidden or 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 | |
| # Install Docker | |
| curl -sSL get.docker.com | sh && \ | |
| sudo usermod pi -aG docker | |
| # Disable Swap | |
| sudo dphys-swapfile swapoff && \ | |
| sudo dphys-swapfile uninstall && \ | |
| sudo update-rc.d dphys-swapfile remove |