Recent Posts

Uncategorized

How To pass an Array in the Querystring Using PHP

Tim Barsness • December 18, 2009

I recently ran across a silly WordPress situation where I needed to pass an array in the querystring.  Here’s what I came up with: $array = array(’a’ => 1, ‘b’ => 2, ‘c’ => 3); $array…

Read More

Uncategorized

WordPress Custom Author Page (author-x.php)

Tim Barsness •

It was recently asked in a newsgroup how to make the WordPress author function like the wordpress category page. The format of the category page is category-x.php. Replace the x with the category ID you would…

Read More

Uncategorized

How to Get Google Voice Call Length in PHP (Google Voice API)

Tim Barsness • December 8, 2009

I am interested in building a google voice / highrise mashup that tags people by how long overall I’ve talked to them. I ran across this bit of PHP code by Aaronpk that attempts to use…

Read More

Uncategorized

$_Get Getter 1.1

Andy Stramer • December 7, 2009

Thanks to the help of Daniel Watrous, an improved version of our $_Get Getter WordPress plugin is now available. It is now able to pull multiple variables from the query string. You can get the new…

Read More

Uncategorized

WordPress Search and Replace

Tim Barsness • December 3, 2009

I just ran across a WordPress search and replace plugin.  I don’t have an immediate use for it, but with how much search and replace I do, I know it will come in handy. The plugin…

Read More

Uncategorized

How to Mount an ISO Disk Image on Windows 7

Tim Barsness • November 16, 2009

I had previously been using daemon tools to mount image files, but there isn’t a version for Windows 7 yet.  Someone I work with needed to mount an ISO in Windows 7, so I found another…

Read More

Uncategorized

Managed Software Betas

Tim Barsness • November 12, 2009

Are you spending valuable development time working on managing your online beta?  Prefinery has made this process a lot easier with managed solutions including adding a website splash page, taking sign ups and rolling out users…

Read More

Uncategorized

Center an Unordered List

Tim Barsness • November 11, 2009

I’ve always thought centering LI elements was impossible. Here’s an basic example of how to do it: #footer-menu { text-align:center; list-style-type:none; margin: 0; padding: 0; } #footer-menu li { display:inline; padding: 0 10px; } <ul> <li><a…

Read More

Drupal

Drupal vs. WordPress

Andy Stramer • November 10, 2009

I’ve been working on a Drupal site this past week or two. I had done absolutely zero with Drupal before that and had to essentially power learn the CMS just for this project. As this was…

Read More

Uncategorized

PHP: Recursively chmod(), chown() and chgrp()

Tim Barsness • November 8, 2009

I recently needed a way to recursively modify file permissions.  I was able to accomplish this with a few basic recursive functions, chmodr(), chownr() and chgrpr(): chmodr() function chmodr($path, $filemode) { if (!is_dir($path)) return chmod($path, $filemode);…

Read More

Uncategorized

Amazon Releases Relational Database Service (Amazon RDS)

Tim Barsness • October 27, 2009

Amazon has released a new cloud service, the relational database service.  The service allows a sysadmin to launch an EC2 instance running MySQL without the trouble of patch management and backup.  The instance is fully MySQL…

Read More

Uncategorized

Replacing the Hard Disk on a Mac Mini

Tim Barsness • October 18, 2009

I was thinking about doing this until I saw how involved it was.  My Mac Mini has 160 GB of storage, which is not even close to enough.  I am confident I would succeed in the…

Read More

Uncategorized

I Love MySecureShell

Tim Barsness • October 17, 2009

MySecureShell is an application which modifies SFTP to allow chrooted connections and remove shell access.  I couldn’t be more impressed with how it works or how easy it is to set up. However… Lately, the debian…

Read More

Uncategorized

How To: Recursively Search Text Files on Linux

Tim Barsness • October 15, 2009

I have often used a handy script to recursively search text files on a linux machine (recursively grep). The script is written by Joe Grossberg and is currently on version 2.0.  The second version adds handy…

Read More

Uncategorized

Slicehost API Made Easy

Tim Barsness • October 14, 2009

I’ve been playing with the Slicehost API and ran accross PHP interface for the Slicehost API and am now sold on using PHP for the slicehost API.  Track multiple slices, multiple accounts if you like.  You…

Read More