Lightbox for Bootstrap 4 and jQuery

Lightbox (or “image preview”) functionality for Bootstrap 4 without additional libraries (apart from jQuery). Written by Joaquim Homrighausen <joho@webbplatsen.se> 30-May-2019 TEAMYUJO Do as you wish with this 🙂 This is …

Read more

Simple password validator for PHP

/* * Simple password construct validator for PHP * Joaquim Homrighausen <joho@webbplatsen.se> * May 30, 2019 * TEAMYUJO * * Do whatever you want with this snippet 🙂 * * …

Read more

Using nmap to “ping” remote ports

nmap -p 443 site.com nmap -p 21,22,2222,80,443 site.com nmap -p 50-100 site.com nmap is a very versatile tool for analyzing remote hosts. Given the above examples, nmap will return the …

Read more

Using MTR to create a text file report

mtr –report –report-cycles 20 www.instagram.com > ignetrpt.txt The above should be entered on one line. Using MTR this way makes it easy to simply send a trace report via e-mail. …

Read more

Apache goodies for WordPress security

The list of things to do to harden a WordPress site with Apache is long, but some things that could be done include: FileETag None <Files wp-config.php> Require all denied …

Read more

Orage clock preferences in XFCE

Ubuntu 18.04.1.LTS, XFCE Line 1: %H:%M, Ubuntu Mono Bold 14 Line 2: %a %d %b, Ubuntu Condensed 11 Tooltip: %A %d %B %Y/%V Set width: 80 [X] Show lines vertically