Divideandconquer - divideandconquer.se - Comments on:
General Information:
Latest News:
Script to update an OpenShift repository with changes made on server 22 Aug 2013 | 07:04 pm
If you haven’t tried OpenShift yet, you should! Anyway I have a WordPress installation there. When upgrading WordPress to a new version, files are changed on the server but they would be overwritten ...
PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) 12 Aug 2013 | 01:43 am
I’m a very happy user of New Relic for my websites, even if I’m only leeching on the free tier. One of my WordPress sites, taurin.se has been suffering from this out-of-memory error for quite some ti...
Disable some useless stuff in Raspbian 9 Aug 2013 | 06:54 pm
I’m currently running three Raspberry Pi projects, with Raspbian as my choice of distribution. One of the machines will be co-located at FS Data and run ownCloud. The other will be handle switching a ...
Using mod_spamhaus to block TOR in Apache 18 Nov 2012 | 06:56 pm
Some web spammers use the Tor Project to hide their wrongdoings. Because of this, I want to block Tor exit nodes from submitting forms on my web sites. However, there are many legitmate uses of the To...
Customizing Zend\View\Helper\Navigation\Menu in ZF2 9 Nov 2012 | 04:57 pm
I have created gist: 4045344 with example code for replacing the navigation menu helper in Zend Framework 2.
Unable to use Mosh to connect to one of my servers 10 Aug 2012 | 04:43 pm
I’ve only used Mosh: the mobile shell for a couple of weeks, but I am definitely a convert! However, I couldn’t get mosh to connect to one of my servers (an OpenVZ instance). The error manifested its...
Injecting context into controller? 9 Jul 2012 | 05:20 am
I’m toying with my own PHP micro-framework. I’m trying to make it both simple and easy; explicit but not verbose. (Good luck to me!) For testability I have abstracted the Superglobals so that I have ...
Uncaught Syntax error, unrecognized expression: [class^='add:the-comment-list':] 29 May 2012 | 07:32 am
If you get this error in the JavaScript console for your WordPress 3.0.x installation, you need to modify wp-lists.js. Here is the proper patch for the wp-lists.dev.js version:
Incorect result from WordPress plugin_dir_url 15 May 2012 | 11:12 pm
Consider this code in akismet.php from the ubiquitous Akismet plugin for WordPress: My WordPress installation is at /usr/share/wordpress, but the Akismet plugin is installed to /var/lib/wordpress/plu...
Incorrect result from WordPress plugin_dir_url 15 May 2012 | 07:12 pm
Consider this code in akismet.php from the ubiquitous Akismet plugin for WordPress: My WordPress installation is at /usr/share/wordpress, but the Akismet plugin is installed to /var/lib/wordpress/plu...