Skip to content

Instantly share code, notes, and snippets.

@krcm0209
krcm0209 / README.md
Last active October 31, 2024 19:06
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
@kekscom
kekscom / gist:ac499df64c8d861776a61031d577d8bf
Created August 12, 2016 09:13
Split huge GeoJSON files into tiles
var tileSize = 256;
var zoom = 15;
var srcFile = 'huge.geojson';
var dstPath = 'tiles/';
var minX = Number.MAX_VALUE;
var maxX = 0;
var minY = Number.MAX_VALUE;
var maxY = 0;
@kiewic
kiewic / Do-RecursiveGitPull.ps1
Created July 8, 2016 06:02
Perform git pull in all subdirectories that contain a git repository using PowerShell.
Get-ChildItem -Directory -Force -Recurse *.git | ForEach-Object { cd $_.Parent.FullName; Write-Host $_.Parent.FullName; git pull }
@joepie91
joepie91 / vpn.md
Last active November 14, 2024 23:11
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.