Drupal 7 + HTTPS + Nginx + Varnish + Apache + Boost + APC + Securepages + Drupal
If you happen to develop large sites in Drupal, you might fall upon a case like this one, where different servers (namely at least one reverse proxy and one web server) interact, causing a series of...
View ArticleInstalling Redmine 2.1 on Debian Squeeze with Apache modPassenger
This article is co-authored by Jérôme Warnier, from work mostly done by him with my occasional support. Kudos go to him. We couldn’t find any valuable manual to install Redmine 2.1 on Debian Squeeze,...
View ArticleMigrating from Redmine 1 to Redmine 2.1.0 on Debian Squeeze
This is a draft (but unlikely to be improved quickly, so published just in case it might help someone out there). First: see previous post to install Redmine 2.1.0 (just don’t execute the second half...
View ArticleXhprof + PHP5.4 + Ubuntu + Chamilo 1.10dev
To install Xhprof on PHP5.4 on Ubuntu (assuming you’ve already got PHP5.4 from Andrej or somewhere safe) in order to measure the load of Chamilo 1.10 dev (you need to have a mercurial clone, otherwise...
View ArticleVideoconferencia nativa en el navegador con WebRTC
WebRTC (Comunicaciones en Tiempo Real para la Web) está madurando muy rápido. Para los muy interesados y algo pacientes, este vídeo de Google I/O 2012 les interesará un montón! Para los que, como...
View ArticleDatabase 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 Chamilo LMS...
View ArticleClean 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...
View ArticleNginx + 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...
View ArticleGallery 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...
View ArticleVim 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 of...
View ArticleGreat VIM regexp tutorial
Just a (great) reference: http://vimregex.com/ Read it = love it! Filed under: Development, Documentation, English, Free software, GNU/Linux, Techie Tagged: regexp, vim
View ArticleSSL 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 come on (particularly so since the infamous...
View ArticlePHP’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”...
View ArticleOn 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...
View ArticleEl mejor valor para max_connections en MySQL
Según el artículo http://www.mysqlperformanceblog.com/2013/11/28/mysql-error-too-many-connections/, no hay un “mejor valor”, y mucho depende de la aplicación detrás, pero dicen que en máquinas con...
View ArticleGit: 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...
View ArticleCreating new tasks in chamilo course-sessions
In the category of little scripts that can make your life easier when managing huge Chamilo portals, this is a little one that creates one tasks-folder called “ALP” for the “Assignments” (work) tool in...
View ArticleIntercontinental fiber channel cables
Ever wondered where internet (and general telecommunications) cables were laid out in the ocean? This map, available on Level3 website, could help you out. This could help you out understanding, for...
View ArticleHow to not write a condition for code readability
Sometimes you find a perl in some code and it might take you a while to understand. In the sessions management code of Chamilo, I found this the other day, then decided to leave it for later because I...
View ArticleHowto: Configuring session expiry time in Chamilo 1.9
We seldom receive a request from users of Chamilo LMS saying their sessions are cut in the middle of their activity. And sure, it might so happen that you are in the middle of the redaction of a very...
View Article
More Pages to Explore .....