Tag: php

  • Super Duper Status Update

    It works! I was a bit annoyed that the wordpress atom feed was only XML based. However, I do consider myself pretty good at googling things, and so I found this PHP library called “SimpleXML” which solved a LOT of stuff for me. I used to display the first five Blogger titles on the homepage in […]

  • 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 […]

  • Garfield!!

    A long time ago, I discovered that Jim Davis, the author of Garfield comics, syndicates his stuff with uComics. An interesting, and probably well-known, fact is that uComics actually stores the images from a particular cartoon in a fairly friendly directory structure! At least, they do with Garfield comics. So I was able to do some back-door hacks […]

  • Textpad Document Classes

    Textpad is my preferred text editor. It is super-simple, but has a few advanced features that really make writing source code for various things so much nicer. Besides that it has coloring for various document classes. Document classes are basically groups file extensions whose properties can be changed for each group. Example: you can completely […]