Skip to content

Instantly share code, notes, and snippets.

View nwg's full-sized avatar

Nathaniel W Griswold nwg

  • Greater Milwaukee Area
View GitHub Profile
$rip=0x0000000112aff31b
memory region $rip
[0x0000000112aff000-0x0000000112b1a000) rwx
malloc_history 28499 0x0000000112aff31b
VM_ALLOC 0x112aff000-0x112b00fff [size=8192]: [thread 0x700000aa4000]: | 0x102f9f160 (snap-test2) mmapForLinker | 0x7fff5f38e97c (libsystem_kernel.dylib) mmap
vmmap 28499
VM_ALLOCATE 0000000112a6f000-000000011303c000 [ 5940K 5940K 5940K 0K] rwx/rwx SM=PRV
;; --- begin straight.el setup
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
@nwg
nwg / pfdump.sh
Created June 26, 2021 05:32 — forked from vitaly/pfdump.sh
script to dump PF status
#!/bin/bash
function pfprint() {
if [ -n "$2" ];then
sudo pfctl -a "$2" -s"$1" 2>/dev/null
else
sudo pfctl -s"$1" 2>/dev/null
fi
}