Skip to content

Instantly share code, notes, and snippets.

View romko391's full-sized avatar
🎯
Focusing

Romko romko391

🎯
Focusing
View GitHub Profile
@romko391
romko391 / dmytro holysh gaps.md
Last active November 20, 2019 13:46
dmytro holysh gaps

OOD

  • Anti-patterns
  • class vs interface
  • microservices
  • polymorphism
  • patterns
    • pub-sub
    • observer
    • adapter
    • strategy
@romko391
romko391 / node.js gaps.md
Last active October 26, 2019 17:41
node.js gaps
  • at least one framework e.g. express

  • at least one db/orm/odm

  • at least one deployment service e.g. docker, aws ...

  • streams in node js

  • pipe stream method

  • high water mark

  • child_process, cluster, worker_threads libs

  • threading in node js

  • event loop phases & queues, micro-macro tasks

@romko391
romko391 / Angular app.md
Last active October 23, 2019 09:14
Angular app

Preconditions

  • node with npm installed
  • @angular/cli installed or run npm i -g @angular/cli@latest
  • vscode , webstorm or other editor installed
  • feeling adventurous :)
  • We'll be using https://jsonplaceholder.typicode.com/ as a data source

Tips

  • use ng generate command from @angular/cli to generate anything quickly
@romko391
romko391 / Angular basics.md
Last active October 22, 2019 15:25
Angular basics

Components vs Directives

  • what's the scope of usage of each one, when to chose what

Directives

  • structural vs non-structural
  • *ngIf, *ngFor, ngSwitch, *ngTemplateOutlet, *ngComponentOutlet
  • ng-template, ng-container, ng-content elements
  • performance optimisations for *ngFor

Pipes

Verifying that "romko391.id" is my Blockstack ID. https://onename.com/romko391