Install Jetty as a service on CentOS

It seems hard to find a complete step-by-step tutorial to install Jetty as a service (especially on CentOS), some of the tutorial online is somewhat outdated or does not work, so I will share what I’ve learnt. (painfully) Perhaps this tutorial will also be outdated at some point in the future, so I will state the current version of the software I use clearly. Continue reading “Install Jetty as a service on CentOS”

Changing the author info of previous commits in Git

The problem is that you forgot to change the email to your work email before you commit your code, so you’re exposing your personal email. How to change it? Continue reading “Changing the author info of previous commits in Git”

Software update failure saved by OSX Time Machine!

Today I was trying to upgrade the OS X on my Mac mini via the AppStore which seems harmless and seamless like every other small OS X updates. Unluckily it turned into a nightmare (almost).

I was not paying attention to the details of the Update, it was something like Command Line Tools, Combined update and an update on the Recovery Partition. The install was smooth, after I restart the computer Continue reading “Software update failure saved by OSX Time Machine!”