History always repeats itself and sometimes that's good. Here's a second chance to be part of it: tmdtc.com

Thursday 26 November 2009

Create and deploy a Jekyll site to Github page in 5 minutes

As I was looking for a simple way to publish documentation but still ensuring a long term availability and full control of the content, I went for a self-developed solution based on Jekyll and YUI Grids.

If you're looking for a solution to rapidly be able to deploy content on Github pages with Google Analytics and Google Search integrated, Jekyll Base might be for you.

All reasoning and information on Nsa.be, and code available on Github.

Thursday 19 November 2009

About Virtualbox, S3, time drift, 403 reponses

I was working on the FileAttachment code of myowndb.com in a virtualbox debian guest, when all request sent to S3 got the 403 Access Forbidden reponse, even code that was working fine in production. The good thing was that the production server still worked flawlessly, but I really asked myself what I had changed to break my code.

After checking my credentials, the code, trying with S3cmd and getting the same problem, I found a forum thread where having the wrong time could cause that problem.

And that was indeed the problem! My time had drifted 15 minutes, so I was sending out request with a timestamp in the future.... An ntpdate later, everything was working fine. Phew!....