This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Prints information about modules, whether these are enabled or not. | |
# The goal is to quickly find whether a module appears in some package | |
# variant for some distro version. | |
# | |
# Written for use in https://wiki.debian.org/Nginx | |
# | |
# The resulting table should appear as: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Make libnvidia-ml.so (nvidia-smi) write plaintext debug logs. | |
* | |
* Usage: | |
* | |
* gcc -shared -fPIC -ldl nvml-debugdump.c -o nvml-debugdump.so | |
* LD_PRELOAD=./nvml-debugdump.so nvidia-smi --debug=debug.log -q | |
* | |
* For other NVML applications, set env var __NVML_DBG_FILE=debug.log | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Extracts a subset of TLS secrets and injects them in an existing capture file. | |
# | |
# Author: Peter Wu <peter@lekensteyn.nl> | |
import argparse | |
import os | |
import shlex | |
import subprocess | |
import sys |
OlderNewer