Browsed by
Author: Alan

GIT Hook to prevent Commit of a file

GIT Hook to prevent Commit of a file

This is one of my favorite tricks.

When I make a temporary change to code, usually for testing, that I do not want to commit, I simply add a comment above the temporary code with the words DO NOT COMMIT.  When I try to commit that file, git will abort the commit and warn me:

+        //  DO NOT COMMIT
pre-commit: Blocking commit because  detect

In the root of your project, open the hidden .git folder.

Use  CMD + SHIFT + . to toggle display of hidden files if needed.

If it doesn’t exist, create a hooks subfolder.

create a file named pre-commit with the following content:


# Check if this is the initial commit
if git rev-parse –verify HEAD >/dev/null 2>&1
echo “pre-commit: About to create the first commit…”

# Use git diff-index to check for @DONTCOMMITTHIS
declare -a strsToLookForArr=(

for str in “${strsToLookForArr[@]}”
if git diff-index -p -M –cached $against — | grep ‘^+’ | grep -i “$str”
echo “pre-commit: Blocking commit because $strToLookFor detected”
exit 1

echo “pre-commit: clear”
exit 0

How NOT to measure development productivity

How NOT to measure development productivity

Allen Holub believes in #noestimates.

In his blog post KPIs, Velocity, and Other Destructive Metrics he offers this alternative to useless metrics tracking:

Focus on continuous process improvement, and productivity takes care of itself.

He has this to say about Velocity as a useful measurement of productivity:

velocity (average points per sprint) is not a performance metric, and using it as such is actively destructive. For one thing, the basic unit (a point) is not a measurable quantity. It’s a judgment. You can’t derive a quantitative measure from qualitative input.

The Accountant (2016)

The Accountant (2016)


The Accountant ***** 1.7.7 Missed this movie when it came out.  But I loved it.  Starring Ben Affleck and Anna Kendrick. Great action. Liked the story.  Ben is on the autism spectrum and a math savant who grew up and learned to live on his own, as a forensic accountant and assassin.  Guess you gotta watch the movie!

Impossible Creatures

Impossible Creatures


Still, one of my favorites games of all time.  I usually fire up an old Windows box and play the campaign over Christmas break.

I managed to network 4 stations and the cousins came over for an afternoon of Impossible Creatures frenzy!



Let’s get rid of “Lady” moniker

Let’s get rid of “Lady” moniker


Haven’t we moved beyond the use of “lady” in front of mascots? – Michael Adams, Lake Travis View

When I took over as sports editor for the Westlake Picayune and Lake Travis View, I decided that in our print and online editions, my policy would be to never refer to the girls teams as “Lady Chaps” or “Lady Cavs.”

‘Lady’ team nicknames can be harmful, experts say

“I think we have to get away from these labels that inadvertently marginalize different people who participate in sports because of their sexuality or gender,” Armstrong said. “I think it has created this binary: the norm and what’s out of the norm, the good and what’s not so good, this is the real sport and this is the other sport.”


“Lady” has always felt like an antiquated qualifier in sports. I see the argument that it differentiates the girls and boys side of a sport, but it gives the boys the rights to the actual school name and gives the girls’ teams a feeling of being somehow lesser. They are the “ladies.” But boys do not have to be “gentlemen.” Or any other type of descriptor, for that matter.

Schools Move To Drop ‘Lady’ From Women’s Team Names, Drawing Mixed Reactions

“The men’s teams are somehow solely entitled to the general term Hens, without a gender specific qualifier,”

“referring to our women’s sports teams as the Lady Hens while we refer to our men’s teams as the Hens suggests that men’s teams lay claim to true Henship and to the true embodiment of athleticism.”


Rest in Peace Martha Kleymeyer

Rest in Peace Martha Kleymeyer

You broke the mold for Aunts.  Your family, especially all your nephews and nieces will remember you fondly and miss you tremendously!

Martha Ruth Kleymeyer
Evansville, Indiana
Martha Ruth Kleymeyer, 92, passed away peacefully on November 21, 2017 in Austin, Texas. Her final days and months were spent surrounded by her sister, nieces, nephews and friends.Martha (Marty to friends) was born in Evansville, Ind. She earned a BA in Sociology from Mac Murray College, in Illinois, and did her graduate work at the University of Michigan.

After college, Martha’s love of travel and adventure lured her to Houston, Texas, where she lived for over 50 years. There, she applied her degrees and her love of helping those who find hardship in helping themselves while working with the Girl Scouts, YMCA, and the Multiple Sclerosis Society.

Family was always the most important part of Martha’s life. She was the first member of her immediate family to permanently move to Texas in the 1950s. Martha’s brothers and sister followed her to Texas in the 60s, where all four siblings and all eight of Martha’s nieces and nephews eventually resided in Austin together.

Martha is survived by her sister, Susan Kleymeyer Rutan; and her nieces and nephews, Marcia Rutan Bulsara, James William Rutan, Lilia Kleymeyer Johnstone, Richard Alan Kleymeyer Jr., Brent Matthew Rutan, Cynthia Kleymeyer Maxwell, Amy Kleymeyer Ramos and Kerry Kleymeyer Riedel; as well as many grand-nieces and nephews; and first cousins Cliff, Chuck and Bob Kleymeyer and Bob Burk.

She was preceded in death by her mother and father, Ralph T. Kleymeyer Sr. and Mildred Seitz Kleymeyer; and her brothers, Ralph T. Kleymeyer, Jr. (Ted) and Richard Alan Kleymeyer Sr.

Most of all, Martha will be remembered by her family as the quintessential aunt. There was rarely a significant event that she missed. Martha was always there to lend an ear and offered any support she was able to provide. She made it a point to spend one-on-one time with each young descendent as they grew, and made each one feel they were special and loved.

Martha will be interred in Evansville, Ind., at her family plot on a date to be determined. Her family would like to express their gratitude to Hospice and the many caregivers at Brookdale Westlake Hills. Any memorial gifts can be directed to Hospice at Brookdale or M.D. Anderson Hospital, of which Martha was a dedicated contributor.