unattended postfix install with apt-get

Getting Postfix to do an unattended install with apt-get under Debian/Ubuntu is a pain until you see how to do it:-
echo 'postfix postfix/not_configured boolean true' | debconf-set-selections;
echo 'postfix postfix/main_mailer_type select No configuration' | debconf-set-selections;
apt-get --yes install postfix

PHP Freelancer.com API Wrapper class

The guys over at Freelancer.com have produced an API to interact with their already cool site. Their API is well documented and easy enough to use but there are a few hoops to jump through to get an application authorized and and the response data structures do not always seem consistent among all the possible calls (but that could just be me).

To simplify things further I've created a PHP wrapper class to assist in using the Freelancer.com API.

For example, you can do the following:-

Benchmarking PHP :: serialize, json_encode, print_r, var_export

When using PHP with any kind of caching you need come up with a robust cache key mechanism.

31 July 2009 :: Grand Canyon to Las Vegas

OK, this is now months after the fact but I've been meaning to finish off the blog entries from NYC to SF for a while now. The ride from the Grand Canyon was memorable for one reason, it was hot, really hot. Of course I was fully expecting it to be hot and I was mentally prepared for it but when the heat actually came on it was still quite a shock.

30 July 2009 :: Ouray to Grand Canyon

So I got I bit slack about updating my blog at the end of July. Keeping the updates going on the road is hard because by the end of the day you're physically and mentally exhausted.

The ride out of Ouray to Grand Canyon was yet another gem. The road from Ouray to Durango consists of never ending switchbacks - seriously I was riding for hours on these beautiful banked lefts and rights up and over the mountains - it was the first time I really saw many sportsbikes.

29 July 2009 :: Ouray, Mountains and Ouray

If you ever have a chance to pass through he Rocky Mountain region in the summer you must make time to visit Ouray. Ouray, known as the Switzerland of America, is nestled between two large mountains and fun twisty roads that lead in and out of the area which alone would be enough reason to pass through but on top of this there's great food, good bars and loads of outdoor activity stuff to do, but I digress...

28 July 2009 :: Lake City to Ouray (52 miles)

  • I thought the passage through the Rocky Mountains National Park and Independence Pass were both quite amazing but they were only preparation for what I was to see across Engineer Pass and since I got lost along the way, the Corkscrew Pass and everything in-between.
  • The dirt roads are sign posted as suitable for 4x4 vehicles only and certainly the roads were the most extreme I'd traveled thus far.

27 July 2009 :: Aspen to Lake City (230 miles)

  • Crossed up over Independence Pass from Aspen which is again another beautiful pass all on sealed roads.
  • Stopped in Gunnison for some minor work on the bike at Gunnison Motorsports. The team there where extremely helpful and accommodating and where happy to help me out even though I'd just dropped in on them without any notice. They also insisted I went over Engineer Pass to Ouray which as turned out to be the best advice I've received on the whole trip thus far.
Syndicate content