Wouldn’t it be nice: Priority Calling

Just a thought We’ve all been there, calling your significant other in the supermarket to ask what specific brand of cheese to get, only to get no response and getting called back an hour later while you’ve already gone to town on a piece of Camembert. Or when your dorm room is enveloped in a […]

GCP: Resize persistent disk of running instance

So we have a lot of instances running up and about and every now and then we find out we’re running out of diskspace due to excessive logging and/or poor optimization of added media files. And while it is always best practice to fix those issues and keep the environment as clean as possible, this […]

Adventures on GCP with mailservers

I’ve been working on Google Cloud Compute Engine to set up servers for hosting all kinds of e-commerce related stuff. One of the more unknown areas to me here are the mailservers; they are complex in setup, very dependent on and specific to the environment they run on and even harder to debug if you […]

Github Gists broken again

So I see that the Github Gists are broken again, when they load via AJAX. Soo, let’s go and fix it. https://bl.ocks.org/staeff/2b3ade0edcd3100f79c9 https://www.bennadel.com/blog/2312-loading-github-gists-after-the-page-content-has-loaded.htm

Ubuntu script for quick Gcloud Compute CLI access

This lil’ function shortens the Gcloud Compute Engine SSH command to gc [instancename] and if no instance name is given, lists all instances.

FFS, running a Magento (1.x) subdirectory storeview on NGINX

I’m writing this for all good and holy, as other Mage developers will recognize. Setting up NGINX configuration for a multistore installation can be a massive pain in the unpleasants. After another night of sighing, moaning and clicking through pages and pages of Google search results, I found something that works. Now obviously this is […]

Failing nginx tests

So this is another weird one for me. While developing a Magento store on a self-setup LEMP stack I found out eventually that some parts of the system weren’t working correctly, and that no logs were being written. My first guess was that there was something wrong with the filepermissions, I think this has to […]

Magento 1.9: Add custom attribute to category

Step 1. Init module app/etc/modules/AT_CustomCatAttr.xml Step 2. Create config app/code/local/AT/CustomCatAttr/etc/config.xml Step 3. Create SQL script app/code/local/AT/CustomCatAttr/sql/add_category_attribute/mysql4-install-0.0.1.php Make sure the filename and path match the version (0.0.1) and nodenames (add_category_attribute) of the config.xml from Step 2. Optional If you change anything in the module, you can update it with a new version number. In this case […]

Install modman for Magento

Install Modman from GIT bash <

Compute Engine LEMP Stack PHP7 for Magento 1.9

So I was tasked to set up a LEMP Stack with PHP7 on a Google Compute Engine and to install a new Magento 1.9 install on it, for further development of things. This is my story (that is to say this isn’t as much a tutorial as it is just a notebook of the things […]