Skip to main content

Recently Updated Pages

Blocks in Simple English

WordPress Knowledge

The following block types exist and this is what they do. I'm always getting confused by the term...

Updated 8 months ago by Sander

WP-CLI

WordPress Knowledge

To download all attachment files from a remote site: from your local uploads directory: wp post l...

Updated 1 year ago by Sander

Performance

WordPress Knowledge

When migrating content, suspend cache invalidation and flush the cache afterwards. With that in m...

Updated 1 year ago by Sander

Time Since Last Resume

Linux

This has been moved to https://github.com/svandragt/break-aware

Updated 1 year ago by Sander

Notetaking Tools

Workflows

I'm always looking for a cross platform good value note taking solution. I work with the Linux an...

Updated 1 year ago by Sander

Cheatsheet

React

Intermediate React useState container for state within component (instance props). Use a store ...

Updated 1 year ago by Sander

Types of tests

Testing

Unit Tests: Test individual code components in isolation. Functional Tests: Validate overall fun...

Updated 1 year ago by Sander

Elementary OS Configuration and Setup

Linux

ElementaryOS 7 Horus Same wifi issue as [[OpenSUSE Tumbleweed]]. Same fix Mouse battery is seen ...

Updated 1 year ago by Sander

Performance Strategy

WordPress Knowledge

CDN for assets Full page cache such as Batcache Fragment caching for menus Longcache for lower t...

Updated 1 year ago by Sander

Per Repo hooks

Git

This is a little helper script that enables version controlled hooks, and per project hooks: Exam...

Updated 1 year ago by Sander

WordPress Importer Plugin

WordPress

It has support for: deduplication (see below), mapping image urls All imported posts haven impo...

Updated 1 year ago by Sander

LG TV

Media

LG Slow program guide The best solution, as there seems to be nothing from LG , to create a Favou...

Updated 1 year ago by Sander

Building PHP

PHP

OpenSUSE Ended up aborting this, but the notes might be handy for reference # Install phpenv curl...

Updated 1 year ago by Sander

Flatpak

Code Snippets Shell

Flatpak Runner Example: fr handbrake #!/usr/bin/env bash # Quickly run flatpak installed cli apps...

Updated 1 year ago by Sander

Docker

Code Snippets Web

Mount a volume as the host user This allows writing to the volume. Dockerfile: COPY .docker/entry...

Updated 1 year ago by Sander

BookStack

Code Snippets Web

Get / Post / Delete options works roughly like this: # Import all markdown files into a book find...

Updated 1 year ago by Sander

Local WagTail install on MultiPass

WagTail

WAGTAIL INSTALL on multipass # Host multipass launch -n wagtail multipass shell wagtail # Guest ...

Updated 1 year ago by Sander

Installing wp-env

WordPress

wp-env is pretty nice and the .wp-env.json file makes me think it's most of the way there as a ge...

Updated 1 year ago by Sander

Backup and Restore Ubuntu based systems

Linux

Use apt-clone, deja-dup and some shell scripts to backup and restore ubuntu based systems: Requir...

Updated 1 year ago by Sander

Curl commands

HTTP

Time to first byte curl -s -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} ...

Updated 1 year ago by Sander