Skip to content

Instantly share code, notes, and snippets.

View NguyenThienLy's full-sized avatar
💭
pure kid

Nguyen Thien Ly NguyenThienLy

💭
pure kid
View GitHub Profile
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "Main service - Lotus Fitness",
"description": "Design, description of Lotus Fitness API"
},
"servers": [
{
"url": "http://localhost:3000/api/v1/"

Vocabulary

  • [1]taste: Gu
  • [2]preferences
  • [3]embarrassing: Lúng túng
  • [4]peculiar: Kinh ngạc
  • [5]bizarre: Kỳ quái
  • [6]norm: Bình thường
  • [7]weird: Kỳ dị
  • [8]misconception: Quan niệm sai lầm
@NguyenThienLy
NguyenThienLy / extendsions-vs-code
Created June 8, 2020 03:41
extendsions-vs-code
#hello
@NguyenThienLy
NguyenThienLy / synthesis-about-git.md
Last active May 3, 2020 08:54
synthesis-about-git.md

Synthesis about git

New key word

  • synthesis: tổng hợp
  • nature: bản chất

Remote

To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at.

S — Single responsibility principle

“Do one thing and do it well”

class or module should have one, and only one, reason to be changed.

Incorrect

class User
{
@NguyenThienLy
NguyenThienLy / what-is-closure.md
Created April 10, 2020 18:05
what is closure? (Closure là gì vậy?)

Mục lục

  1. Vấn đề
  2. Lexical scoping là gì ?
  3. Closure là gì?
  4. Giả lập class bằng closures
  5. Closure Scope Chain
  6. Các bài phỏng vấn thường thấy về closure
  7. Kết bài

0. Vấn đề

@NguyenThienLy
NguyenThienLy / 2-Create-home-page.md
Created April 10, 2020 10:03
2 Create home page

Series về cách tạo một CV đơn giản nhưng cực chất cho dev cực chất

  1. Phần 1: Chuẩn bị và cấu trúc project html, css, js cùng BEM thần thánh (Link)
  2. Phần 2: Thiết kế, lắp ráp index-page và deploy lên github-page (Link)
  3. Phần 3: Refactor code và các chú ý về BEM
  4. Phần 4: Thiết kế và fetch Gist, lắp ráp blog-page và deploy lên github-page

2. Phần 2: Thiết kế, lắp ráp index-page và deploy lên github-page

Series về cách tạo một CV đơn giản nhưng cực chất cho dev cực chất

  1. Phần 1: Chuẩn bị và cấu trúc project html, css, js cùng BEM thần thánh (Link)
  2. Phần 2: Thiết kế, lắp ráp index-page và deploy lên github-page (Link)
  3. Phần 3: Refactor code và các chú ý về BEM
  4. Phần 4: Thiết kế và fetch Gist, lắp ráp blog-page và deploy lên github-page

1. Phần 1: Chuẩn bị và cấu trúc project html, css, js cùng BEM thần thánh

Mục lục

  1. Vấn đề

Mục lục

  1. Vấn đề
  2. Jade là gì ?
  3. Cài đặt thư mục static (express) và dùng jade trong typescript
  4. Cài đặt package coppyfiles
  5. Tạo Key api trong google và chèn map google vào html của bạn
  6. Embed map dark-sky vào html của bạn
  7. Kết bài
@NguyenThienLy
NguyenThienLy / Unit-test-in-typescript-by-jest.md
Created April 1, 2020 06:40
Unit-test-in-typescript-by-jest

Mục lục

  1. Vấn đề
  2. Chuẩn bị
  3. Unit testing là gì?
  4. Jest là gì?
  5. Config jest
  6. Demo nhẹ
  7. Kết bài