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
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 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 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 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 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 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),\ |
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 | |
# put in /opt/mouse.sh | |
# chmod a+rwx /opt/mouse.sh | |
# crontab -e | |
# @reboot sleep 5; bash /opt/mouse.sh & | |
gsettings set org.gnome.desktop.peripherals.mouse accel-profile flat | |
gsettings set org.gnome.desktop.peripherals.mouse speed 0 |
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 | |
# NOTE: Replace [OWN IP] and [TRUSTED IP] | |
sudo bash -c "echo 1 > /proc/sys/net/ipv4/ip_forward" | |
sudo iptables -F INPUT | |
sudo iptables -F FORWARD | |
sudo iptables -t nat -F | |
# Block all incoming |
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/perl -w | |
use IO::Socket ; | |
use IO::Handle ; | |
my $host = $ARGV[0] || "localhost"; | |
my $port = $ARGV[1] || 8000; | |
STDERR->autoflush(1); | |
STDOUT->autoflush(1); | |
my $data = ""; |