Skip to content

Instantly share code, notes, and snippets.

View thaod's full-sized avatar

thaod

  • Ho Chi Minh City, Vietnam
View GitHub Profile
@thaod
thaod / ke-chuyen-ve-react-redux.md
Last active January 9, 2018 12:13
Kể chuyện về React/Redux

Hỏi: Ae nghĩ gì về chuyện force immutability của React/Redux? Nguyên nhân? Hiệu quả? Có làm khác đi đc ko?

TL;DR: Tính chính xác trong kiến thức công nghệ của comment này không cao để trả lời rõ ràng câu hỏi trên, nên chủ yếu mình chỉ là kể lại những gì đã xảy ra để có thêm góc nhìn thôi :).

Dựa vào trải nghiệm đầu năm 2017 khi build dự án React/Redux làm về Fintech, gắn bó chừng 4 tháng:

Nguyên nhân: Đa số là nguyên nhân chủ quan.

Vì ngày đó Redux là “the one” trong giải pháp về states manament. Nên concept của nó như rứa thì phải theo.

@thaod
thaod / sample.html
Created April 8, 2018 02:56 — forked from guillaumegarcia13/sample.html
Angular 4 ng-template & ng-container with parameters
<ng-template #followingpost let-author="author" let-age="age" let-text="text" let-badge="badge">
<div class="container-fluid">
<div class="card">
<div class="header">
<h4 class="title">{{ author }}</h4>
<p class="category">il y a {{ age }} jours</p>
</div>
<div class="content" [innerHTML]="text">
</div>
@thaod
thaod / iterm2.md
Created July 31, 2019 02:42 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)