Skip to content

Instantly share code, notes, and snippets.

View AtjonTV's full-sized avatar

AtjonTV AtjonTV

View GitHub Profile
@AtjonTV
AtjonTV / blocklist.rsc
Last active September 4, 2025 16:15
Mikrotik Provider AS/Subnet Blocklist. This is a list of Providers whose IP-Addresses are used for TCP/UDP/DNS Flooding. USE AT YOUR OWN RISK.
/ip firewall address-list remove [find list=ProviderBlocklist]
/ip firewall address-list
add address=103.230.147.0/24 comment="AS55720: DCNL HK" list=ProviderBlocklist
add address=31.56.123.0/24 comment="AS152672: Aiyun HK" list=ProviderBlocklist
add address=174.127.128.0/17 comment="Direct: Wave Broadband US" list=ProviderBlocklist
add address=103.138.72.0/22 comment="AS138997: Eons HK" list=ProviderBlocklist
add address=188.244.98.0/24 comment="AS50069: Misaka US" list=ProviderBlocklist
add address=205.198.64.0/19 comment="Direct: Eons HK" list=ProviderBlocklist
add address=203.168.240.0/22 comment="AS17497: HK Cable HK" list=ProviderBlocklist
add address=103.119.174.0/24 comment="AS151045: Yae HK" list=ProviderBlocklist
@AtjonTV
AtjonTV / update.sh
Last active August 11, 2025 12:34
Monster Adlist utility
#!/bin/bash
## Name: Monster Adlist
## Description: This script downloads different Domain lists for DNS based Adblocking.
## Files that need it, are modified from hosts format to a pure domain list.
## Additionally the dist files resulting include source references (for copyright/licensing)
## I have made this utility for usage in a MikroTik Router's "/ip/dns/adlist".
## Resulting "dist/*.patch" files are additive diffs against the previous script execution.
## These files are then simply uploaded and ADDED to the "/ip/dns/adlist" list.
## Installation: This only applies to MikroTik routers!
@AtjonTV
AtjonTV / WindowsSetup.txt
Last active October 10, 2024 15:31
Collection of infos/scripts to setup a Windows machine. (Just in case I ever need to touch Windows)
Administrator:
# winget source remove msstore
// Essentials
$ winget install Microsoft.WindowsTerminal
$ winget install Yubico.Authenticator
$ winget install LibreWolf.LibreWolf
// Development Tools
$ winget install Git.Git // or Microsoft.Git
@AtjonTV
AtjonTV / async.ts
Created July 24, 2024 06:31
runAsync is a simple and typed abstraction over Promise.all()
// Utility type to transform a type with Promise values to its resolved values
type AwaitedObject<T> = {
[K in keyof T]: Awaited<T[K]>;
};
type RunTypes<T> = {
Promises: {
[K in keyof T]: PromiseLike<T[K]> | undefined
},
Result: AwaitedObject<RunTypes<T>['Promises']>
@AtjonTV
AtjonTV / Osmium 64.md
Last active August 8, 2018 01:23
This Gist contains the full history of public Osmium 64 versions. Osmium 64 is a in Batch written Emulated "Operating System" by https://osmiumsoft.wordpress.com/ (This Gist contains the Original Software, we didn't made any changes!)

The contents and history of this file has been moved to the ATVG GitLab Server.

You can find the Repository with all public versions of Osmium 64 right here.