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: 1 2 3 4 5 The GPG keys listed for the "Percona-Release YUM repository – x86_64" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.   […]

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… http://kevingessner.com/software/functionflip/

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: 1 2 3 4 5 6 7    my $myHash = {       ‘foo’ => ‘Hello’,       ‘bar’ => ‘World’,    };    foreach my $myKey (keys %$myHash) {       print $myKey,’=’,$myHash->{$myKey};    } my […]