How To Clear All iptables Rules

Author: , March 20th, 2024

How To Reset The MySQL 5.5 Server root Password

Author: , March 16th, 2022

Had an old server, needed to get root.

For MySQL 5.7: https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html For some other v5.7 nodes, I had admin access via a different user’s login, so all I needed was this:

How To Revert a Merge in GIT

Author: , November 19th, 2020

To revert the local branch:

To revert the remote branch AFTER the previous step has been performed:

How To Fix MacOSX Yosemite 10.10 Memory Leaks via SMC and PRAM Resets

Author: , January 4th, 2018

I was running out of memory constantly on Yosemite 10.10.5 and found the following article: https://discussions.apple.com/message/26929324?start=555&tstart=0 Edited and reposted without permission below… Disconnect any external or secondary monitors, if any is present. The video memory allocation leak can also happen if you have a system with an integrated card, like Intel, with no external monitors […]

How To Reset Nagios State

Author: , November 5th, 2015

Every once in a while there is a hiccup in my internet service and every host that Nagios monitors shows DOWN. In those situations, I do not need the hundreds of the emails and text messages generated by Nagios. Here is the procedure for resetting Nagios v3.5.0 running on MacOSX 10.6.8 via a MacPorts install: […]

How To Reset the MySQL root Password

Author: , December 31st, 2013

update mysql.user set password=PASSWORD(‘Your New Password Here’) where user=’root’;

How To Reverse an Unwanted Merge in GIT

Author: , December 12th, 2012

git reset –hard

How To Undo Safari “Never For This Site” Autofill Setting

Author: , April 7th, 2012

Quit Safari. Open Keychain Access (Applications / Utilities) Select Passwords on the left. Delete the keychain for that site. Relaunch Safari. From the Safari menu bar click Safari / Preferences then select the Autofill tab. Make sure: User names and passwords is selected. Navigate to that site. You should be prompted to save your login […]

How To Change A Password In WordPress Using The MySQL CLI

Author: , July 29th, 2011

How To Reset The SMC on MacBook Pro

Author: , November 28th, 2010

Power off the unit fully. On the LEFT side of the keyboard, hold down CTL-OPT-SHIFT while pressing and holding the power button on the right side for 5 seconds. All four keys must be released AT THE SAME TIME. Nothing should happen. Then power back up…