-
Git Completion with Terminal/iTerm output theme
Install Git Completion: Save the git-completion.bash file in your home directory: https://github.com/git/git/blob/master/contrib/completion/git-completion.bash Installation Open your .bash_profile nano ~/.bash_profile Paste the following at the top of the file, make sure not to overwrite any other settings you may have put in the file. ###### GIT COMPLETION – START ###### parse_git_branch() { git branch 2> /dev/null | […]
-
Import large database files to MySQL using Terminal with MAMP
/Applications/MAMP/Library/bin/mysql –host=localhost -uroot -proot DBNAME < /Users/robertannett/Downloads/DBFILENAME.sql
-
List all ports in use
netstat -lp List all services using a specific port netstat -lp | grep 3306
-
Install ext-intl on Mac OSX using homebrew and XAMPP
This was a painful process for me, it took quite a while to figure out why such a simple implementation when using ubuntu, can be so much work in a Mac. We can’t just install the extension with apt-get like ubuntu, and its not already waiting to be uncommented like in windows, we have to […]
-
Clone Entire Website with WGET in Terminal
OptionĀ 1: wget –recursive –no-clobber –page-requisites –html-extension –convert-links –domains www.yourdomain.com www.yourdomain.com Option 2: wget -r –convert-links –html-extension –no-parent www.yourdomain.com