Skip to content

Instantly share code, notes, and snippets.

View shiwildy's full-sized avatar
🤡
Learning...

Wildy Sheverando shiwildy

🤡
Learning...
View GitHub Profile
@shiwildy
shiwildy / sources.list
Created October 28, 2025 16:47
Debian 12 sources list
deb https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
@shiwildy
shiwildy / sources.list
Created August 26, 2025 10:24
Debian 13 Trixie complete sources.list
deb https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-backports contrib main non-free non-free-firmware
@shiwildy
shiwildy / fix-onedrive.reg
Created August 17, 2025 13:05
Fixing OneDrive icon in Windows File Explorer
Windows Registry Editor Version 5.00
;; Remove Explorer registry
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{04271989-C4D2-4111-921E-83C30B6B48A6}]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{04271989-C4D2-DDB7-C5BA-7EAF45FB00D5}]
;; Remove exist registry
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}]
@shiwildy
shiwildy / Rescue using Debian Live from kexec.sh
Last active July 9, 2025 06:42
Rescue using Debian Live from kexec
# >> Install kexec
apt install kexec-tools -y
# >> Create dir
mkdir -p /rescue
mkdir -p /rescue/iso
# >> Download systemrescue iso
wget -O /rescue/rescue.iso 'https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.11.0-amd64-standard.iso'
mount -o loop /rescue/rescue.iso /rescue/iso
@shiwildy
shiwildy / torrent-block-iptables.sh
Created January 27, 2025 17:07
IPTables rules used to block torrent traffic
# >> 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
@shiwildy
shiwildy / ssh-enabler.sh
Last active January 27, 2025 08:56
Simple Bash script to enable ssh remote in Linux server
#!/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)
@shiwildy
shiwildy / win-install-on-cloud-not-support-windows.txt
Last active September 6, 2025 12:45
Tutor install windows di cloud yang tidak mendukung windows.
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 &
@shiwildy
shiwildy / proxmox-natipv4-pubhetunnel.conf
Created November 24, 2024 11:22
Proxmox configuration with Dual-Stack Networking, IPv4 NAT and Public IPv6 via Hurricane Electric Tunnel Broker
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
@shiwildy
shiwildy / caradebloat-app-bawaan-adb-shell.txt
Last active March 21, 2025 09:12
Cara debloat App bawaan menggunakan adb
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
@shiwildy
shiwildy / script-to-bulk-delete-cloudflare-record.js
Created October 28, 2024 01:56
Script to bulk delete cloudflare record
deleteAllRecords();
async function deleteAllRecords() {
let e;
filterEditButtons().forEach((e) => e.click());
while (e = filterDeleteButtons()[0]) {
e.click();
await confirmDelete();
}
}