PCS JS Immersion

Welcome

Welcome to PCS!

Each class will have its own page and may have one or more sets of slides. Think of the class pages as actionable material that you'll be doing. The slides are supplements, to guide discussion.

I've tried to organize this site so things are easy for you to find and reference. You'll find the classes listed on the home page. You'll also find a reference page that collects all the links for the course.

Setting Up Your Computer

Before we can really start digging in, you'll need some tools.

Install Atom

Install Atom. Atom is a text editor built in Node.js that a lot of people have found accessible and fast. If you prefer another editor, go ahead and use it instead.

Install Homebrew

Homebrew is a package manager for OSX. It's a program that installs other programs, which is typically much more convenient than downloading and installing them by hand.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install Useful Command Line Tools

brew install git node tree colordiff

Configure Git

git config --global user.name "[Your Name]"
git config --global user.email "[your email]"
git config --global core.excludesfile '~/.gitignore_global'
git config --global push.default current
git config --global diff.renames true
git config --global color.ui true
echo ".DS_Store" >> ~/.gitignore_global

Improve your Terminal

atom ~/.bash_profile

Add the following lines to that file:

export PS1="\[$(tput bold)\]\[$(tput setaf 5)\]\u\[$(tput sgr0)\]:\[$(tput bold)\]\[$(tput setaf 2)\]\h\[$(tput sgr0)\]:\[$(tput bold)\]\[$(tput setaf 4)\]\w\[$(tput sgr0)\]\n$ \[$(tput sgr0)\]"
export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:$PATH"
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export PAGER="less"
export EDITOR="atom --wait"

Someone, please interrupt and ask the following question: Can you please explain tab completion?