How To Get the Current Page URL in WordPress

Author: , Posted on Tuesday, January 5th, 2021 at 10:00:06am

https://codex.wordpress.org/Determining_Plugin_and_Content_Directories

How To Pass Named Parameters in Javascript

Author: , Posted on Saturday, December 5th, 2020 at 9:27:54am

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

How To Fix “IOError: [Errno 10] No child processes” When Running the aws CLI Command from Perl WWW-REST-Apid

Author: , Posted on Thursday, December 3rd, 2020 at 9:44:09am

Problem
While running the aws cli command from a Perl async command inside apid, I go the following error:

Solution
The issue turned out to be a bug in Python2.7, so I upgraded to Python3.4, then uninstalled and re-installed the aws cli software so that it used the proper Python34 version.

Procedure

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
https://metacpan.org/pod/distribution/WWW-REST-Apid/bin/apid

How To Revert a Merge in GIT

Author: , Posted on Thursday, November 19th, 2020 at 11:35:22am

How To Install MySQL 8.0 on AWS Linux 2

Author: , Posted on Wednesday, November 18th, 2020 at 11:45:41am

How To Extract Time Machine Logs Via Terminal

Author: , Posted on Monday, November 2nd, 2020 at 9:18:52am

R.I.P. Sean Connery

Author: , Posted on Saturday, October 31st, 2020 at 9:57:55am

Sean Connery
Born: August 25, 1930, Fountainbridge, Edinburgh, United Kingdom
Died: October 31, 2020

How To Show All Branches In GIT

Author: , Posted on Thursday, October 29th, 2020 at 1:30:04pm

Show All Branches, Local and Remote

Show Local Branches

Show Remote Branches

How To Stop MacOS Terminal From Freezing Upon Text Select

Author: , Posted on Thursday, October 29th, 2020 at 10:59:46am

First quit Mail, if open.

In Terminal, enter the following to disable the Data Detectors which could be responsible for the hang:

How To get_posts in WordPress with Multiple meta_query Values

Author: , Posted on Tuesday, October 13th, 2020 at 4:29:40pm

The first query gets all custom publication posts that have a value in field book_seq ordered by book_seq

The second query gets all custom publication posts that have no meta value for book_seq or no meta record for key book_seq ordered by post_title.

Great article here: https://rudrastyh.com/wordpress/meta_query.html