Search results for: “php”

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

  • Untrodden Snow

    Untrodden Snow

    When I was a child, the snow would fall all pure and deep and white.

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

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

  • Camera

    Webcam image will refresh every time a script is run. This page must be manually reloaded to see these changes. (image may not be up to date – click here to run a refresh script)

  • OpenVPN

    New project at work! Setting up OpenVPN. It’s great fun…except when it doesn’t work. I love the Windows interface for setting up the Server. It’s straight-forward, and following the tutorial at http://openvpn.net/index.php/open-source/documentation/howto.html works like a charm. Setting up the client is just as easy, and the connection can be made in a matter of minutes.

  • Ruby on Rails – Success kinda!

    Okay. I’m totally going to try this again, just to see if I can’t figure it out. Ruby on Rails – A ruby based framework for web stuff. Basically, I haven’t a clue, but I’m going to at least try to get it running on Windows and make some rudimentary website things, just to see…

  • AR.Drone – Infrequently Asked Questions

    AR.Drone – Infrequently Asked Questions

    Just recently (like, yesterday), I received my first (and hopefully long-lasting) AR.Drone 2 from Parrot in the mail! This thing is a four-rotor remote-controlled copter operated with an app on my Android! So far, I can say I’m fairly happy with it, save for the stock battery which, in short, is really really sad. However, with a…

  • Ruby on Rails for Windows

    It was only recently that I FINALLY figured out just what Ruby on Rails is. From most of the posts I saw all I could make of it was “it’s the thing that runs Twitter.” Okay..so what’s it DO? Well as it turns out, from what I can make of it, Rails is a new…

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