Dogs are Evil

Author: , February 12th, 2018

We need dog leash laws and owner accountability. Dog bites are a problem. According to the American Veterinary Medical Association, 4.5 million Americans are bitten by dogs each year, and every¬†day, nearly 1,000 individuals¬†show up in hospital emergency rooms because of dog attacks. The annual cost of medical treatments for dog bites (including 27,000 reconstructive […]

How To Create and Restore an SVN Backup Dump File (.dmp)

Author: , February 1st, 2018

Backup Compressed: svnadmin dump /volumes/data/svn/yourRepo | gzip -9 > /volumes/data/backup/yourRepo.dmp.gz Backup Uncompressed: svnadmin dump /volumes/data/svn/yourRepo > /volumes/data/backup/yourRepo.dmp Restore the Repo Create a new SVN repository: svnadmin create /volumes/data/svn/newRepo Restore the dump file to the new repository: svnadmin load /volumes/data/svn/newRepo < /volumes/data/backup/yourRepo.dmp Just for good measure, here is how to checkout from a local repo: svn […]

How To Rename a Branch in Git Locally and Remotely

Author: , January 31st, 2018

Rename the old branch locally: git branch -m oldBranch newBranch Delete the old branch remotely: git push origin :oldBranch Push up the new branch, and make the local branch track with the new remote branch: git push –set-upstream origin newBranch

How To Remove a Package Without the Dependencies (yum/rpm)

Author: , January 9th, 2018

To remove a specific package without its dependencies use rpm: 1 2 rpm -qa | grep pecl rpm -e –nodeps php55-pecl-jsonc php55-pecl-jsonc-devel rpm -qa | grep pecl rpm -e –nodeps php55-pecl-jsonc php55-pecl-jsonc-devel As always, YMMV!

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 Upgrade MySQL from 5.5 to 5.7 on CentOS/AWS Linux

Author: , December 7th, 2017

START: Server version: 5.5.54-log MySQL Community Server (GPL) FINISH: Server version: 5.7.20-log MySQL Community Server (GPL) 1 2 3 4 5 6 mysql –execute="SET GLOBAL innodb_fast_shutdown=0;" service mysqld stop yum remove mysql mysql-* yum install mysql57-devel mysql57-server mysql57-test service mysqld start mysql_upgrade mysql –execute=”SET GLOBAL innodb_fast_shutdown=0;” service mysqld stop yum remove mysql mysql-* yum install […]

How To Change the root Password on MacOS High Sierra

Author: , November 28th, 2017

Launch System Preferences Select Users & Groups Select Login Options Select Join next to Network Account Server Select Open Directory Utility Click the lock and enter your password to make changes In the menu bar of Directory Utility, select Change Root Password Create a strong, unique password

More Snow This Morning!

Author: , November 17th, 2017

Another dusting, but oh so pretty!

How To Redirect to https in Apache Using mod_rewrite

Author: , November 17th, 2017

1 2 3 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

First Snowfall of 2017

Author: , November 7th, 2017

I am SO happy to see the first snow!