Images.weserv.nl is a an open-source image resizing and caching web API that’s used on millions of webites to optmize, resize and transform images on the fly. The images are served by CloudFlare’s CDN, providing a distributed worldwide cache for performance. Beginning November 2022 the service was rate limited by a change to CloudFlare’s terms of…
CSS’s native clip-path property makes it very easy to cutoff a box-shadow on one or more sides of an element. If you’ve ever wanted to use a box-shadow like a border, imagining something similar to box-shadow-top: none, then this is an ideal solution. There are many other more complex ways mentioned around the web for…
It’s not entirely clear how to quickly start, stop and restart MongoDB with a command line, so I’ve documented it here based on the need for a simple, straightforward approach. MongoDB Commands Use the following commands to start, stop or restart MongoDB. Mac OS On Mac OS the installation process for MongoDB’s Community Edition uses…
Zoom allows organizations to control certain aspects of the conferencing UX, applying colors, typography, logos, background and more to completely brand the experience of joining a corporate conference call. I’ve had a few requests to do this, so I thought an explanation on how it’s done may be helpful. Live Example A live example can…
A list of fonts available for use in Apple News when working with the publisher API, including list of each font. More information can found in Apple’s official documentation: Applying Apple News Format Fonts
This post is followed-up with another post containing more advanced examples and demos that have been found effective in 2022/2023. Gravity Forms is the most well known, and most used, form plugin available for WordPress. It’s a great tool, and one that I use on many of the sites I work on. Spam form submissions…
WordPress provides a built-in function for delivering programmatic emails: wp_mail. Without any modification this function will send emails directly from your web-server, which will arrive directly into your recipient’s spam folder (most likely). Email spam is vicious, and spam filtering technology has to be strong and strict to protect your inbox. Any email delivered right…
The older universal analytics implementation of Google Analytics has a “Unique Pageviews” metrics is a commonly used performance metric for many websites. Unfortunately the concept of _Unique Pageviews_ has been removed entirely Google Analytics 4, the metric doesn’t exist at all. Here’s how to revive it and track unique pageviews in GA4.
A slow WordPress admin is the worst, it can significantly reduce publishing productivity, and it’s a big pain for anyone that works in the admin frequently. It can be caused by many things, but the most common and least discussed seems to be slow HTTP API responses from premium or paid plugins that require a…
Tracking important business actions that happen beyond your website or application is a critical step for businesses in a disruptive industry. It’s one of the best ways to reduce your CAC, which is a top focus of disruptive companies looking to rapidly grow in a slow moving industry. Event & Session Tracking Event tracking allows…
Tracking custom analytics events provide a business with the ability to track specific customer actions online that are most valuable, rather than what an analytics platform prescribes as the most valuable. Implementing custom events in various systems can quickly become complex, so it’s a good idea to use a system like Google Tag Manager to…
3 ways to fix a common WordPress database error: “Table is marked as crashed and should be repaired”. The choices involve using SQL, PHPMyAdmin, or PHP code.
If you’re building a web application or custom WordPress plugin that needs to validate a US Social Security Number (SSN) then the following approach will provide a way to validate user input without the use of any third-party verification API.
If your WordPress website has broken or missing SVG images and you have the SVG Support plugin installed your issue can be quickly solve with the following quick fix.
Over the years I’ve found that this regular expression provides just the right balance of loose and strict pattern recognition to safely be used as a method for validation an email address.