Getting Drupal 7 (almost) running on HHVM

In analogy to the article of the hiphop-php.com site, I’ll try to give you a tutorial on how to run Drupal on HHVM Installing HHVM For the sake of this case-study, I used a Vagrant Ubuntu “Precise” 12.04 as my...

Drupal Search and Solr office hours

Drupal Search has a great ecosystem of modules to integrate with technologies such as Solr. However, it needs more vision and direction to grow and be a great platform where other developers feel comfortable with and are able to make...

Speed up thumbnail generation on Synology DS212J

I recently bought a Synology 212J to store all my pictures on, and of course also to play with. I always had some crappy tiny non-modifyable NAS/Media Center solution that I really hated. cough Plextor cough So, I started adding...

A Slow Query log script for Tomcat Access logs

Run this at midnight and you will have all the slow queries in the slow_query.log file NOW=$(date +"%Y-%m-%d") LOGFILE="slow_query.$NOW.log" $(touch /var/log/tomcat6/$LOGFILE) ## 800 msec is a maximum value for solr. Let's filter everything above that $(cat /var/log/tomcat6/catalina.out | grep 'QTime'...

Content Staging with Apache Solr

We all love test and staging environments but it becomes a problem when you have Solr integrated in your project and you have a test solr, a staging solr and a production solr core. To re-index a site is not...