Skip to content

Instantly share code, notes, and snippets.

@jevinskie
jevinskie / memfd_create_2_florida_man.md
Last active December 8, 2023 12:34
Florida Manpage for memfd_create(2)

memfd_create(2) - Hold on to your alligator hats!

What the Heck is This?

  • memfd_create, baby! It's like conjuring a file out of the swampy ether!

Tools in My Shed

  • Standard C library (libc, -lc), the backbone of this whole shebang!
@claui
claui / install_jtool2.sh
Last active May 26, 2024 10:18
How to install Jonathan Levin’s jtool2 on macOS 11.0 (Apple Silicon)
# Copy and paste the following snippet, including brackets, into the Terminal
(
set -e;
cd "$(mktemp -d)"
curl -LO 'http://www.newosxbook.com/tools/jtool2.tgz'
tar -x -f jtool2.tgz
lipo jtool2 -thin x86_64 -output jtool2.x86_64
lipo disarm -thin x86_64 -output disarm.x86_64
sudo mkdir -p /usr/local/bin