Skip to content

Instantly share code, notes, and snippets.

View Kilobyte22's full-sized avatar

Stephan Henrichs Kilobyte22

View GitHub Profile
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active December 9, 2025 21:18
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).
@WRMSRwasTaken
WRMSRwasTaken / dnsdist.conf
Created September 22, 2024 10:17
dnsdist automatically get domains from pdns authoritative
controlSocket('127.0.0.1')
setACL({"0.0.0.0/0", "::/0"})
local mySubnets = {
"127.0.0.0/8",
"::1/128",
"10.0.0.0/8",
"2a0f:85c1:beef::/48",
"2a0f:85c1:cafe::/48",
"2a09:e1c1:efc0::/44",