In this article you will learn how to change the name of all MySql (WordPress) database tables in one shot to save you time and maybe money too :)
How to use Google Workspace Gmail server alongside other mail server
A step-by-step guide on how to setup a split-delivery to use Google-Workspace email service and your traditional mail service offered by your hosting provider
How to check/uncheck all checkboxes on a web page using vanilla Javascript
A couple of years ago I wrote this short post about checking/selecting all checkboxes on a web page using jQuery. However, how would we do that if we can’t included jQuery on the page or if we want to do it only with Javascript! To uncheck all checked checkboxes on a web page using only...
How to trigger a specific code after a new product is created via WooCommerce REST API
I ran yesterday into a situation where I needed WordPress to perform a specific action after a product is inserted into WooCommerce database using the REST API endpoint POST /wp-json/wc/v3/products I have searched online for a couple of hours and I found multiple solutions, but non of them worked...
How to perform SQL queries with WooCommerce?
This post will be updated regularly. This is a work in progress 🙂 DISCLAIMER: Maybe the title is a bit misleading, but this blog post is meant to be as a reference for people just like me who are forced to google everytime how to get a or to manipulate product, product category and all other stuff...
How to speed up Vagrant on Windows 10 using NFS
Background At work (FlexKids) I have a Windows 10 machine (at home I use both Ubuntu and Windows). We don’t only Windows, we use OSX and Linux as well. To overcome this (not the only reason) we use Vagrant, Virtual box (CentOs 7) as a development environment. Thus we can ensure we all have...
How to use Fabric to deploy a flask web application
Lately, I have been busy making a deploy script for a Flask API. I have never worked before with Flask and I just got to know Flask a couple of months ago. I have to admit, there are not a lot of resources online explaining how to work exactly with Fabric. Although, the website of fabric (fabfile)...
How to save a base64 encoded image on hard disk in Python
In some cases you receive an image as bas64 encoded string and you need to save it first on disk before you can reopen it and use it! First of all you have to import base64 package. import base64 decoded_image= base64.b64decode(YOUR_BASE64_ENCODED_IMAGE) with open('your_image.jpg', 'wb') as f: f...
How dev-books.com turns your computer into a Cryptocurrency miner
A couple of months ago I saw a topic on Hacker News called The most mentioned books on Stack Overflow Link . I was really happy to see the website and I thought I could use it later once I need a book. Today I wanted to search for couple of books about Artificial Intelligence and Image Processing...
How to enable HTTP2 on Ubuntu 16.04 server with Apache 2.4.27
Two days ago I wanted to enable HTTP2 my website because it’s faster, simpler, and more robust than HTTP1. Check this link to read more about it. I have searched online how to enable it and I have followed almost every tutorial to enable it, but I couldn’t get it working. Everything...