Skip to content

Instantly share code, notes, and snippets.

@Boia11
Boia11 / Windows_Check system integrity.txt
Created May 10, 2022 07:58
Windows - Check system integrity
### USE WITH CMD WITH ADMIN PERMISSION (Start - CMD - Run as Administrator) ###
#1 - First repair image and files of OS
DISM /Online /Cleanup-Image /RestoreHealth
#2 - Fix OS
sfc /scannow
@Boia11
Boia11 / Cloudflare_Restoring original visitor IPs_NGINX.txt
Last active May 9, 2022 22:39
Cloudflare - Restoring original visitor IPs - NGINX or NGINX Proxt Manager
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 188.114.96.0/20;
set_real_ip_from 197.234.240.0/22;
set_real_ip_from 198.41.128.0/17;
@Boia11
Boia11 / Install_Debian_on_Iomega_Lenovo_EZ
Last active July 14, 2019 22:35
Debian stretch on Iomega|Lenovo EZ Media
# # STEP 1 - Debian x64 on Oracle VirtualBox
# Run Debian x64 on VirtualBox and open terminal
user@ubuntu:~$ sudo su
root@ubuntu:/home/user# apt-get install u-boot-tools parted gdisk -y
# Main working directory
root@ubuntu:/home/user# mkdir iomegaez
root@ubuntu:/home/user# cd iomegaez
# Download files
root@ubuntu:/home/user/iomegaez# wget https://www.dropbox.com/s/wsyuzr69se20um2/Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2
root@ubuntu:/home/user/iomegaez# wget wget https://forum.doozan.com/file.php?2,file=1456,filename=kirkwood-lenovo-iomega-ez.dtb,download=1 -O kirkwood-lenovo-iomega-ez.dtb