Using bitmask permissions like Unix in PHP application

Have you ever wanted to give read/write/Delete type of permissions to users or other items within a PHP application?  Why not use Unix-style file permissions (read/write/execute for example)?  A PHP implementation can be used for any kind of permissions in scripts and applications. Use powers of two (the reasoning behind this will become apparent when… Continue reading Using bitmask permissions like Unix in PHP application

Subversion force comments to be entered

wanted to force someone to put in comments when they did a commit. So, below you will find what I did to enforce that. (I am sure that there is a more graceful way to do it, but this is how I did it. With a default install of Fedora Core 4, Apache 2, and… Continue reading Subversion force comments to be entered

Cat 5 Cable twisted wire colors

Well, I had the pleasure/frustration of recently creating some patch cables. The problem was that I did not know what order the internal twisted pairs should be in. But here is the lesson I learned, and how to properly create a patch cable.

Make Subversion send an email upon post-commit

ore than a week ago I wrote about getting Subversion running remotely. However, now that I have multiple people using it remotely I want to know when someone commits changes. I have come to find out that this is very simple to do using hooks. However, I did run into a little trouble configuring it.… Continue reading Make Subversion send an email upon post-commit