How to enable auto complete for git commands and branches on Mac OSX terminal / Command line

GIT and Bash Logos

If you want to enable tab auto complete at the command line on Mac OSX terminal, there is a handy auto-completion script you can use.

Using git-completion script to enable auto complete for GIT commands Download and save the git-completion script to your home directory

Then open the .bash_profile file in your home

React native : Application AwesomeProject has not been registered

If you get the following error when starting with your react native app

You probably are following the react native tutorial here. When you past the code from the hello world example here your registered component name is not matching since you first one was AwesomeProject and the new one is HelloWorld. Just change

to

error: command ‘cc’ failed with exit status 1; Can’t install PIL, Pillow, MySql and other packages in Mavericks.

If you are getting the following error when installing python packages using PIP or easy_install, don’t worry. You have come to the right place for solution. First make sure you have developer tools installed. You can install them by executing the following command in terminal xcode-select –install The clang errors are due to changes introduced in

2 Common errors while setting up phpMyAdmin on Mac OSX

You might encounter the following two errors while installing phpMyAdmin on OSX Login without password is forbidden by the configuration ( See AllowNoPassword ) #2002 can not login tot the MySQL server Here are the fixes for the above two errors. 1. Open phpMyAdmin configuration located at (phpMyAdmin Folder)/config.inc.php and change $cfg[‘Servers’][$i][‘AllowNoPassword’] = False; to