- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| const data = { | |
| "success": true, | |
| "data": { | |
| "id": "", | |
| "created_at": 1633428401, | |
| "updated_at": 1633428401, | |
| "name": "", | |
| "code": "", | |
| "logo_url": "", | |
| "account_type": [ |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = pavan.sss1991@gmail.com | |
| username = pksunkara | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls |
| import * as React from 'react'; | |
| interface AccountsState { | |
| searchText: string; | |
| formData: any; | |
| key: string; | |
| date: ''; | |
| selectAll: any, | |
| } |
| <input id="input" onchange="app.add(this)"> | |
| <ul class="todolist" id="todo"> | |
| </ul> | |
| <button onclick="app.completed()"> completed </button> | |
| <button onclick="app.active()"> active </button> | |
| <button onclick="app.loadTodos()"> clear </button> |
| # System Design Cheatsheet | |
| > Picking the right architecture = Picking the right battles + Managing trade-offs | |
| ## Basic Steps | |
| 1) **Clarify and agree on the scope of the system** | |
| * **User cases** (description of sequences of events that, taken together, lead to a system doing something useful) | |
| * Who is going to use it? | |
| * How are they going to use it? |
| # System Design Cheatsheet | |
| > Picking the right architecture = Picking the right battles + Managing trade-offs | |
| ## Basic Steps | |
| 1) **Clarify and agree on the scope of the system** | |
| * **User cases** (description of sequences of events that, taken together, lead to a system doing something useful) | |
| * Who is going to use it? | |
| * How are they going to use it? |
| class PromiseSimple { | |
| constructor(executionFunction) { | |
| this.promiseChain = []; | |
| this.handleError = () => {}; | |
| this.onResolve = this.onResolve.bind(this); | |
| this.onReject = this.onReject.bind(this); | |
| executionFunction(this.onResolve, this.onReject); | |
| } |
Picking the right architecture = Picking the right battles + Managing trade-offs