Using vanilla JavaScript and CSS, I’ll show you how to vertically and horizontally center dynamically sized content inside of a responsive square container.
Sometimes we may want to display a block or snippet of HTML inside our WordPress theme or plugin. We can save this snippet to a PHP variable and call it anywhere,…
This little script allows you to randomize and spoof your MAC address on OS X and Linux. Simply run the script in the terminal ./spoof-mac-address and it will ask you…
This is an add-on plugin for WPBakery Visual Composer that adds functionality of a language switcher, making it very easy to create a multi-language site without an additional multi-language or…
I’ve recently setup a Digital Ocean server with deployment from Ansible. It’s great because it allows for a consistent development/staging/production workflow. During the setup of multisite and letsencrypt SSL, I…
This is an unusual deviation from my usual tech posts, but I had to get this out there. It appears that the USPS website no longer allows you to purchase…
By default, Drupal 7 doesn’t include the current page in the breadcrumbs trail. The snippet below shows how to add the current page to the breadcrumb in Drupal 7. The…
In this blog post, I will show you how to automatically resize the canvas size of non-square images using an AppleScript. With this method, the proportions of the image stay…