Skip to content

Instantly share code, notes, and snippets.

View ngadmini's full-sized avatar
🏠
Working from home

nGadimin ngadmini

🏠
Working from home
View GitHub Profile
@ngadmini
ngadmini / untrust.sh
Last active June 5, 2023 08:37
intended to reduce porn-domains as listed in https://trustpositif.kominfo.go.id/assets/db/domains_isp
#!/usr/bin/env bash
# TAGS
# untrust.sh v3.0
# https://gist.githubusercontent.com/ngadmini/49161c90fa82c4e0a2bf25d2a6709077/raw
# AUTHOR
# ngadimin@warnet-ersa.net
# https://github.com/ngadmini
# TL;DR
# intended to reducing adult domains, explicit adult-gambling domains, upperCase, non-ASCII, invalid-TLDs
# and domains ended with port number in the blacklisted domains as listed in : "$uri_1"
@ngadmini
ngadmini / porn.txt
Last active March 14, 2023 15:21
ancient blacklisted domains -shallalist- as a controle to reduce porn domains in https://github.com/ngadmini/Grabbing-Blacklist-for-Bind9-RPZ
This file has been truncated, but you can view the full file.
000000000gratisporno.ontheweb.nl
0.0.0.0.001.free.fr
0.0.0.0.002.free.fr
0.0.0.0.00.free.fr
0.0.0.005.free.fr
0.0.0.006.free.fr
0.0.0.0071.free.fr
0.0.0.008.free.fr
0.0.0.0.09.free.fr
0.0.0.009.free.fr
@ngadmini
ngadmini / pve_API2Subs_sed.sh
Last active November 13, 2023 09:32
remove naged subscription message on proxmox 7.x-x
#!/usr/bin/env bash
# TAGS
# /usr/local/bin/pve-API2Subs_sed.sh
# https://gist.github.com/ngadmini/7f9df377999cc78c1b58e361d5425ac4#file-pve_api2subs-sh
# AUTHOR
# ngadimin@warnet-ersa.net
# https://github.com/ngadmini
# https://gist.github.com/ngadmini
# VERSION
# v10.5
@ngadmini
ngadmini / firefox_update.sh
Last active June 9, 2023 18:00
Bash script for update/install Mozilla Firefox on Debian
#!/usr/bin/env bash
# TAGS
# firefox_update.sh V-4.3
# https://gist.github.com/ngadmini/522f482baacece8dfca570a113b28102
# AUTHOR
# ngadimin@warnet-ersa.net
# TL;DR
# install (system-wide installation) OR update to latest version of Mozilla Firefox
# suggestion NOPASSWD for sudo:
# echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers
@ngadmini
ngadmini / invalid_tlds_remover.sh
Last active June 19, 2023 21:14
tlds_validation.sh AND invalid_tlds_remover.sh
#!/usr/bin/env bash
# TAGS
# invalid_tlds_remover.sh v2.59
# AUTHOR
# ngadimin@warnet-ersa.net
# https://gist.github.com/ngadmini
# https://github.com/ngadmini
# TL;DR
# https://github.com/ngadmini/Grabbing-Blacklist-for-Bind9-RPZ/blob/196230c16a285a9c46748622749be98d9712543d/libs/grab_duplic.sh#L94