Marinus Klasen

Marinus Klasen

  • WordStress
  • Development
  • Consultancy
  • Developer Resources
  • Blog
  • Contact

Show the errors and notices from WordPress in Docker

April 18, 2022

Another short, solution-minded blog post today! In some cases I run the default WordPress Docker container. But, debugging is always well, a bit more complicated. We can enable WP_DEBUG_LOG by setting an environment variable: WORDPRESS_DEBUG_LOG But how do you read, or even better, tail the debug.log file? Run docker logs -f docker_container_name_or_id > /dev/null The […]

Continue Reading

Accessing the Docker Engine API remotely

April 15, 2022

I was digging into possibilities to manage docker containers remotely and it turns out, it’s not as difficult as you’d imagine. We just need to make a few small changes to access the Docker Engine API. How to access the Docker Engine API remotely? When you’re running Ubuntu (16.04+) you have to make a small […]

Continue Reading

Figma: Convert a group to a frame

April 7, 2022

One of those things I always wanted, but that seemed impossible. I’d search Google for the solution for minutes! I figured it out, and thought I’d share the solution with you. How do you convert a group to a frame in Figma? Select the group, then go to your right sidebar, in the design panel, […]

Continue Reading

Halcyon Part 3: Postpone unpacking, let’s start in the clouds.

March 23, 2022

This post is written on-the-go and shows the actual experience. The repository has been updated afterwards. You can still follow along, just keen an extra eye open for unnecessary changes and errors. ๐Ÿ™‚ We had a look at the docker-compose.yml configuration in part 2. Let’s get this thing going. I’ll start with a fresh droplet […]

Continue Reading

Managing cronjobs in Cloudways

March 16, 2022

Cloudways comes with an easy tool to create basic cronjobs, but what if we want to run more advanced cronjobs? Or, execute WordPress cronjobs via wp-cli? Let’s dive into the setup on Cloudways! Managing your application Go to your application settings, and click on Cron Job Management. You’ll see two tabs: Basic and Advanced, select […]

Continue Reading

Re-scheduling a cronjob in WordPress with WP-CLI

March 15, 2022

Sometimes cronjobs are scheduled when a plugin is activated, and that time is not always the preferred time, especially when you’re running a daily event. Using WP-CLI to list cron events Output It’s the wolkloos_check_weather event I was looking for. Unschedule the event Reschedule the event with your own time Output after reschedule Find more […]

Continue Reading

Slow response / Magic keyboard lag on MacOS?

March 3, 2022

Software development is hard with a lagging keyboard. If you’re reading this, you’re probably frustrated already. Well, I was.. Monterey update The advanced options have gone missing since Monterey. Try these terminal commands instead: Remove Bluetooth preferences by removing the preference file (restart required) Kill the Bluetooth service The magic trick Press SHIFT + OPTION, […]

Continue Reading

Using onloadedmetadata to show information from a user uploaded video, before it’s uploaded.

February 11, 2022

It’s always good to give your user a summary of what they’re going to upload, before it’s actually uploaded. I’ll keep this one short, we’re using a file input to allow the user to upload a file. And whenever the element changes, we’ll use javascript to get some information, in this case, the duration of […]

Continue Reading

Re-order options in a select element

February 3, 2022

While working on a feature that allows users to move options from one select element to another I ran into an issue with alphabetic order. Especially when multiple options are being moved at once. To easily solve this I wrote a re-order function that orders both select elements at once. The code’s hosted on Github […]

Continue Reading
  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • …
  • 12
  • Next Page »

Get in touch

Contact me using the details below

Marinus Klasen

Wilhelmina van Pruisenweg 35, 2595 AN Den Haag

marinus@mklasen.com
twitter.com/marinusklasen
linkedin.com/in/marinusklasen

  • GitHub
  • LinkedIn
  • Twitter

Have you read?

  • Running Github Actions and Workflows LocallyAugust 25, 2025
  • Elementor Widget UsageMarch 27, 2025
  • Programmatically showing popups with ElementorMarch 25, 2025
  • The Elementor sanitize_settings errorSeptember 12, 2024
  • Announcing.. Wooping Shop Health!June 13, 2024

Copyright © 2025 ยท Marinus Klasen | Webdesign by Team Rood