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
# >> Block Torrent Port | |
iptables -A FORWARD -p tcp --dport 6881:6889 -j DROP | |
iptables -A FORWARD -p udp --dport 6881:6889 -j DROP | |
iptables -A FORWARD -p tcp --dport 6969 -j DROP | |
iptables -A FORWARD -p udp --dport 6969 -j DROP | |
iptables -A FORWARD -p tcp --dport 51413 -j DROP | |
iptables -A FORWARD -p udp --dport 51413 -j DROP | |
iptables -A FORWARD -p tcp --dport 27014:27050 -j DROP | |
iptables -A FORWARD -p udp --dport 27014:27050 -j DROP | |
iptables -A FORWARD -p udp --dport 4444 -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
#!/bin/bash | |
if [[ $(whoami) != 'root' ]]; then | |
echo "Please run this script as root (or with sudo)." | |
exit 1 | |
fi | |
read -p "New Password [or press Enter to generate a random password]: " newpass | |
if [[ -z "${newpass}" ]]; then | |
newpass=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 12) |
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
Step 1 | |
# >> Boot into rescue | |
Step 2 | |
# >> Install xfce4 and required packages | |
apt update -y | |
apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils -y | |
apt install gparted filezilla grub2 wimtools -y | |
echo "exec startxfce4" > ~/.xinitrc | |
startx > ~/startx.log 2>&1 & |
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
auto lo | |
iface lo inet loopback | |
auto he-ipv6 | |
iface he-ipv6 inet6 tunnel | |
address xxxx:xxx:xx:xxx::2/128 | |
gateway xxxx:xxx:xx:xxx::1 | |
mode sit | |
endpoint xxx.xxx.xxx.xxx | |
local xxx.xxx.xxx.xxx |
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
Cara saya debloat pada hp saya | |
1. Install platform tools terlebih dahulu | |
2. Nyalakan OPSI Developer dan nyalakan USB Debug | |
3. Silakan buka adb di platform tools kemudian ketik | |
adb devices | |
4. Jika sudah terdeteksi bisa ketik lagi |
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
deleteAllRecords(); | |
async function deleteAllRecords() { | |
let e; | |
filterEditButtons().forEach((e) => e.click()); | |
while (e = filterDeleteButtons()[0]) { | |
e.click(); | |
await confirmDelete(); | |
} | |
} |
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
# >> Step 1 [ Install required ] | |
apt update -y && apt install qemu-system-x86 -y | |
# >> Step 2 [ Download OS ISO ] | |
wget -O os.iso 'ISO LINK' | |
wget -O virtio.iso 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso' | |
# >> Step 3 [ Create Disk for QEMU ] | |
qemu-img create -f raw disk.img 5G |
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
Guides to resize partition | |
1. Run CMD as Administrator | |
2. disable reagent use : reagentc /disable | |
3. Type diskpart in the cmd | |
list disk | |
sel disk [yourwindows] | |
list part | |
sel part [winreindex] |