Category: Programming
-
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 […]
-
Integer Math – Converting to Binary
Yes, I realize this is a beginning digital logic concept, but I need somewhere to write this so I don’t forget again.
-
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 […]
-
IFTTT
IFTTT – What in the world!? I just discovered this this morning while once again searching for alternatives to Google Reader, since it’s dying in about 2 weeks. I tried Feed Demon at home, but it just didn’t cut it; half of the problems being that it was yet another application (and a memory hog […]
-
My New C++ Endeavors
Awesome news! I’ve been asked at work to start doing a bit of GUI development for our NASA projects. They’ve said that all of their stuff is developed using Borland C++. Now with my PennMUSH development experience, I’ve taught myself a bit of C++ (though my PennMUSH development experience has been mostly debugging and making […]
-
PLC and Hardware Control
Take a survey related to the following Aha! Thank you, Dad for my new Arduino hardware controller (and the partially-outfitted Craftsman toolbox to make my life simpler when building stuff)! Easy easy to program, and easier to wire up! There was a time a few years ago that we were playing with a Seimen’s PLC at my old job, […]
-
Merry Christmas
So day after Thanksgiving is when you break out Christmas stuff, right? Well in keeping with my little thing (I won’t call it a tradition), last year, I’ve changed up my blogger template to a Christmast theme. except this year I have a ton more knowledge of CSS, and so I’ve been able to pull […]
-
Pandora Music
Pandora.. Great selection of music, stays on topic and all that. But seriously..is there a way to prevent the computer inactivity timeout? Stops playing, starts giving me whiny messages of “Are we playing to an empty room? It costs us to play these songs so we don’t want to be playing to nobody.” However, I’ve […]
-
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 […]