I hereby claim:
- I am ngnam on github.
- I am namnv39 (https://keybase.io/namnv39) on keybase.
- I have a public key ASBNrpWBYVBjzQBCc9_D04fMxtlOIJzTNl-Ps5nx_xa_hgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { Injectable } from '@angular/core'; | |
import { | |
HttpClient, | |
HttpHeaders, | |
HttpParams, | |
HttpResponse | |
} from '@angular/common/http'; | |
import { Observable, of } from 'rxjs'; | |
import { map, catchError } from 'rxjs/operators'; |
import { HttpClient, HttpEventType, HttpRequest } from "@angular/common/http"; | |
import { Injectable } from "@angular/core"; | |
import { Observable, of } from "rxjs"; | |
@Injectable({ providedIn: "root" }) | |
export class FileService { | |
constructor(private readonly http: HttpClient) { } | |
upload(files: FileList): Observable<number> { | |
if (files.length === 0) { |
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"peacock.favoriteColors": [ | |
{ | |
"name": "Angular Red", | |
"value": "#b52e31" | |
}, | |
{ | |
"name": "JavaScript Yellow", | |
"value": "#f9e64f" |
dist: trusty | |
sudo: false | |
language: node_js | |
node_js: | |
- '10 ' | |
cache: | |
directories: | |
- ./node_modules |
import { Injectable } from '@angular/core'; | |
import { | |
HttpEvent, | |
HttpInterceptor, | |
HttpHandler, | |
HttpRequest, | |
HttpResponse | |
} from '@angular/common/http'; | |
import { Observable, Subscriber } from 'rxjs'; |
/** | |
* Simple logger system with the possibility of registering custom outputs. | |
* | |
* 4 different log levels are provided, with corresponding methods: | |
* - debug : for debug information | |
* - info : for informative status of the application (success, ...) | |
* - warning : for non-critical errors that do not prevent normal application behavior | |
* - error : for critical errors that prevent normal application behavior | |
* | |
* Example usage: |
import { Injectable } from '@angular/core'; | |
import { | |
HttpEvent, | |
HttpInterceptor, | |
HttpHandler, | |
HttpRequest, | |
HttpResponse | |
} from '@angular/common/http'; | |
import { Observable } from 'rxjs'; | |
import { catchError } from 'rxjs/operators'; |
Name: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
Thank you! |
Name : Sam | |
Serial : eJzzzU/OLi0odswsqglOzK0xsjQzNzI2NjA1q3GuMQQAnJAJjw== |