Entries from January 2020

How To Show the Origin in Git

Author: , January 30th, 2020

Recently, I wanted to see the “origin” of the git repository I was working in. The command is: git remote -v For example:

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