Archives by date

You are browsing the site archives by date.

mac os 10.6, ports, postgresql, rvm and the pg gem

i hope i hit all the necessary keywords with the title so you can find this one on google. because if you, just like me, are switching to rvm on your mac os development environment and installed your postgresql via ports gem install pg will fail telling you, that you are missing the right headers. […]

phm_gallery a gallery generator for radiant

i created a nifty little radiant extension for some friends which helps you to create seo friendly galleries from file system folders and so i wanted to share it with you.

fetching apple itunes rss feeds as json

if you who have to work with the apple itunes rss feeds generated here http://ax.itunes.apple.com/rss and hate xml parsing just as any one: just replace the “xml” at the end with “json” http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ ws/RSS/topfreeapplications/sf=143441/limit=10/xml becomes http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ ws/RSS/topfreeapplications/sf=143441/limit=10/json the json files are roughly 1/3 of the size and ridiculously easy to parse. enjoy.

paperclip with more than 32.000 attachments

those of you who run their rails app with paperclip on a standard linux server and ever tried to save more than 32.000 attachments may know the problem. the saving of new files is shamefully refused with a meaningless error message.