Skip to content

Instantly share code, notes, and snippets.

@hopeseekr
hopeseekr / StackOverflow Stats.md
Last active January 25, 2025 21:15
StackOverflow Dec 2024 stats

Disclaimer: I'm in the Top 1% of StackOverflow contributors with 23,315 rep points.

I asked 1 high-quality question in 2024, and it was closed almost immediately, and I haven't engaged with the site since.

If someone with 20,000+ karma has their nicely-formatted questions closed so quickly, what must the newbies and rank-in-file encounter? This is probably a big reason why it's declining.


@andersondanilo
andersondanilo / instructions.md
Last active December 10, 2024 22:00
ms2109 linux (MacroSilicon USB Video)

Play

ffplay -f video4linux2 -framerate 60 -video_size 1920x1080 -input_format mjpeg /dev/video2

You can try other video number (video3, video4)

Maybe you need:

Create: /etc/udev/rules.d/91-hdmi-to-usb-ms2109.rules With:

@creachadair
creachadair / binary-cookies.md
Last active November 7, 2023 16:21
macOS Binary cookies file format

Binary cookies file format

Browsers and other macOS applications use the NSHTTPCookieStorage API to store cookies. The API writes .binarycookies files in a specialized binary format. The binary file format has the following structure:

Bytes Format Description
4 text magic number ('cook')
4 uint32 BE page count (np)
*4 [i] uint32 BE page i data size S, bytes; *repeat np times
*S [i] bytes page i contents; *repeat np times