Recent Posts

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

Uncategorized

Upload a directory to Rackspace Cloudfiles

Tim Barsness • October 8, 2009

I put a little piece of sample code together that uploads a directory to Cloudfiles. I plan on running this on my web servers to upload the backup script to a safe place. This will replace…

Read More

Uncategorized

How to: Connect to Rackspace Cloudfiles from Slicehost

Tim Barsness • October 6, 2009

I’m trying to migrate to a Cloudfiles backup solution and since my slices are in the DFW1, I can get free bandwidth to and from Cloudfiles. So, I went to try and do some initial script…

Read More

MySQL

Looping through Mysql Columns

Andy Stramer • October 5, 2009

Recently I was looking into a way to echo out each column name of a mysql database. Of course I needed to do it dynamically as the database could change and the application is in PHP….

Read More

Uncategorized

List Contacts from Highrise

Tim Barsness •

Pull your contacts from highrise. Use this and the last post to do a one or two-way sync. More to come on this. $highrise_url = ‘http://yoururl.highrisehq.com’; // your highrise url, e.g. http://yourcompany.highrisehq.com $api_token = ”; //…

Read More

Uncategorized

Enumerate Gmail Contacts

Tim Barsness • October 2, 2009

Here’s some sample code I’ve piled together to list gmail contacts: require_once ‘Zend/Loader.php’; Zend_Loader::loadClass(’Zend_Gdata_ClientLogin’); Zend_Loader::loadClass(’Zend_Gdata_Gapps’); Zend_Loader::loadClass(’Zend_Gdata_Query’);   $user = ‘user@gmail.com’; $pass = ‘password’;   // Using Client Login $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, ‘cp’); $gdata = new…

Read More

Uncategorized

Authenticated Content over a Content Delivery Network

Tim Barsness • October 1, 2009

I’m interested in finding a way to leverage the features of a CDN such as Amazon’s cloudfront for delivering content that requires authentication.  I haven’t looked into it deeply but will need this ability in the…

Read More

Uncategorized

What is RAID 6

Tim Barsness • September 18, 2009

Raid 6 is an improvement on RAID 5 that allows for failure of any two drives with data remaining in tact as opposed to single drive failure in RAID 5. It does this by using two…

Read More

Uncategorized

Highrise API Wrapper

Tim Barsness • September 16, 2009

Since Soocial no longer syncs with highrise, I’ve been looking for another solution to sync with my google apps.  I’ve decided I’ll be writing my own, which I will release later. In the mean time, I’ve…

Read More

Uncategorized

PHP self Keyword

Tim Barsness • September 4, 2009

The self keyword is one I hadn’t learned. It’s equivalent to using $this in a static context, so: self::callStaticMethod();. I had classes where I was using Classname::getConn(); and having to change Classname every time I change…

Read More

Uncategorized

Using your own image for ShareThis Widget

Andy Stramer • August 28, 2009

The ShareThis widget is pretty handy for getting your site viral but it sometimes doesn’t always fit into your design. ShareThis has the option to use your own image to open the widget window. To save…

Read More

Uncategorized

PHPMailer Attachment Error

Andy Stramer • August 19, 2009

Recently I was getting an error on one of our sites. It was a simple form that has an upload field that uploads a file and emails it. I was getting this error however: Could Not…

Read More

Uncategorized

How Do I Recover a Lost Joomla Administrator Password

Tim Barsness • August 13, 2009

Lost passwords are the bane of my existence. Luckily, lots of places offer password recovery options. A Joomla 1.0.0 site for a long time client of mine wasn’t one of those sites. Given that the password…

Read More

Uncategorized

Writing data to a google spreadsheet

Andy Stramer • August 11, 2009

Today a client wanted all form data to be saved to a spreadsheet. I knew it’s possible to do it to excel but I came across an easier solution. Google spreadsheets, I realized, is very easy…

Read More