John Chase’s Blog

The Personal Blog of John Chase

Archive for the ‘Uncategorized’ Category

Creation Time of a MySQL Database

without comments

INFORMATION_SCHEMA is your friend. Even though it’s not a base table and a view (no actual data files exist for views) it contains useful information about your mysql database; including create_time. See full documentation here.

Written by admin

January 5th, 2012 at 9:46 pm

Posted in Uncategorized

Useful GIT Commands

without comments

To show deleted files:

“git ls-files -d

To restore the deleted files use:

“git ls-files -d | xargs git checkout

View your log:

“git log”

Reset to a previous head

"git reset --hard HEAD~1" (The HEAD~1 means the commit before head.)

"git reset --hard <sha1-commit-id>

Written by admin

October 13th, 2011 at 7:34 pm

Posted in Uncategorized

Kansas City = 1Gbps Fiber

without comments

Written by admin

April 24th, 2011 at 1:31 pm

Posted in Uncategorized

Dilbert on Cloud Computing

without comments

Written by admin

January 7th, 2011 at 2:14 pm

Posted in Uncategorized

Tagged with