I just put together a new tool to list all the unique font stacks on a web page, intended to help with diagnose and remove unnecessary webfonts and save page load time.
Download this file and include in your page source, or copy-and-paste it into your browser’s JS console, then run the
styleInPage() function with the CSS style you want to inspect as the parameter.
// Show all unique font stacks in use on the current page console.log(styleInPage('fontFamily')); // Show a list of all DOM elements with their computed font stack console.log(styleInPage('fontFamily', true)); // Highlight all DOM elements using font stack 8 var fontStacksInUse = styleInPage('fontFamily'); console.log(fontStacksInUse); highlightInPage(8);
A quick-and-dirty PHP script to unserialize a string in PHP.
Clone (or download and expand the zip file) into your documents root and point unserialize.dev to the folder.
Enter your serialized data into the `textarea`, submit, and boom!—your serialized data is expanded to a much more human-readable view!
Created for use with this Alfred custom search (note that if your serialized string is longer than 4,000 characters, it may cause a 414 “Request Too Long” error).
Not having formal training in computer science or programming, I’ve struggled to understand object-oriented programming. This course by Tom Mcfarlin was extremely helpful in explaining the basic concepts, particularly in regards to WordPress development.
Update: since Readability was shut down, here’s a link to the original course content.