How To Fix aws Command Error “You must specify a region”

Author: , July 29th, 2021

I was getting error “You must specify a region” when running any aws CLI command. The fix: Using the aws command:

which will automatically add the following to the file ~/.aws/config:

You many simply edit the ~/.aws/config file yourself and append the same thing:

How To Configure GIT To Push The Current Branch Only

Author: , March 16th, 2021

Recent changes to git have made the push default choice a bit confusing – “matching” vs. “simple” I picked “matching” when prompted. This means that git push by itself will try to push ALL local branches, not just the one you are working on. Personally, I find that a bit mad, so I decided to […]

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

What is the Best Way to Check the Health of a Tungsten Cluster Before a Switch?

Author: , June 26th, 2019

Latency-sensitive applications running in Java sometimes experience unacceptable delays under heavy I/O load. This blog discusses why this problem occurs and what to do about it for applications running Tungsten Clustering for MySQL.

How To Make Firefox Focus on the URL not Search in a New Tab

Author: , September 5th, 2017

Set browser.autofocus to false in about:config

How To Find the MySQL Config File

Author: , October 2nd, 2013

/usr/sbin/mysqld –verbose –help | grep -A 1 “Default options”

How To Force WordPress to Connect to the Database via TCP

Author: , October 2nd, 2013

wp-config.php

How To Keep SSH Alive In MacOSX Lion Terminal Sessions

Author: , May 24th, 2012

Apple’s 10.7 Lion, is NOT my favorite iteration of MacOSX. They continue to make the OS more Windows-like, which means they have started down that slippery slope… In Snow Leopard, I could have my ssh sessions running for weeks. In Lion, the ssh sessions time out with nasty errors, including “Write failed: Broken pipe”. After […]

Where To Find MySQL Sample my.cnf Configuration Files On Amazon Linux

Author: , February 9th, 2012

YMMV… /usr/share/doc/mysql-server-5.1.52

How To Configure MySQL For phpMyAdmin

Author: , July 29th, 2011

Securely, allow access ONLY from the local server NOT from the network

Insecurely, allow access via the network

With Table Creation SQL