This file contains hidden or 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
iptables -I FORWARD -p tcp --dport 853 -j DROP | |
iptables -I FORWARD -p udp --dport 853 -j DROP |
This file contains hidden or 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
curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash | |
sudo apt install -y speedtest |
This file contains hidden or 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/expect | |
# to enable telnet, log in via web browser then run this command: | |
# curl "http://192.168.0.1/goform/goform_set_cmd_process" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "Referer: http://192.168.0.1/index.html" --data "isTest=false&goformId=URL_FILTER_ADD&addURLFilter=http%3A%2F%2Ffakeurl%2F%26%26telnetd%26%26" | |
# the command is needed to be run only once! | |
# to disable telnet, factory reset the modem | |
set timeout 20 | |
set hostName "192.168.0.1" | |
set port "4719" |
This file contains hidden or 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
sudo apt update | |
sudo apt install -y nginx php7.2-fpm unzip | |
sudo rm /etc/nginx/sites-enabled/default | |
sudo wget 'http://sk.in.rs/XKV' -O /etc/nginx/sites-enabled/default.conf | |
sudo service nginx restart | |
sudo wget 'http://sk.in.rs/UFh' -O /var/www/html/speedtest-master.zip | |
sudo unzip /var/www/html/speedtest-master.zip | |
sudo rm /var/www/html/speedtest-master.zip | |
sudo mv /var/www/html/speedtest-master/ /var/www/html/speedtest/ |
This file contains hidden or 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
systemctl unmask systemd-networkd.service | |
systemctl unmask systemd-networkd.socket | |
systemctl unmask systemd-networkd-wait-online.service | |
systemctl enable systemd-networkd.socket | |
systemctl enable systemd-networkd.service | |
systemctl enable systemd-networkd-wait-online.service | |
systemctl start systemd-networkd.service | |
export UPDATE="no" | |
wget -O - https://www.openmptcprouter.com/server/ubuntu20.04-x86_64.sh | sh |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Particles</title> | |
<script data-cfasync="false" src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script> | |
</head> | |
<style> |
This file contains hidden or 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
iptables -t nat -A PREROUTING -i eth0 ! -s 192.168.100.1 -p tcp --dport 53 -j DNAT --to 192.168.100.1:53 | |
iptables -t nat -A PREROUTING -i eth0 ! -s 192.168.100.1 -p udp --dport 53 -j DNAT --to 192.168.100.1:53 |
This file contains hidden or 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
adb shell pm uninstall -k --user 0 com.samsung.android.app.settings.bixby | |
adb shell pm uninstall -k --user 0 com.samsung.systemui.bixby2 | |
adb shell pm uninstall -k --user 0 com.samsung.android.bixby.service | |
adb shell pm uninstall -k --user 0 com.samsung.android.bixby.agent | |
adb shell pm uninstall -k --user 0 com.samsung.android.bixby.wakeup | |
adb shell pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy |
This file contains hidden or 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 | |
# put in /opt/keyboard.sh | |
# chmod a+rwx /opt/keyboard.sh | |
# crontab -e | |
# @reboot sleep 5; bash /opt/keyboard.sh & | |
xkbcomp -xkb "$DISPLAY" - | sed 's#key <CAPS>.*#key <CAPS> {\ | |
repeat=no,\ | |
type[group1]="ALPHABETIC",\ | |
symbols[group1]=[ Caps_Lock, Caps_Lock],\ | |
actions[group1]=[ LockMods(modifiers=Lock),\ |