Blog / Misc.

This section of the site is for "blog" type posts, short asides, and other miscellaneous bits of content that do not qualify as a project or tool.

Approaches for using CSURF for CSRF protection, but only on certain routes, and some with the ability to extract the generated token from the request.

Resources and information about the WaveShare line of NFC-Powered Passive E-Ink / E-Paper modules, complete with teardown pictures and some development tips.

How to use WebViewAssetLoader and WebViewClient, with Kotlin code and syntax, to load local HTML files from asset folders into a WebView component.

How to use TypeScript with WordPress Blocks and the Gutenberg environment. Covers config changes, necessary dependencies, and some possible issues.

How to use the Arc Canvas Web API method to draw partial filled circle segments, including quarter circles, and even with added rotation.

Reasons why every developer should care about documentation. Personal, business, and practical reasons why writing documentation is worth it.

How to use TypeScript, or JSDoc-powered JavaScript, with Service Workers, as well as some important caveats for current issues.

How to split a string into individual characters in Google Sheets, using a pure formula approach. Even handles line breaks and special characters.

A guide on using SVG files with Svelte, and how to embed, inline-directly, or reference them, with or without rollup plugins.

A step-by-step guide on how to deploy a Preact app from a nested subdirectory, with instructions on updating Webpack, preact-router, and more.