Get Block Data in Gutenberg Editor

I’m diving into the Gutenberg block editor and it’s a big change! I spent ages trying to find out how to access and grab data from each block using JavaScript. Here is a short snippet, I might have time to expand on this later. First up, let’s access the Gutenberg editor data. We can then … Read more

Enable Emmet for Vue Files in Atom

Emmet is super useful for writing code quickly. Unfortunately it’s not support right out of the box when working with Vue files in Atom. Luckily it’s easy to get it up and running!

How to disable New User Registration emails EDD

Easy Digital Downloads sends 4 emails per purchase by default, the Sale Receipts and New User Registration. I wanted to disable the New User Registration emails as they don’t provide any value benefit to me or the customer. Here are few reasons why Keep emails low (I hate unnecessary emails) Everything can be included in … Read more

How to remove the Bitnami Banner Google Cloud

If you spin up a new WordPress site using the Bitnami installer on Google Compute Engine, then you will see the bitnami banner in the bottom right. The banner links to useful information about your Bitnami install which could be a security issue. I have seen people try to hide it using CSS, DO NOT … Read more

How to Restart Bitnami Apache, Mysql and PHP

You may have edited some config files for Apache, PHP-FPM, phpMyAdmin or MySQL, and now it’s time to restart for the changes to take affect. For reference, I’m running Bitnami WordPress on Google Cloud Compute Engine.

Read more

Deleting a Directory and all subfolders on Linux via the command line

Deleting folders using the -r command will recursively delete all sub folders and files within your selected directory. A confirmation prompt will be displayed for each file. rm -r directory/path/here Use -rf to delete all directories and files in one strike, no confirmation prompt will be displayed. Always double check your directory path or it’s … Read more

Zip and Unzip files on Debian, Ubuntu Linux

First up install the zip and unzip packages if you haven’t already! sudo apt-get install zip sudo apt-get install unzip OR sudo apt-get install zip unzip If you are Red Hat Linux/Fedora/CentOS Linux user then you can use the yum command to install zip and unzip program as follows: # yum install zip # yum install unzip … Read more