How To Fix YUM Update Errors with Percona GPG Keys

Author: , April 16th, 2019

Problem: Trying to run a yum -y update as root aborts with the following error:

The solution, found on the Percona website, is this: sudo yum update percona-release Source URL:

How To Disable the Brightness Keys in MacOSX

Author: , July 26th, 2012

Download and install the prefpane FunctionFlip. Then set the F1 and F2 keys to default to having Fn pressed, which effectively disables the “Change Brightness” feature…

How To Loop Through Objects In JavaScript

Author: , May 15th, 2011

Coming from the Perl world, I wanted to emulate the following code in JavaScript:

What I found is that JavaScript uses “Objects” to contain hash-style data:

Also, one may use variables as key names by using the square-bracket notation, which evaluates variables first: