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 […]
Halcyon Part 2: The docker-compose.yml configuration
List of variables and ip addresses used: https://mklasen.com/halcyon-list-of-variables-and-ip-addresses/ While the components are sitting on my desk, waiting to be unpacked, and while I figure out how to approach this (blogging? video? livestream? unpack video?), we can have a look at the server configuration. Let’s start by creating a Github repo in which we’ll push the […]
Halcyon Part 1: Idea & execution
You know which birds I really like? Kingfishers. They’re small, very colorful and fast. You’ll see them in smaller creeks, hiding in the vegetation, but you have to pay attention and probably keep staring at a place for about 10 minutes. And if you’re lucky.. you’ll see one! It was my number 1 reason to […]
Halcyon: List of variables and IP addresses.
192.168.2.70 – this is the internal IP address of the server. 192.168.1.1 – this is the default gateway in my network, used as fallback for DNS requests. .hyc – the custom TLD that’s used in this project
Managing cronjobs in Cloudways
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 […]
Re-scheduling a cronjob in WordPress with WP-CLI
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 […]
Slow response / Magic keyboard lag on MacOS?
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, […]
Using onloadedmetadata to show information from a user uploaded video, before it’s uploaded.
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 […]
Re-order options in a select element
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 […]
- « Previous Page
- 1
- …
- 4
- 5
- 6
- 7
- 8
- …
- 12
- Next Page »