Git: Agent admitted failure to sign using the key

Just as an internal note, if you get the following error trying to pull or push to a git repo: “Agent admitted failure to sign using the key” Your issue might be due to simply not having an identity defined…

More Details
On PHP and cache slams and solutions

While reading about Doctrine’s cache mechanism (which applies to other stuff than database queries, by the way), my eye was caught by a little message at the end (last section) about cache slams. I have used cache mechanisms extensively over…

More Details
PHP’s @ hurts performance

Did you know…? As a “take away” information taken from this post https://gist.github.com/nikic/6699370 (by famous PHP core developer @nikita_ppv), it appears like the @ sign in PHP (used to “hide” errors, as the “error-suppression operator” it is) also disables the…

More Details
SSL certificates for multiple virtual hosts: problem on IE for Windows XP

Using a single server for multiple virtual hosts is something that comes naturally nowadays for any web server sysadmin. Using SSL certificates is also common (particularly so since the infamous Blacksheep extension for Firefox as published a few years back)….

More Details
Great VIM regexp tutorial

Just a (great) reference: http://vimregex.com/ Read it = love it!

More Details
Vim regexp: transforming multiple SQL inserts into a big one

If you ever face a very slow MySQL process based on a very long insert file and you want to optimize it by unifying a lot of queries, you can do something like the following. Imagine you have a lot…

More Details
Gallery 2.3 not translating

Just in case you would fall upon this issue as well, Gallery2 requires the corresponding language-specific locales to be installed on the system (it depends on them to show the matching translated terms). The code to do that (and to…

More Details
Nginx + CDN + GoogleBot or how to avoid many useless Googlebot hits

If you’re like me and you’ve developed a CDN distribution for your website’s content (while waiting for SPDY to be widely adopted and available in mainstream distributions), you might have noted that the Googlebot is frequently scanning your CDNs, and…

More Details
Clean Redmine cache

To refresh Redmine cache, do the following from the Redmine directory (/usr/local/share/redmine, maybe ?): rake tmp:cache:clear rake tmp:sessions:clear http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade#Step-5-Clean-up

More Details
Database schema for Chamilo 1.9.4

A lot of people have been asking for a database schema of Chamilo 1.9. Here it is. The editable format can be found in the documents for Chamilo LMS: http://support.chamilo.org/documents/57 The image itself weights 3.2MB and has a few colours…

More Details