Skip to content

Instantly share code, notes, and snippets.

View trentn's full-sized avatar

Trent Novelly trentn

View GitHub Profile
@sebastianneubert
sebastianneubert / README.md
Last active March 3, 2026 06:01
Enable TrueNAS Wake On Lan permanently

Enabling WoL on a TrueNAS System

Source: https://www.truenas.com/community/threads/enable-wol.95856/

As an Admin user you can use the ethtool with sudo rights to check if WoL is available on your system. The usual ethernet NIC name is "enp3s0" so I use everytime this name.

Check if WoL is available

@trishume
trishume / gdb.py
Last active March 21, 2026 02:43
GDB scripting with GEF
import re
import argparse
import re
class InstrTraceBreakpoint(gdb.Breakpoint):
def __init__(self, location, nb_args, *args, **kwargs):
super(InstrTraceBreakpoint, self).__init__(location, gdb.BP_BREAKPOINT, internal=True)
self.silent = True
self.nb_args = nb_args
return
@fedme
fedme / Run Visual Studio Code for Linux from WSL.md
Last active February 12, 2026 10:57
Run Visual Studio Code for Linux from WSL on Windows 10

Run Visual Studio Code for Linux from WSL

Thanks a lot to mredbishop and others for their insturctions posted here. This is just a recap of what they figured out.

This process was tested on WSL Ubuntu 18.04.

Install VcXsrv on Windows

  1. Dowload the VcXsrv installer from https://sourceforge.net/projects/vcxsrv/
  2. Install the software on Windows

Add VS Code repositories