Skip to content

Instantly share code, notes, and snippets.

View dhackney's full-sized avatar

Douglas Hackney dhackney

View GitHub Profile
@brandonjp
brandonjp / WP_Media_Library_GPS_Coordinates_Column.php
Last active August 6, 2025 12:29
Add GPS Coordinates Column to WordPress Media Library [SnipSnip.pro]
<?php
/**
* Title: Add GPS Coordinates Column to WordPress Media Library (Best Version)
* Description: Extracts and displays GPS coordinates from image EXIF data in the media library table view. Robust extraction (multiple fallbacks), developer-configurable UI, admin notice, and copy-to-clipboard functionality.
* Version: 1.6.0
* Author: brandonjp.com
* Last Updated: 2025-06-08
* Blog URL: http://snipsnip.pro/880
* Requirements: WordPress 5.0+
* License: GPL v2 or later
@chrisswanda
chrisswanda / WireGuard_Setup.txt
Last active November 25, 2025 17:43
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be