Import custom HTML element with shadow DOM

Most used Git commands

Working tree status git status

Stage only tracked files git add -u

Unstage git reset

Review changes between HEAD and working tree before each commit git diff.

git commit

git push origin master

Deploy git pull origin master

Bower vs NPM confusion

Bower is created solely for the front-end and is optimized with that in mind (…) requires a flat dependency tree.”

How to add new client javascript library to a project?

  1. Edit bower.json
  2. bower update
  3. grunt wiredep*

* See Gruntfile.js.

Edit or create package.json and use npm to install grunt and wiredep.

Shades of gray

WordPress download and extract script