Share NAT Reflection – Ubiquiti EdgeRouter Lite (V>=1.3.0) & Dynamic IP EdgeRouter NAT Loopback/hairpin/reflection allows internal clients to access internal resources using an external IP/hostname. This is useful...Read More Nov 27 10,450 2 by Dave Lasley
Share Determine Which Modules Are In A Package – Python Notes-To-Self Python Below is a method to enumerate Python modules located in a directory: import pkgutil def get_pkg_modules(pkg_path,...Read More Oct 10 221 0 by Dave Lasley
Share Mercurial/Trac Changeset Hook Notes-To-Self Python Trac Below is a Mecurial changegroup hook to modify tickets on a remote Trac instance using XML-RPC....Read More Oct 2 275 0 by Dave Lasley
Share Performance Metrics – Apache vs Nginx Notes-To-Self Python Web We just deployed Nginx as a forward proxy for our production server. Before deploying, we took...Read More Sep 4 539 0 by Dave Lasley
Share Reorder all fields in Trac Python Trac We decided to add a business justification field to our Trac instance today, but needed to...Read More Sep 3 524 2 by Dave Lasley
Share Finding The Geometric Mean In Python Python Geometric means are a quick and easy way to benchmark system/interpreter performance. The below function is...Read More Aug 23 2,058 0 by Dave Lasley
Share Compiling PyPy From Source Python PyPy is significantly faster when compared against the default CPython interpreter. For the most part, this...Read More Aug 22 1,074 0 by Dave Lasley
Share OpenVPN Server Configuration Script – Ubiquiti EdgeRouter Lite EdgeRouter Python The lazy way to configure OpenVPN Server on a Ubiquiti EdgeRouter Lite ∞ I have a...Read More Aug 21 13,458 0 by Dave Lasley
Share Dynamic DNS Using LibCloud – EdgeRouter EdgeRouter Linux Python Web This tutorial is aimed for users with a dynamic IP, and a DNS host that does...Read More Aug 21 1,815 0 by Dave Lasley
Share Fix incorrect client IP for WordPress behind reverse proxy Web If you are running WordPress behind a reverse proxy, you will need to add the below...Read More Aug 15 293 0 by Dave Lasley