Archive for the ‘Programming’ Category

St00pid Pinko Commies!

After playing some Zombinion with AJ earlier in the day, El-Kabong came over for some serious, hard-core Cold War Action! Twilight Stuggle is a game I’ve been watching climb the rankings on BoardGameGeeks for some time. It’s currently floating at 4th place, which puts it in some crazy-good company. The top-five on [...]

Read the rest of this entry »

Forum’s Favicon

The favicon I used for the original bhamcrew forums (left) needs to be implemented on the new forums.  I (obviously) grabbed the original favicon.ico file and am placing it in the images directory on the forums: /public_html/bhamcrew/images/favicon.ico.
After that, I changed the headerinclude template in the Admin CP:
Admin CP -> Templates & Style -> Templates -> [...]

Read the rest of this entry »

Access, Inode modification, and Content modification times for files in Perl

If you need to find any of the following: Access, Inode modification, or
Content modification times, in Perl, just use the file tests -A, -C, or
-M, respectively. For example:
#!/usr/bin/perl
use strict;
use warnings;
foreach my $file( </some/directory/*> ) {
  if( ((-M $file) * 24 * 60) < 5 ) {
    print “$file was modified less than
    five minutes ago\n”
  }
}
This code will print [...]

Read the rest of this entry »

The Power of Ruby on Rails – a web app made in 2 minutes

Ryan Davis uses Ruby on Rail’s ability to generate code to create a working web app in less than 2 minutes. You can’t do this with anything else, folks.
read more | digg story

Read the rest of this entry »

Web Design Tutorial

An excellent tutorial describing good web-site design.

Read the rest of this entry »