$ docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {BehaviorSubject, Observable} from 'rxjs'; | |
| export class StoreService<T> { | |
| private readonly state$: BehaviorSubject<T>; | |
| protected get state(): T { | |
| return this.state$.getValue(); | |
| } | |
| constructor(initialState: T) { | |
| this.state$ = new BehaviorSubject<T>(initialState); | |
| } | |
| protected getState(): Observable<T> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #add 'node_modules' to .gitignore file | |
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin <branch-name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $fontawesome_path: "." !default | |
| @font-face | |
| font-family: 'FontAwesome' | |
| src: font-url('#{$fontawesome_path}/fontawesome-webfont.eot') | |
| src: font-url('#{$fontawesome_path}/fontawesome-webfont.eot?#iefix') format("embedded-opentype"), font-url('#{$fontawesome_path}/fontawesome-webfont.woff') format("woff"), font-url('#{$fontawesome_path}/fontawesome-webfont.ttf') format("truetype") | |
| font-weight: normal | |
| font-style: normal | |
| @mixin icon($icon) |