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
<html> | |
<body> | |
<style> | |
[data-custom-class='body'], [data-custom-class='body'] * { | |
background: transparent !important; | |
} | |
[data-custom-class='title'], [data-custom-class='title'] * { | |
font-family: Arial !important; | |
font-size: 26px !important; | |
color: #000000 !important; |
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
// Dear programmer: | |
// When I wrote this code, only god and | |
// I knew how it worked. | |
// Now, only god knows it! | |
// | |
// Therefore, if you are trying to optimize | |
// this routine and it fails (most surely), | |
// please increase this counter as a | |
// warning for the next person: | |
// |
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 | |
mv /etc/resolv.conf.orig /etc/resolv.conf | |
echo "[down] restoring old resolvconf" |
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 | |
# update all containers | |
# execute on host | |
# list of container ids we need to iterate through | |
containers=$(pct list | tail -n +2 | cut -f1 -d' ') | |
function update_container() { | |
container=$1 | |
echo "[UPDATER] Updating $container..." |
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=JDownloader Service | |
After=network.target | |
[Service] | |
ExecStart=java -jar JDownloader.jar | |
WorkingDirectory=/root/jd | |
StandardOutput=inherit | |
StandardError=inherit | |
Restart=always | |
User=root |