photography portfolio
projects
A more detailed section is in the works. For now, here are a few to look at.
Upcoming projects..

This is what I found for "development"

PDFKit and wkhtmltopdf without X Server, using qt Jul 15

If your PDFKit and wkhtmltopdf is working on your development server, probably in OSX, but not working on your production server, which is probably running linux, it’s because you’re missing X Server.

There are a few ways around this, some emulate X Server, but that seems hacky. I read through the wkhtmltopdf docs and read that a patched qt framework will allow you to use wkhtmltopdf without using X Server.

Here’s what I did on my Ubuntu Box to get this to work (note: the compile time for qt was almost 2 hours, and you’ll also need to have git installed):


sudo apt-get build-dep libqt4-gui libqt4-network libqt4-webkit
sudo apt-get install openssl build-essential xorg git-core git-doc libssl-dev

mkdir ~/sources
cd ~/sources
git clone git://gitorious.org/+wkhtml2pdf/qt/wkhtmltopdf-qt.git wkhtmltopdf-qt
cd wkhtmltopdf-qt
./configure -nomake tools,examples,demos,docs,translations -opensource -prefix ../wkqt
make -j3
make install
cd ..

Next install wkhtmltopdf:


git clone git://github.com/antialize/wkhtmltopdf.git wkhtmltopdf
cd wkhtmltopdf
../wkqt/bin/qmake
make -j3
make install

Run ‘wkhtmltopdf’ in shell and you should see it load correctly instead of seeing the x server error. Running ‘wkhtmltopdf-proxy’ should do the same, which is what PDFKit uses.

Radiant CMS and some Feb 03

I’ve been pretty busy working on my current project and needed a break to let my mind rest and decided to try out Radiant CMS.

A few hours and I fully converted my website over, with a little hacking to get my URLs to match. I was very impressed on how easy it was to setup. I actually thought there would be more to do.

Anyways, I’m definitely excited to play with some of the extensions for Radiant CMS. For now, comments are gone, but they’ll be back soon I hope.

Also would like to mention that my site feels faster by at least 50%. Loving the built in caching.

Update: Comments are back, took all of 5 minutes to setup Disqus!

A Fresh Snow Leopard Sep 05

I’ve become so normalized to formatting and wiping my OS clean every year/update during my Windows days that I decided to do the same with Snow Leopard. I also decided it would be a great time to upgrade the harddrive in my laptop to the WD 320gb 7200rpm.

After finishing that I followed the guides over at Hivelogic to get everything setup and running again. One thing to note was installing a ruby 1.8.6 since Snow Leopard by default installs 1.8.7 and my production server is running on Ruby Enterprise(1.8.6).

Compiling Ruby, RubyGems, and Rails on Snow Leopard
Compiling MySQL on Snow Leopard
Compiling Git on Snow Leopard