gyp error message during npm install
Posted in Quick tips on January 13, 2021
Quick tip about this annoying bug regarding node-gyp on npm install for Mac OS X Catalina users
Read more
Sorting table dates in a Vue CLI project
Posted in Javascript on August 5, 2020
I updated this post from October 2019 as I found a new and in my opinion better Vue plugin to display and sort dates. Sorting dates in a table was in my experience always a pain. You just don't think about it and assume it will work out. Well it does, as long as the format of your dates is like 2019-10-09. However, if we show dates in another format, for example 9-10-2019 or even Wednesday, October 9, it stops working. In this post I'll show how to handle sorting dates in non standard formats using the jQuery Datatables plugin, the Vue Tabulator plugin and Grid.js
Read more
An interactive induction cooker in Vue #1
Posted in Javascript on July 29, 2020
When preparing diner after a day of programming on a Vue project, I was intrigued by the workings of our induction cooker. A lot is going on once you start interacting with it to cook a meal: you turn on the cooker, put some pots and pans on the heaters, turn on individual heaters, start [...] Lees meer
Read more
A scalable server setup using Laravel Forge and Envoyer
Posted in PHP on March 13, 2020
New projects often start small and a single server taking care of everything is just fine. However, as successful applications grow in time, a more scalable setup may be required. In such a setup you use dedicated servers for the application itself, database, caching and queues and use a load balancer to divide traffic between the application servers. Each server can then be optimized for its own needs.
Read more
Creating a Vue SPA with Google Firebase
Posted in Javascript on March 4, 2020
A typical single page application (SPA) can't work properly without an API to fetch data. Normally, we use Laravel for this but Google's Firebase project seemed a good option as well, especially for quickly creating a minimum viable product. In this post, I’ll discuss some issues I ran into while working on a side project called 'My Books'.
Read more