ShortFuse

joined 1 year ago
[–] [email protected] 10 points 15 hours ago* (last edited 15 hours ago) (1 children)

Just going to mention my zero-dependency ACME (Let's Encrypt) library: https://github.com/clshortfuse/acmejs

It runs on Chrome, Safari, FireFox, Deno, and NodeJS.

I use it to spin up my wildcard and HTTP certificates. I've personally automated it by having the certificate upload to S3 buckets and AWS Certificates. I wrote a helper for Name.com for DNS validation. For HTTP validation, I use HTTP PUT.

[–] [email protected] 5 points 1 week ago (1 children)

Pippi Longstocking

[–] [email protected] 5 points 1 week ago

I mean, you can find 70s punk images just like this. I'm sure some are already great-grand parents. Nancy and Sid are from 1977:

[–] [email protected] 3 points 3 weeks ago (1 children)
[–] [email protected] 7 points 4 weeks ago (1 children)
[–] [email protected] 22 points 1 month ago (1 children)

I can spend 2 minutes scanning a page for a certain word every time I need to search for something.

But I'm very happy somebody spent the time to code Ctrl+F.

[–] [email protected] 4 points 1 month ago (1 children)

Windows 10 and it's not a good idea

[–] [email protected] 4 points 1 month ago (1 children)
[–] [email protected] 14 points 1 month ago* (last edited 1 month ago) (2 children)

Don't use JSON for the response unless you include the response header to specify it's application/json. You're better off with regular plaintext unless the request header Accept asked for JSON and you respond with the right header.

That also means you can send a response based on what the request asked for.

403 Forbidden (not Unauthorized) is usually enough most of the time. Most of those errors are not meant for consumption by an application because it's rare for 4xx codes to have a contract. They tend to go to a log and output for human readers later, so I'd lean on text as default.

[–] [email protected] 1 points 1 month ago

While

Whyle

Whyull

Yull

Yul

[–] [email protected] 1 points 1 month ago

Women are so cute and the best chance I can get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids to be able to get the kids

view more: next ›