Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

39 total results found

Web Development

Web development is the work involved in developing a website for the Internet (World Wide Web) or an intranet (a private network).

Productivity

Productivity describes various measures of the efficiency of production.

WordPress

WordPress (WordPress.org) is a free and open-source content management system (CMS) written in PHP and paired with a MySQL or MariaDB database. WordPress was originally created as a blog-publishing system but has evolved to support other types of web content i...

HTTP

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resourc...

Workflows

A workflow consists of an orchestrated and repeatable pattern of activity, enabled by the systematic organization of resources into processes that transform materials, provide services, or process information.

CodeIgniter

CodeIgniter is an open-source software rapid development web framework, for use in building dynamic web sites with PHP.

codeigniter

macOS

Git

Git (/ɡɪt/) is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data integrity, and support for distributed, non...

Tweaks

Examples

WordPress

n. One that is representative of a group as a whole. n. One serving as a pattern of a specific kind. n. A similar case that constitutes a model or precedent.

Cookies

HTTP

An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing.

Troubleshooting

WordPress

Knowledge

WordPress

Knowledge is a familiarity, awareness, or understanding of someone or something, such as facts, information, descriptions, or skills, which is acquired through experience or education by perceiving, discovering, or learning.

Minimal Cron

WordPress Examples

Change the following: Prefix: svd_ function svd_deactivate() { wp_clear_scheduled_hook( 'svd_cron' ); } add_action('init', function() { add_filter( 'cron_schedules', 'svd_schedule_cron' ); add_action( 'svd_cron', 'svd_run_cron' ); register_de...

SameSite Cookies

HTTP Cookies

web.dev has a very insightful article on SameSite cookies. Read it to understand how they work. Value Intended Use Example SameSite=Lax Functionality affecting the display of the site. Includes first request. Theme switcher SameSite=St...

Run WP CLI On All Sites Within A Network

WordPress Examples

  # update an option. wp site list --field=url | xargs -I % wp --url=% option update [option name] [option value]

Notes on Screen Recording

Workflows

Recommended way Use Shift-Command-5 and capture a desktop. The microphone can be turned on under Options. Dismissed Quicktime Player no longer has the option to record sound during Screen Recordings, at least since macOS Mojave.

Sync the database schema

WordPress Troubleshooting

In rare situations, the WordPress database schema might not match the schema expected by the applications or plugin. For example switching to multisite, and the wp_users table is missing the spam and deleted colums To fix this issue locally, create a file in ...

Notetaking Tools

Workflows

I'm always looking for a cross platform good value note taking solution. I work with the Apple ecosystem with a fallback Linux laptop. Current Contender - iA Writer September 2020: I currently use Apple Notes with Workflowy, but switching to iA Writer. iA W...

Bookmarking

Workflows

To prevent rethreading the same research paths, I'm documenting my bookmark journey. I'm currently using Firefox across my devices and using it's inbuilt bookmark system. Acceptance criteria Bookmarks are searchable from the address bar, because that's wh...

DJ Setup

Workflows

Hardware and Software WIP Categorising Music Separate DJ Music from your other music by moving it into a new location, ie DJ Music. Within that create a folder XXXX Added where XXXX is the year purchased, to separate music by time purchased. This is helpf...

Hooks for assets

WordPress Examples

Quick reference for where to hook in styles and scripts: Where Action Admin admin_enqueue_scripts Frontend wp_enqueue_scripts Block editor (admin) enqueue_block_editor_assets Blocks (front and admin) enqueue_block_assets ...

Troubleshooting local environment problems

WordPress Troubleshooting

A collection of troubleshooting tips to diagnose issues with a local environment that's not working right. WP CLI Issues Try wp cli info, if this fails then the issue is limited to WP CLI or PHP as  this doesn't touch the codebase / DB.

Onboarding Questions

Workflows

I’ve found information related to the following helps me onboard ne client services projects easier. Some of this might be already covered in a project overview, but might be a helpful as a checklist: Are there particular skills that are important for this ...

Nonces

WordPress Knowledge

WordPress nonces are not cryptographic nonces, as the latter are used only once, and the former are not: Nonces are regenerated every 12h, but are valid for 24h, hence that code. (12h = 1 tick, and they’re valid for two ticks)

Move a site to a new domain

WordPress Knowledge

Move a site workflow: Delete existing domain mappings for the site. wp search replace $old_url $new_url --all-tables; wp cache flush, avoiding trailing slashes. wp rewrite flush --url=$new_url; wp rewrite flush; Login to the network site, edit the site,...

Docksal Setup

CodeIgniter

Thoughts on running CodeIgniter with Docksal. Initial setup is easy # Setup CodeIgniter composer create-project codeigniter4/appstarter myproject cd myproject # Initialise a new Docksal project # set DOCROOT to public fin init # Plug the database ...

Change root site

WordPress Knowledge

To change the root site in a multisite network: define( 'BLOG_ID_CURRENT_SITE', 1 ); Plugins might not be compatbile with this change.

Resolving composer.lock merge conflicts

WordPress Troubleshooting

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

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() but there is some hard-coded behaviour in wp_insert_post() that might affect your data. So it's better to emulate wp_publish_post(). function action_on_future...

Package type "library" is not supported

WordPress Troubleshooting

You might see the following message after running composer: Reading /Users/svandragt/.composer/auth.json Reading /Users/svandragt/dev/_hm/siemens/milestones.local/vendor/composer/installed.json Reading /Users/svandragt/.composer/vendor/composer/installed.js...

Blocks in Simple English

WordPress Knowledge

The following block types exist and this is what they do. I'm always getting confused by the terminology, as I'm not a native English speaker and the terminology does not cleanly map on other programming paradigms. Block Type What They Say What I say ...

Filter one-liners

WordPress Examples

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