I recently wanted to force WordPress to make all my <script> and stylesheet (<link>) tags load relative URLs instead of absolute URLs, and ended up learning a bit about the internals of WordPress (probably more than I wanted to know). For reference, I wanted to turn this: <link rel=’stylesheet’ id=’joshuatzwp-style-css’ href=’http://joshuatz-wp.test/wp-content/themes/joshuatzwp/style.css‘ type=’text/css’ media=’all’ /> Into […]
So many options for building a theme switcher or customization - CSS, React, Vue, Sass, etc. Let's break these down into examples and simple descriptions!
An exercise in modifying the script and style tag HTML output by WordPress from enqueue, in order to add async, defer, and lazy loading attributes to resources.
How to get Github's language statistics breakdown bar to properly show Markdown stats for a repository, using Linguist and gitattributes.
A guide on mixing Sass-syntax and SCSS-syntax within a single Vue project, and how it can conflict with vendor Sass files, such as Vuetify.
Tips, tricks, and gotchas, for building a Google Data Studio Community Connector on Google Apps Script. Covers some common issues and recommended approaches.
How to get the UTF-8 Character Code (aka codepoint) for a given character in Google Sheets. Custom formula converts from UTF-16 decimal to UTF-8.
How to embed your Google Apps Script in an iframe when a user needs to authenticate it first before it can work. Solutions uses JSONP to inform parent page.
How to look at the basics of a Chrome crash report on Windows, using WinDbg to view the minidump file, and how to enable logging on startup.
Information on using TypeScript with Google Apps Script and Google Ads, both with and without Clasp. Also discusses how Apps Script treats hoisting.