Search results for: “html”

  • Alternates

    I just re-watched for the umpteenth time Rymdreglage‘s video where they change their name and call it Ninja Moped. It’s stupidly quirky and dumb and the worst thing ever, but it hits that place that tickles my love for weird things. Given that I like random name generators (even “analog” ones like this) a whole…

  • Twitter

    Tweets by depwl9942

  • Blogger Migration

    So you may be wondering: what’s up with all these blog redesigns, Daniel? Well, I got sick of Blogger. A whole lot. And about a month ago, I decided to do something about it.

  • Privacy Policy

    Who are you? I’m some white cis male nerd from the United States. What personal data do you collect it and why? Comments I log your IP. Not for anything malicious. Just to reverse-DNS you if I think you’re interesting, or to drop you on iptables if I think you’re being an asshole. Also I…

  • Manual letsEncrypt for CPanel

    Jump to Renewal Instructions Additionally, EFF has deprecated use of aptitude/yum/dnf/etc package managers for deploying Certbot on Debian-based systems. Instead, they recommend use of Snap. At work I recently collaborated with our hosting provider to move our company website to a version of cPanel. Up until this time, there has been no way of running our site on…

  • A Fun Adventure in PGP

    So I got curious about PGP keys and signing and encrypting using them. I managed to figure out how to use the semi-popular gpg4win (the standard windows port of GnuPG) with its built in Kleopatra GUI, Outlook add-ins and all the other fun stuff.

  • LetsEncrypt List of Useful Commands

    Here are a few letsencrypt commands that I’ve found useful in the past few months of trying it out.

  • Typecasting struct to char* for Idiots Like Me

    Want to cast from a struct to a character string? Seen all those posts out there suggesting that reinterpret_cast will work, but is unsafe? Yeah, I tried it. Yeah, it’s unsafe.

  • Embarcadero TThread Works Just Fine

    I’ve been annoyed for a large amount of time (years in fact) over some of our software we use and sell. In essence, what we have is a TCP GUI that communicates on a 250ms timer with a microcontroller that’s serving up a two-way communications protocol over ModBus FC23 – we send commands either to…

  • PHP Access Control List

    A quick little Access Control List (ACL) snippet I made for PHP/HTML. Enjoy! <?php $acl = array( // Populate with IP/Subnet Mask pairs. // Any zero bit in the subnet mask acts as a wildcard in the IP address check. array(“192.168.10.24″,”255.255.255.255”), ); $acl_allow = false; for ($i = 0; $i < count($acl); $i++) { $ip2chk…