SQL Joins

The easy way for understanding SQL Joins:

Installing Virtualenv on Mac (OS X Mavericks)

Using Homebrew makes installing different versions of python extremely easy. If you don’t have Homebrew or virtualenv installed I strongly recommend you to go through Justin Mayer’s tutorials: – Configuring Homebrew and bash profile – Installing different versions of python and Virtualenv Once everything is configured we should be ready to start creating new virtual environments. Creating a new virtual …

Virtualenv commands

Creating new environments For creating a new virtual environment we just need to run the command “mkvirtualenv -p” plus the path to the python executable and the name for the new environment: For example: Deactivate environment Deactivate current environment: Switch environment To activate a different environment: Listing environments List all existing environments. There is two options: -b (brief) to display …

Installing NGINX on Mac (OS X Mavericks)

First we need to install nginx. Using brew we just need to run the following command: Initialise nginx To start nginx run the following commmand: If you want nginx server running automatically every time you log in, just run the following command: Test nginx server At this point the nginx server should be running on port 8080. Open Safari and …