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 | |
export PATH=$PATH:/sbin | |
# temporarily disable ipv6 | |
/sbin/sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
/sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1 | |
clear | |
############## |
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/sh | |
### BEGIN INIT INFO | |
# Provides: datacenter-gateway | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: NAT Network & firewall scripts | |
# Description: apply the initialization of local NAT Network definition & firewall scripts at boot time. | |
# Author: eRQee ([email protected]) |
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
function applycss(css){ | |
var head = document.getElementsByTagName('head')[0]; | |
var s = document.createElement('style'); | |
s.setAttribute('type', 'text/css'); | |
s.appendChild(document.createTextNode(css)); | |
head.appendChild(s); | |
} | |
applycss(` | |
:root:not(#z), | |
.dark:not(#z) { |
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
clear | |
############## | |
# Am I root? # | |
############## | |
if [ "x$(id -u)" != 'x0' ]; then | |
echo 'Error: this script can only be executed by root.' | |
echo 'Try re-run the script after switched to root account by type "sudo su"' | |
exit 1 | |
fi |
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
#EXTM3U | |
#EXTINF:0,Andika FM | |
#EXTVLCOPT:network-caching=1000 | |
http://stream2.andikafm.com:1057/andikafm | |
#EXTINF:0,Ardan Radio | |
#EXTVLCOPT:network-caching=1000 | |
http://listento.ardanradio.com:1059/; | |
#EXTINF:0,Attaqwa FM | |
#EXTVLCOPT:network-caching=1000 | |
http://103.28.148.18:8840/; |