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
name: Notify on Pull Request | |
on: | |
pull_request: | |
branches: [dev] | |
jobs: | |
send_notification: | |
runs-on: ubuntu-latest |
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
/** | |
* Read Spiegel Online Plus Articles, hidden behind a rot(1) "encryption" | |
* and a blur filter. | |
* Just copy this and paste it into your browser's console (press F12) - | |
* or use the minified version, see comments below. | |
* Try it out on any article at http://www.spiegel.de/spiegelplus/. | |
* | |
* @ffflorian, 2016 | |
*/ |
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/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 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 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 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 | |
HARDDRIVE=/dev/sdb2 | |
BITLOCK_MOUNT=/media/bitlocker | |
DECRYPTED_MOUNT=/media/mount | |
USAGE="Usage: dislock [options] | |
Options: | |
-k, --recoverykey KEY The BitLocker recovery key to use for mounting | |
-u, --umount Unmount the mounted BitLocker volume |
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
// -- 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 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 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
Show hidden characters
[ | |
{ "keys": ["f12"], "command": "save_all" }, | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+shift+r"], "command": "revert_all" }, | |
{ "keys": ["ctrl+up"], "command": "swap_line_up" }, | |
{ "keys": ["ctrl+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} }, | |
] |
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
/* | |
* Simple OpenPGP.js example with Promises for node.js | |
* See: https://github.com/openpgpjs/openpgpjs | |
*/ | |
'use strict'; | |
const fs = require('fs'); | |
const openpgp = require('openpgp'); | |
const keyFile = 'pubkey.asc'; |
NewerOlder