First of all, please make sure you have Brew installed on your mac. Follow this tutorial if you need to install brew.
Open your terminal then run the following command
brew install go
First of all, please make sure you have Brew installed on your mac. Follow this tutorial if you need to install brew.
Open your terminal then run the following command
brew install go
Brew is a powerful package manager for Mac. If you are familiar with apt on Ubuntu or Yum on Centos, brew is the same kind tools for Mac.
Open Terminal then run following command
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew upgrade
Since there’s no archive menu on Outlook for Mac, in order to archive our email to our local computer we can do this trick.
Open Preferences->General
Then un-check the tick box “Hide On My Computer folders”.
You will see “On My Computer” under Inbox folder. To archive your email, simply select your emails then right click and choose move to “On My Computer”.
By default display_error on MAMP 2.0.5 is off, in my opinion it would be useful for me to turn it on for development phase of my application. This is how to enable display_error
error_reporting
line, and make sure as “error_reporting = E_ALL
“display_errors = Off
, and change it to display_errors = On
web.py is a web framework for Python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions.
I was building a simple application with this library and need this run as a background service.
python /opt/server.py 8080 2>/dev/null &
I was using linux ubuntu for my work now I’m using Mac OS X 10.7.3, I was surprised when I did ls command, the ls result returned had the same color for files and folders. Fortunately there is a trick to set ls command with colors.
Create or edit this file
~/.bash_profile
Then insert this inside it
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
Save it, now open your new terminal instance.