Skip to content

Instantly share code, notes, and snippets.

@simonhlee97
Last active September 13, 2017 12:10
Show Gist options
  • Save simonhlee97/a620ffd6129a2041db0a8415b1669e43 to your computer and use it in GitHub Desktop.
Save simonhlee97/a620ffd6129a2041db0a8415b1669e43 to your computer and use it in GitHub Desktop.
Week2

if you screw up a branch, go back to master, create a new branch

Create new branch and switch over to new branch: git checkout -b simon-changes

to check currently working branch: git branch

to switch to simon branch: git checkout simon

merge changes with master: git merge simon-changes

to delete a branch: git branch -d simon-changes

Where do I save my snippets (for Mac users)? library>application support>Sublime Text 3>Packages>User>bootstrap.sublime-snippet

-portfolio assignment (1st draft due: Monday 8/28)

-JS DOM

-jQuery: in-class modules 1-15 (see file JSTrack: jQuery Manual)

** notes **

** notes **

  1. npm init
  2. install express --save
  3. create a .gitignore file
  4. type node_modules/ in the .gitignore file

presentations:

  1. scope (for variables and functions, global vs local)
  2. closures (function within a function)
  3. this (refers to the referenced object)
  4. IIFE (immediately invoked function expression syntax)
  5. debugging: set a breakpoint to freeze code execution at any point

Ajax Challenge project or FriendsList Project: Due next Thurs. 8/31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment