Skip to content

Instantly share code, notes, and snippets.

View MarioGK's full-sized avatar
🎯
Focusing

Mario Gabriell Karaziaki MarioGK

🎯
Focusing
View GitHub Profile
@MarioGK
MarioGK / ReflectionBenchmark.cs
Last active July 3, 2025 20:12
Reflection vs JsonToDocument
public class TestObject
{
public string Name { get; set; } = string.Empty;
public int Age { get; set; } = 30;
public string OtherString { get; set; } = "Some other string";
public TestObject Clone()
{
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
Import-Module PSReadLine
Import-Module -Name Terminal-Icons # Install-Module -Name Terminal-Icons -Repository PSGallery
# Add .NET-specific predictors - uncomment if you have the module installed
#Import-Module PSFzf # Install-Module PSFzf -Repository PSGallery
#Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://v.firebog.net/hosts/static/w3kbl.txt
https://raw.githubusercontent.com/matomo-org/referrer-spam-blacklist/master/spammers.txt
https://someonewhocares.org/hosts/zero/hosts
https://raw.githubusercontent.com/VeleSila/yhosts/master/hosts
https://winhelp2002.mvps.org/hosts.txt
https://v.firebog.net/hosts/neohostsbasic.txt
https://raw.githubusercontent.com/RooneyMcNibNug/pihole-stuff/master/SNAFU.txt
https://paulgb.github.io/BarbBlock/blacklists/hosts-file.txt
@MarioGK
MarioGK / whitelist.txt
Last active July 3, 2022 12:13
Common ad whitelist
0.client-channel.google.com
1drv.com
2.android.pool.ntp.org
akamaihd.net
akamaitechnologies.com
akamaized.net
amazonaws.com
android.clients.google.com
api.ipify.org
api.rlje.net