Skip to content

Instantly share code, notes, and snippets.

View Liwink's full-sized avatar
🎯
Focusing

Yihe Liu Liwink

🎯
Focusing
View GitHub Profile
@Liwink
Liwink / codesign_gdb.md
Created May 10, 2019 21:06 — forked from hlissner/codesign_gdb.md
Codesign gdb on OSX

Note: these instructions are for pre-Sierra MacOS. Sierra and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow.

If you are getting this in gdb on OSX while trying to run a program:

Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
@Liwink
Liwink / zsh.md
Last active January 5, 2017 04:59 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
@Liwink
Liwink / find-replace
Created October 10, 2016 09:47 — forked from HendrikLouw/find-replace
Find and replace with ack-grep
ack-grep --print0 -irl 'Online' | xargs -0 -L1 sed -i 's/Online/Healthy/g'