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
always_on_subgrid_rgba: | |
- 1.0 | |
- 1.0 | |
- 1.0 | |
- 0.1 | |
always_show_subgrid: true | |
app_version: 0.2.1 | |
background_rgba: | |
- 0.0 | |
- 0.0 |
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 | |
# Update (or install) the latest NextCloud AppImage | |
# Optimized for Debian/Ubuntu + GNOME | |
# ffflorian 2021 | |
set -e | |
SCRIPT_NAME="${0##*/}" | |
INSTALL_DIR="/opt/nextcloud" | |
APPIMAGE_FILE="nextcloud.AppImage" |
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
// -- Unwrapping values from an array inside an interface -- | |
type Person = { | |
name: string; | |
birthDate?: string; | |
age: number; | |
hobbies: Array<{ title: string; location: string }> | |
} | |
type DeArrayify<A> = A extends Array<infer T> ? T : A; |
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
name: Notify on Pull Request | |
on: | |
pull_request: | |
branches: [dev] | |
jobs: | |
send_notification: | |
runs-on: ubuntu-latest |
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
||widgets.opinary.com/* | |
||widgets.outbrain.com/* | |
||ytwkco.com/$subdocument | |
||accounts.google.com/gsi/$3p | |
en.wikipedia.org##.banner | |
heise.de###usercentrics-button | |
techstage.de###usercentrics-button | |
dict.cc###snigel-cmp-framework | |
tagesspiegel.de###opinary-iframe |
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 | |
# Update (or install) the latest Bitwarden | |
# Optimized for Debian/Ubuntu + GNOME | |
# ffflorian 2019 | |
set -e | |
SCRIPT_NAME="${0##*/}" | |
INSTALL_DIR="/opt/Bitwarden" | |
EXEC_BIN="${INSTALL_DIR}/bitwarden" |
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
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost |
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 sh | |
SCRIPT_NAME="${0##*/}" | |
SSH_USER="${USER}" | |
KEY_DIR="${HOME}/.ssh" | |
KEY_TYPE="ed25519" | |
HOSTNAME="$(hostname)" | |
_log() { | |
[ "${QUIET}" != "quiet" ] && echo "[$(date +'%Y-%m-%d %H:%M:%S')] ${1}" |
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 | |
###### Configuration ################################ | |
USER="" | |
PASSWORD="" | |
IP_PROVIDER="ip4.ident.me" | |
##################################################### | |
INWX_API="https://dyndns.inwx.com/nic/update" |
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 | |
ERROR_FILE="$(mktemp)" | |
ERRORS="" | |
SEPERATOR="\\n\\e[90m-----------------------\\e[0m\\n" | |
# Change to script's directory to ensure we're in the correct folder. | |
# http://stackoverflow.com/questions/3349105/how-to-set-current-working-directory-to-the-directory-of-the-script | |
cd "${0%/*}" || exit 1 |
NewerOlder