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 Firefox | |
# Optimized for Debian + GNOME | |
# ffflorian 2017 | |
set -e | |
SCRIPT_NAME="${0##*/}" | |
INSTALL_DIR="/opt/firefox" | |
EXEC_BIN="${INSTALL_DIR}/firefox" |
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 | |
# Convert kmz to kml | |
# @ffflorian, 2017 | |
# Exit on error | |
set -eu | |
if ! command -v "7z" > /dev/null; then | |
echo >&2 "Could not find 7z. Exiting." | |
exit 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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+shift+o", | |
"command": "workbench.action.files.openFolder" | |
}, | |
{ | |
"key": "ctrl+[IntlBackslash]", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, |
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 | |
# Build script for https://github.com/wireapp/coax | |
set -e | |
RUSTUP_SCRIPT_REMOTE="https://sh.rustup.rs" | |
RUSTUP_SCRIPT_LOCAL="install_rust.sh" | |
COAX_REPO="https://github.com/wireapp/coax.git" |
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
# Wire build and installation for Debian x64 | |
# Created by @ffflorian (https://github.com/ffflorian) | |
# Licensed under the MIT license. | |
# Prerequisites: | |
# * You need npm, git, g++ and dpkg. | |
# * You need to clone https://github.com/wireapp/wire-desktop. | |
# Usage: Run it in the folder of the wire-desktop repo. |
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 | |
# Print or browse a git repository's URL. | |
# @ffflorian, 2016 | |
# MIT License | |
set -e | |
SCRIPT_NAME="${0##*/}" | |
_print_usage() { |
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
# Create at /etc/systemd/system/ or ~/.config/systemd/user/ | |
# Enable with systemctl enable appname.service | |
# Start with systemctl start appname.service | |
[Unit] | |
Description=Appname | |
# wait for network | |
After=network.target | |
[Service] |
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
/* | |
* 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'; |
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 | |
# Usage: dynv6.sh --token TOKEN --name NAME1,NAME2 | |
# Created by @ffflorian (https://github.com/ffflorian) | |
# Licensed under the MIT license. | |
SCRIPT_NAME="${0##*/}" | |
_print_usage() { | |
cat <<EOF |