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
/* | |
* watch_unix_socket.stp | |
* | |
* This is a simply more modern version of the script found here: | |
* https://sourceware.org/systemtap/wiki/WSunixSockets | |
* | |
* The first argument is the location of the file descriptor for a UNIX socket. | |
* To find this address, for example, for the Docker socket run: | |
* | |
* # lsof 2>&1 | awk '/docker.sock/ {print $7}' | grep -v '0t0' | sort -u |
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
version: "2.1" | |
services: | |
apm-server: | |
image: docker.elastic.co/apm/apm-server:${STACK_VERSION:-6.5.0} | |
ports: | |
- "127.0.0.1:${APM_SERVER_PORT:-8200}:8200" | |
- "127.0.0.1:${APM_SERVER_MONITOR_PORT:-6060}:6060" | |
command: > | |
apm-server -e | |
-E apm-server.rum.enabled=true |
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
#!/bin/sh | |
# /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# INSTALL | |
# | |
# > curl -L 'https://gist.github.com/paulfurley/46e0547ce5c5ea7eabeaef50dbacef3f/raw/56ee5dd5f40dec93b8f7438cbdeda5475ea3b5d2/randomize-mac-addresses.sh' |sudo tee /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# > sudo chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/randomize-mac-addresses.sh | |
# Configure every saved WiFi connection in NetworkManager with a spoofed MAC |