How to Uninstall Git from Mac OS X?

To uninstall Git from Mac OS X, you need to find the uninstall.sh file that comes with Git and execute it.

  1. Open Terminal
  2. Run this command: cd /usr/local/git/ to see whether the uninstall.sh is there
  3. If yes, run the command: sh /usr/local/git/uninstall.sh
  4. The output of the command above will be: This will uninstall git by removing /usr/local/git/, and symlinks. Type 'yes' if you are sure you wish to continue:
  5. Type yes
  6. Enter your password
That’s it!

How to add a new language to your Android Phone?

Step 1: Install More Local 2 on your phone:

  1. Open Google Play.
  2. Search “More Local 2”.
  3. When you “More Local 2” install it.
  4. After the installation is done, click on the button “Open”.
  5. In the list of languages, select the language you want.
  6. You will have a permission denied window with the choice to either use Superuser privilege or to show how to use “pm” command. Click on the second option for Show how to use ‘pm’ command

Step 2: Unlock Developer mode on your android phone:

  1. Go to Settings -> About phone.
  2. At the bottom of the screen, tap on “Build number” 7 times to unlock Developer mode.
  3. Go back to Settings, you will see {} Developer options added above About phone.

Step 3: Enable USB debugging.

  1. Tap on {} Developer options.
  2. In the Debugging section, check USB debugging.

Step 4: Connect your android phone to your computer through a USB cable.

Step 5: Install Android Adobe Debugging Bridge (ADB) (Note: we will install ADB on mac OS X using Homebrew)

  1. Install Homebrew (if it’s not already installed): ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”.
  2. Install adb: brew install android-platform-tools.
  3. Check to see if any device is connected: adb devicesIf a device is connected you will have an output like this:

    If nothing shows up after “List of devices attached”, that means your phone is not connected to your computer.

Step 6: Grant permission to MoreLocale 2

  1. Start the ADB shell by entering this command in the command line: ADB shell.
  2. Grant the permission by entering this command: pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION

Step 7: Activate the new language. Back to your phone, click on the language you want to change the language.

Note: In my case not all the application languages changed.

Video Editing in Less Than 5 Minutes

Technology is supposed to make your life easier not make it harder. It is main purpose is to save you time so that you can spend your very precious hours, minutes and seconds doing more important stuffs, like writing this article.

And I have just come across a video editing program that will justly serve that purpose. Note that all I really need is to be able to cut out a section of a video. Simple right? It should be, but try doing that in Final Cut.

The program that I have been using is Avidemux2. I don’t think the name does any service to this amazing peace of software (Note to the maker: get another name). It’s awesomely simple and straight to the point, as should every software.

Here is the description of the software:

Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities.

Avidemux is available for Linux, BSD, Mac OS X and Microsoft Windows under the GNU GPL license. The program was written from scratch by Mean, but code from other people and projects has been used as well. Patches, translations and even bug reports are always welcome.

So if you are after a simple video editing software to cut videos, you know where to go. Download it here.