How To Disable WordPress Profile Access for Subscribers

Author: , January 24th, 2020

How To Update a WordPress Plugin Manually Using rsync

Author: , January 24th, 2020

If you are unable to update a plugin via the WP admin console, then you can do the update manually. Download the zip file to your local hard drive and extract it. Then, from the command line, do the test run first:

*Make sure to use the trailing slashes with rsync for proper operation […]

How To DROP DATABASE LIKE In MySQL

Author: , January 21st, 2020

How To Fix Bamboo Start Errors After Java Upgrade

Author: , January 21st, 2020

PROBLEM DEFINITION Bamboo Catalina error found in catalina.out:

SOLUTION SUMMARY Correct by using Java 8 instead. Do it manually using alternatives –set, or interactively using alternatives –config. MANUAL PROCEDURE – two steps, one for java and one for javac

INTERACTIVE PROCEDURE – two steps, one for java and one for javac

How To Fix “TypeError: Language code” JavaScript Errors in WordPress

Author: , January 20th, 2020

PROBLEM Wordpress site broken with Javascript errors with zero plugins or themes installed. The issue followed different devices, OS’es and different browsers. SOLUTION User account corrupted. The wp_usermeta locale field had an invalid value of “regular”, and nulling the field solved the issue. DETAILS JS console shows this:

How To Use a PEM File With rsync

Author: , January 10th, 2020

Use the -e option like so:

How To Convert An RSA Private Key to PEM Format

Author: , January 10th, 2020

How To Properly Specify Command and Arguments to Exec in Perl

Author: , December 11th, 2019

When using Perl’s exec() call, the best way to invoke it is as follows:

This syntax does some important things: – passes a scalar value as the first argument which exec interprets as PROGRAM – passes an array as the second argument which exec will use as the arguments to pass into PROGRAM Note […]

How To Change Your Commit Message in Git

Author: , December 2nd, 2019

Not pushed + most recent commit:

How To Force vim to Convert Tabs to Spaces

Author: , November 26th, 2019

To create indents with 4 space characters which are entered by pressing the TAB key:

To make the above settings permanent add to your ~/.vimrc file. For more details on any of these see :help ‘optionname’ in vim (e.g. :help ‘tabstop’) tabstop The width of a hard tabstop measured in “spaces” — effectively the […]