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 | |
# Install shadowsock2 service. | |
# Tested on Fedora34 | |
read -p 'Listening Port (443 recommended): ' ssport | |
read -s -p 'Password: ' sspw | |
echo "SHADOWSOCK_PORT=${ssport}" > /root/.shadowsock.env | |
echo "SHADOWSOCK_PASSWORD=${sspw}" >> /root/.shadowsock.env |
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
[Unit] | |
Description=Load %I encryption keys | |
Before=systemd-user-sessions.service zfs-mount.service | |
After=zfs-import.target | |
Requires=zfs-import.target | |
DefaultDependencies=no | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes |
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
// ==UserScript== | |
// @name AmazonSmile Redirect | |
// @namespace http://jdel.us | |
// @description Redirect Amazon to AmazonSmile | |
// @include /^http://.*\.amazon\.(de|com)// | |
// @include /^https://.*\.amazon\.(de|com)// | |
// @version 0.6 | |
// @grant none | |
// ==/UserScript== | |