Skip to content

Instantly share code, notes, and snippets.

@Xpl0itU
Xpl0itU / proxmox_nvidia.md
Last active June 27, 2023 10:27 — forked from egg82/proxmox_nvidia.md
NVidia Proxmox + LXC

Proxmox

Find the proper driver at the NVidia website.

Note: Make sure to select "Linux 64-bit" as your OS

Hit the "Search" button.

@Xpl0itU
Xpl0itU / Working GDB on macOS 11.md
Last active April 2, 2023 15:39 — forked from mike-myers-tob/Working GDB on macOS 11.md
Steps to get GDB actually working in April 2021 on macOS (Intel x86-64 only)

Debug with GDB on macOS 11

The big reason to do this is that LLDB has no ability to "follow-fork-mode child", in other words, a multi-process target that doesn't have a single-process mode (or, a bug that only manifests when in multi-process mode) is going to be difficult or impossible to debug, especially if you have to run the target over and over in order to make the bug manifest. If you have a repeatable bug, no big deal, break on the fork from the parent process and attach to the child in a second lldb instance. Otherwise, read on.

Install GDB

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # If homebrew isn't already installed
$ xcode-select install  # install the XCode command-line tools
$ brew install domq/gdb/gdb
@Xpl0itU
Xpl0itU / vnc-to-existing-x11-session.md
Last active February 17, 2023 16:55
Connect to an existing X11 session over VNC without X11VNC on Debian

Install tigervnc-scraping-server

sudo apt-get install tigervnc-scraping-server

Add a password to the VNC server

vncpasswd