-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJS Notes
More file actions
46 lines (33 loc) · 759 Bytes
/
JS Notes
File metadata and controls
46 lines (33 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Setup env
->copy files (server.js, bowerrc)
->init stuff:
--->commands:
npm init
npm install --save express
bower ini
npm install jade --save
npm install prompt
npm install semver
npm install jsonfile --save
fyi:(http://expressjs.com/guide/using-template-engines.html)
dir:
.bowerrc
server.js
package.json
bower.json
views/index.jade
public/css/style.css
--->commands:
node server.js
nodemonpwd
ctrl+a - ctrl/ - commentALL
Week3:
#lodash - OOP library of JS
#Angular / React / EmberJS / JQuery
{} - object literal, short for new Object()
every object has dynamic properties
Change Bashgenerator:
export PS1="\[\e[00;32m\]\h\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
http://bashrcgenerator.com/
Console Commands:
>>>delete - rm -rf TEST_NAME