this post was submitted on 11 Jun 2024
450 points (99.1% liked)

Programmer Humor

19517 readers
1538 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 5 months ago

if (request.ip != myip) return ErrorCodes.NotFound

And an ipv6 version for all you up 6 fans

if (request.ipv6 != myipv6) return ErrorCodes.NotFound