Recent Posts

Wordpress

Getting $_POST variables in a WordPress Plugin on save

Andy Stramer • June 24, 2009

I’ve been making more and more wordpress plugins lately and it seems to me that a vital part is getting certain variables back once a post is saved. I had a bit of trouble on this…

Read More

Hardware

The Difference Between SATA and SAS

Tim Barsness • June 4, 2009

I was shopping for hard drives and realized that I never understood the difference between SATA and SAS. I knew enough to know that Serial Attached SCSI (SAS) is an extension of Serial ATA (SATA) intended…

Read More

Wordpress

List Subpages Plugin for WordPress

Andy Stramer • June 3, 2009

Today I had to figure out a way to list subpages of a certain page in its wordpress content. After mulling around my options I decided I might as well make a plugin. This plugin is…

Read More

Uncategorized

Gmail Labs Escape Hatch

Tim Barsness •

If (when) a Labs feature breaks, and you’re having trouble loading your inbox, there’s an escape hatch. Use http://mail.google.com/mail/?labs=0. The same for google apps Use http://mail.google.com/a/[domain name]/?labs=0. Replace [domain name] with your google apps domain.

Read More

SQL

Escaping Single Quotes in MS SQL Server (T-SQL)

Tim Barsness • June 2, 2009

Escaping single quotes (‘) in Transact-SQL is done by replacing the single quote with two single quotes. So: SELECT ‘I went to Kinko”s’ Returns “I went to Kinko’s” The only case where two consecutive single quotes…

Read More

Facebook

Getting Facebook User Info With PHP and Facebook Connect

Andy Stramer • May 21, 2009

Recently for a site I’ve been working on we wanted to have the ability to track a great deal of user activity without them having to go through a “Register User” process. Facebook Connect was a…

Read More

PHP

Generate Random Strings in PHP

Tim Barsness • May 11, 2009

I needed to generate some random strings today for password resets.  Here’s what I used: function genRandomString($length = 10) { $characters = ‘0123456789abcdefghijklmnopqrstuvwxyz’; $string = ”;   for ($p = 0; $p < $length; $p++) {…

Read More

Linux

Upgrading WordPress MU from 2.6 to 2.7

Tim Barsness • May 1, 2009

I know I’m late to the game but I tried upgrading wordpress from version 2.6 to 2.7 today.  I ran into the seemingly all-too-common redirect loop which seems to have to do with the wp-config.php keys…

Read More

Wordpress

Listing WordPress Categories Inside the Loop

Tim Barsness • March 10, 2009

The Request— Be able to list all of the blogs categories inside the loop on a page or post. The Solution— After some playing around in the template I decided a plugin is the best route….

Read More