Skip to content

Instantly share code, notes, and snippets.

View andy3520's full-sized avatar
🎯
Focusing

An Nguyen Hieu Duc andy3520

🎯
Focusing
  • Nab Vietnam
  • Ho Chi Minh
View GitHub Profile

Resource:

User -> have many post User -> have many todo User -> have many album | Album -> have many photo User -> User

Post:

  1. GET /posts - Get all post
  2. POST

Keybase proof

I hereby claim:

  • I am andy3520 on github.
  • I am annhd (https://keybase.io/annhd) on keybase.
  • I have a public key whose fingerprint is BC1D 8F56 F5E8 D829 EBEA 8AB5 9988 7953 4DFA 94F8

To claim this, I am signing this object:

@andy3520
andy3520 / setting.json
Created August 27, 2019 06:41
vscode setting
{
"editor.rulers": [
80
],
"editor.renderWhitespace": "boundary",
"editor.renderIndentGuides": true,
"editor.renderControlCharacters": true,
"editor.scrollBeyondLastLine": false,
"editor.hideCursorInOverviewRuler": false,
"editor.wordWrap": "wordWrapColumn",
@andy3520
andy3520 / download_egghead_videos.md
Created June 26, 2019 09:08 — forked from ldong/download_egghead_videos.md
download egghead videos

Download videos from egghead

Go to the egghead website, i.e. Building a React.js App

run

$.each($('h4 a'), function(index, video){
  console.log(video.href);
});

03/05/2019

Hoàng

1
  1. Chỉnh và merge code phân quyền hr cho route data, nếu không có quyền thì redirect về '/#/403'(t đã set up giao diện ở Angular) ---> Redirect fail
2
  1. Xử lý trường hợp khi không gọi được role api hoặc không có role nào được gán cho user đó thì bỏ qua và gán user bằng rỗng, do nếu không có mạng hoặc gọi api không được thì app sẽ không lấy được current user. ---> Thiếu trường hợp gọi api lỗi
11
  1. Solution ? cho việc gửi mail cho manager, trường hợp khi có một nhân viên phù hợp với project nào đó nhưng hiện tại nhân viên đó đang bận, nếu trong thời gian project chưa finished mà nhân viên đó xong dự án đang tham gia thì hệ thống sẽ gửi mail báo cho nhân viên quản lý dự án, (có thể làm chức năng này cho phép nhân viên quản lý dự án tự cài đặt thời gian nhắc mail)