Skip to content

Instantly share code, notes, and snippets.

View Terabyte1385's full-sized avatar

Tudor Terabyte1385

View GitHub Profile
class DOHService {
static func setupDoH() {
// change the server url to your doh server's url
let serverUrl = "doh.example.com"
let manager = NEDNSSettingsManager.shared()
manager.loadFromPreferences { loadError in
// handles error
if let loadError = loadError {
@bluewalk
bluewalk / GetNordVPNWireGuardDetails.md
Last active March 10, 2026 09:53
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx

@timvisee
timvisee / falsehoods-programming-time-list.md
Last active March 11, 2026 09:36
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).