Code for the XCB tutorials you can find at http://xfianos.blogspot.com/