February 2020

Month: February 2020

Git remove directory

Sometimes you want to remove a directory but keep it locally on your box. So you want to exclude it from the repository, but keep it locally. Need We wanted

Product in Product Tab

If you ever need to offer a product in a WooCommerce product tab inside another product you are in luck. This can be done with a WooCommerce shortcode Now if

To increate PHP memory usage edit the following file: nano /usr/local/etc/php/7.4/conf.d/php-memory-limits.ini You can get the details on your PHP ini using php –ini and then do a valet restart to

Laravel 6 PHP Redis

On upgrading to Laravel 6 we ran into issues locally running predis. This as no client was set in .env and now config was going for native PHP Redis or

VAT Based on User Role

Often you need to charge VAT or Dutch BTW for customers only and not for your vendors or companies shopping at your website. So how do you make sure that

Docker PS

Docker PS in general is pretty awful in the terminal. It is way too long. It simply often does not fit and shows way too much information. So what can

Custom Fields in WooCommerce

One way or another working with WooCommerce you wind up needing custom fields and preferably Advanced Custom Fields or ACF fields. This tutorial will talk about (advanced) custom fields in

Upgrade Laravel

If you want to upgrade Laravel to the latest you can use Laravelshift which is really cool. But you can do this manually with git as well. In this example

In this blog post I will write about working on and tweaking a Laravel Kubernet setup I am working on Called Laravel K8 . This post goes through settings things