Posted on Mar 30, 2006

Threshold Teasers

Threshold of Hell TeaserMy brother Cameron Pearce and his parterners at Threshold Productions have been busy putting the finishing touches on their upcoming movie “The Beach Party at the Threshold of Hell.” Today, he released three teasers, and I have to say his work keeps getting better.

If three teasers aren’t enough for you, head over to their offical website to view the trailer and some other multimedia clips.

Or, if the edge of hell is too daring for you, check out some of my brother’s latest projects, which include a Jewel video, a Neyo video for Nokia, and a few other movie clips.

Posted on Mar 24, 2006

Wiki Spam Without Style

Wiki spam is when users or bots append unwanted links and URLs into established or abandoned wiki-based websites. Though most wiki software like MediaWiki automatically adds the attribute/value rel="nofollow" to a tags, spammers still flood your content in an effort to peddle there wares.

Most wiki spam uses CSS to hide their content from the average user. They wrap their content with a div tag that uses inline CSS tricks to keep their content from displaying. But when you take a look at the change log or attempt to edit the content, you’ll see their attempts at deception.

The most common way I’ve seen spammers hide their content is to use CSS overflow and height as follows:

<div style="overflow: auto; height: 1px;">spam content here</div>

This ends up working out pretty well for them. Thanks to the cascading CSS rules, their inline styles override any global CSS counter measures I might try to implement. But I’m not without my own bag of tricks.

wgShowIPinHeader

# prevent information on IP addresses from being added
$wgShowIPinHeader = false;

Adding this line to your localsettings.php file will remove the IP address and related Talk links from the top of MediaWiki pages.

wgGroupPermissions

# prevent anonymous users from being able to edit while allowing users
$wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;

Adding these lines to your localsettings.php file will keep anonoymous users from making changes. Users will at least have to create an account before adding wiki spam to your site.

wgSpamRegex

# prevent the hidden CSS trick
$wgSpamRegex = "/\<.*style.*((display|position|overflow|visibility|height)\s* :|font-size\s*:\s*\.?\d+).*>/i";

Adding this line to your localsettings.php file will stop most of the hidden CSS tricks. When a user attempts to include text that matches the above string, the edit will fail and MediaWiki will return a message like this:

The following text is what triggered our spam filter:
<div style="overflow:auto; height:1px;">spam content here</div>.

To learn more about how to stop wiki spam, consider visiting chongqed.org.

Posted on Mar 19, 2006

10 Ways to use your USB thumb drive

Boot DOS

This handy tool from HP will format your USB thumb drive and copy DOS files over to it.

Boot Linux

You can also boot many flavors of Linux. Two of the easier ones to try would be Puppy and SPBLinux.

Boot XP

You can even set up your USB thumb drive to boot Windows XP thanks to Bart Lagerweij’s BartPE tools.

Store Passwords

Using Password Safe, you can securely carry all of your passwords around with you.

Move Shell Folders

Windows uses shell folders to indicate the default location for many types of settings and data. Move them to your USB drive for privacy and security.

Run Portable Applications

Run applications right off of your USB drive, making it easy to switch computers and keep your settings with you.

Sync With Briefcase

Use Windows Briefcase to keep your files updated and in sync automatically.

Launder Files

I once washed my Lexar JumpDrive Sport USB Flash Drive. To my surprise, it still worked and all files were intact.

Join the Swiss Army

You can even find a USB drive in a Swiss Army knife.

Store Data

Oh yea, you can also use your USB thumb drive to store data.

Posted on Mar 17, 2006

Upcoming Redesign

Lambda Chi Alpha’s IT team is getting ready to flesh out some of the wireframing, information architecture, layout, and content for lambdachi.org. There are so many tools and best practices I have referenced in the past, I wanted to post a few here for easy reference:

Design Documentation

Web Standards Guidelines

CSS/XHTML Wireframes

Optimization

Color Selection

Inspiration (Standards)

Inspiration (Non-Standard)

Posted on Mar 10, 2006

IND Power Outlets

IND Power OutletsJB and I missed our filight to Austin for SXSW, so we had some time to kill as we wait for standby. In many airports you have to hunt for an outlet. The Indianapolis airport (IND), however, has them all clearly marked with these handy ads.