Joined January 2014
·

Bruce Lim

Dev guy / Code Monkey / Janitor at theAudience
·
Los Angeles
·
·

You can also use python to start a simple webserver also.

Mac:
Navigate to the folder to use and enter:
python -m SimpleHTTPServer 8000

The number at the end is the port to use, open your browser and visit http://localhost:8000 You can use the default of port 80 if you wish and remove the port number entirely.

I really like the recursive logic using magic constants! Bonus points for not using a loop - array_map :)

Achievements
4 Karma
445 Total ProTip Views