-
Single file learning: Promise
Promise
-
Hiring without whiteboards
This is inspired by Hiring-without-whiteboards.
-
Graphql Visualization
Requirements
- Install
graphviz
form graphviz.org, add it toPATH
- Install
graphqlviz
bynpm install -g graphqlviz
- Install
-
Data center
List
-
Try async/await on node7.6
Attention!
Demos should run on nodejs 7.6+
-
Nodejs Best Practices
Articles
-
machine stock
``` y = 5-days-stock / 30-days-stock x1 = date = timestamp / 1000 * 24 * 60 * 60 x2 = gold x3 = silver x4 = Dollar
-
observe a nested object
getters & setters
- Defining getters and setters
- Example:
-
Javascript prototype
Code
-
Atom Note
Shortcuts
Ctrl + Shift + I
to open developer tools.Ctrl + Shift + P
to open command panel.Ctrl + Shift + F5
to reload Atom.
-
Chrome Note
Links
- Chrome开发者工具的小技巧, img
node --inspect --debug-brk app.js
- 调试临时 vm js 文件:
//@ sourceURL=dynamicScript.js
, 参考, https://stackoverflow.com/questions/17367560/chrome-development-tool-vm-file-from-javascript
-
PROJECT: code style
Javascript Code style
-
service worker for cache (PWA, HTTP2.0)
cache
-
Object.defineProperty
Doc
-
Node Attributes: nodeName, tagName, nodeType
-
Subset of Web Components
WebComponents, our future!
WebComponents is great, but it’s just too advanced so that we can’t use it on all platform.
-
Git tips
Clone and Change repo
- http://stackoverflow.com/questions/22906917/how-to-move-git-repository-with-all-branches-from-bitbucket-to-github
- http://stackoverflow.com/questions/2432764/change-the-uri-url-for-a-remote-git-repository
-
Windows 10
Commands
-
RSA note
Principles of Mathematics
-
machine learn