Skip to content

Instantly share code, notes, and snippets.

@tuanngominh
tuanngominh / Pull request checklist.md
Created March 23, 2020 03:16
Pull request checklist, angular, observable, ngrx

Angular

Observable

  • Unsubscribe observable in ngrx effect (on logout)
  • Using async pipe in component instead of manually subscribe observable
@tuanngominh
tuanngominh / UI frameworks for data apps
Created March 22, 2020 07:52
UI framework data app form widget angular react vue
### React
- https://github.com/datorama/app-components/tree/master/app
- https://github.com/neherlab/covid19_scenarios/issues
### Angular
- https://github.com/Teradata/covalent
- https://clarity.design/documentation
### Vue
- https://www.holistics.io/ from angularjs to vue
@tuanngominh
tuanngominh / storybook.md
Last active February 13, 2020 04:31
storybook, angular
@tuanngominh
tuanngominh / celery.md
Last active January 21, 2020 03:23
Celery task queue
@tuanngominh
tuanngominh / migrate-out-of-nx-workspace.md
Last active October 18, 2019 08:35
Migrate out of NX workspace study

monorepo for multiple languages apps

Goal:

  • Every apps work with each other in a single commit.
  • No need to manage versions between different apps in different repos.
  • Each language has its own advantages in one area like python is good for data crunching, typescript is working well with nosql db and only good option in angular.

Challenge:

Development flow for apps in different languages.

Each language like js has npm for running command like lint, code format, test, install dependency; nx, lerna for monorepo.

@tuanngominh
tuanngominh / typescript diagram tool.md
Last active April 2, 2020 03:20
typescript diagram tool case study
@tuanngominh
tuanngominh / pipenv.sh
Last active April 19, 2019 05:05
pipenv
# DEBUG --------------------
# remove all packages from virtualenv but keep the Pipfile unchanged
pipenv uninstall --all
# show the dependency from installed package in virtual env, not the package in Pipefile or Pipefile.lock
pipenv graph
# using iterm session log to store log to file
pipenv lock --verbose
@tuanngominh
tuanngominh / docker-cheatset.md
Last active September 17, 2019 03:32
docker, docker composer cheatseat