Skip to main content

Recently Updated Pages

Troubleshooting

Godot

A connected event is not receiving the emitted signal Make sure the handler is accepting the same...

Updated 3 weeks ago by Sander

Static redirection

Nginx

Inside a server block: # use ~* to match a string inside a hostname if ($host ~* 'living') { #...

Updated 3 weeks ago by Sander

Hiding blocks from the block inserter

WordPress Examples

Hiding blocks allow the blocks to be used for existing content, but not for new content. function...

Updated 1 month ago by Sander

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 2 months ago by Sander

Common questions

Godot

Why would you use onready var versus regular var? var is assigned when the script instance is c...

Updated 6 months ago by Sander

Smart audio output switching

Automation

Use a wrapper around DWeller's amazing switchaudiosource, to use partial matching to switch to an...

Updated 7 months ago by Sander

Auto linking project toolchains

WordPress Knowledge

If you use direnv you can automatically setup your project toolchain requirements. In the case of...

Updated 1 year ago by Sander

Firefox Tweaks

Tweaks

Performance // speed up them sites network.dns.disablePrefetchFromHTTPS = false network.predictor...

Updated 1 year ago by Sander

Push.Default Strategies

Git

I was accidentally updating other branches when pushing my feature branch, and didn't realise why...

Updated 1 year ago by Sander

Persistent RAMDisk

macOS

Works on macOS Big Sur. Reference Persistence There is a non-deprecated way to do it: Open ...

Updated 1 year ago by Sander

WP-CLI create post with custom tax

WordPress Examples

wp mycpt create --tags='test1,test2' $tags = null; if ( isset( $assoc_args['tags'] ) ) { $tag...

Updated 1 year ago by Sander

Hooks for assets

WordPress Examples

Quick reference for where to hook in styles and scripts: Where Action Admin adm...

Updated 1 year ago by Sander

Filtering Block based content

WordPress Knowledge

Name Type Usage parse_blocks( string $content ) Function if you want to take a bun...

Updated 1 year ago by Sander

Onboarding Questions

Workflows

I’ve found information related to the following helps me onboard ne client services projects easi...

Updated 1 year ago by Sander

Filter one-liners

WordPress Examples

Render links in content as HTML A elements: add_filter( 'the_content', 'make_clickable' );

Updated 1 year ago by Sander

Package type "library" is not supported

WordPress Troubleshooting

You might see the following message after running composer: Reading /Users/svandragt/.composer/a...

Updated 1 year ago by Sander

Updating post data on status transition

WordPress Examples

You might be tempted to set the WP_Post properties (but this is an action), or use wp_update_post...

Updated 1 year ago by Sander

Resolving composer.lock merge conflicts

WordPress Troubleshooting

composer update --lock fixes lock file when merging branches with .lock conflicts.

Updated 1 year ago by Sander

Change root site

WordPress Knowledge

To change the root site in a multisite network: define( 'BLOG_ID_CURRENT_SITE', 1 ); Plugins mi...

Updated 2 years ago by Sander

Notetaking Tools

Workflows

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

Updated 2 years ago by Sander