Skip to content

Instantly share code, notes, and snippets.

View jeffersonfr's full-sized avatar
💭
... reading

Jeff Ferr jeffersonfr

💭
... reading
  • Joao Pessoa - PB
View GitHub Profile
@AdSegura
AdSegura / wireguard_show.py
Last active September 20, 2025 15:14
wireguard show client list
#!/usr/bin/env python3
##
# Show wireguard statistics with usernames assigned to their public keys
# $> ./wg-show.py with no options will use
# wg0_file="/etc/wireguard/wg0.conf"
# wg_iface="wg0"
# sg_to_timeout=300 seconds
#
# ./wg-show.py --help
# usage: wg-show.py [-h] [--config CONFIG] [--interface INTERFACE]
@knee-cola
knee-cola / ProgressiveImgLoader.js
Last active June 25, 2025 04:48
simple progressive texture image loader for Three.js
/**
* @author knee-cola / https://github.com/knee-cola
* Original file URL: https://gist.github.com/knee-cola/37875bc4359609b96c9f329cd2a68fa1
*/
// This is a simple progressive image loader for Three.js
// It enables the smaller image files to be loaded first,
// before the big texture image is fully loaded.
//
// The images are loaded in the order they are passed