Latest posts

Using Python to Loop Through JSON-Encoded Data

U

The popularity of JSON is due in large part to its use of universal data structures such as objects and arrays that are supported in one form or another by the majority of programming languages. This post looks at the basic structure of JSON-encoded data, how that structure relates to Python data structures and using Python to reliably access JSON-encoded data.

(more…)

Temporarily Disabling the WordPress Google Authenticator Plugin from the Command Line

T

This WordPress site uses the Google Authenticator plugin to provide two-factor authentication (2FA) when logging-in to the administration area. Occasionally I need to temporarily disable 2FA in order to publish posts from the blogging software I use. Traditionally toggling 2FA is achieved from the WordPress backend. This post looks at two alternative methods of doing this locally from the command line.

(more…)

iRedMail Configuration Tips and Time-Savers

i

By all accounts setting-up your own mail server can be a complex task and one I’ve always shied away from until recently when I thought I’d give iRedMail a go. Thanks to this open-source mail server solution I now have my own fully-functioning, well-configured mail server handling mail for numerous mail accounts on several domains.

(more…)

Installing and Configuring WP-CLI on macOS

I

WP-CLI is the command-line interface for WordPress. It allows you to manage your WordPress site from the command line without using a web browser. I currently use WP-CLI to temporarily disable the WordPress Google Authenticator plugin, create and configure a version of this site to run in a local AMP environment on my Mac and periodically change the posts that appear in the slider on this site’s home page.

(more…)

Removing Entries from the Microsoft Office Apps Recent Files Lists in macOS

R

Every so often – usually around the time of a major new macOS release – I perform a clean install of the OS on my Macs. Along with restoring user data I tend to restore the configuration data of certain applications including the Microsoft Office applications. While this is a great timesaver, it can also cause some unexpected results. For example, the Recent file lists in Excel, PowerPoint and Word. Let’s use Word as an example.

(more…)

Recent Comments

Recent Posts