Skip to content

Instantly share code, notes, and snippets.

View TheLazyHatGuy's full-sized avatar
418: I'm a teapot

Cameron TheLazyHatGuy

418: I'm a teapot
View GitHub Profile
@thedroidgeek
thedroidgeek / nokia-router-cfg-tool.py
Last active September 7, 2024 14:51
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration
@Anomalous
Anomalous / perf_mon_server.py
Created September 28, 2019 05:45
Server script for headless client performance monitor in Neos VR
#!/usr/bin/env python3
# performance monitor reporting machine load statistics over a simple HTTP server
# intended to be used to monitor status of headless servers from within NeosVR world
# format of data is optimized to be read with the simple GET request and LogiX processing supported by Neos
# requires psutil library: https://pypi.org/project/psutil/
# install using 'pip install psutil'
import psutil
@consti
consti / hosts
Last active September 5, 2024 17:11
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost