GIT and Bash Logos

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

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

Adding dynamic classes to your custom WordPress widgets

I recently released an ad management plugin for WordPress called “Easy AdSense Ads & Scripts Manager“. In this plugin we have a custom widget with option to remove the padding and borders (if any) added by the theme. I did not think much before implementing this feature and was expecting WordPress to have some kind of hook

Sending email from docker through Postfix installed on the host

We use MUP to deploy our Meteor app, NYBR. MUP creates three docker containers for running the meteor app, nginx reverse proxy and mongo. Like most applications, the need for sending the email came, ideally we should be using Amazon Web Services SES,  but getting their approval was pain in the @$$ and was taking time.

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

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