This file contains 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 { Injectable } from '@angular/core'; | |
import { ActivatedRouteSnapshot, CanActivate, CanLoad, Route, Router, RouterStateSnapshot } from '@angular/router'; | |
import { Observable } from 'rxjs'; | |
import { AuthenticationService } from 'src/app/Services/Authentication/authentication.service'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class AuthGuard implements CanActivate, CanLoad { |
This file contains 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
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"console_title_template": "", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, |
This file contains 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
choco install googlechrome | |
choco install 7zip.install | |
choco install virtualclonedrive --allow-empty-checksums | |
choco install filezilla --allow-empty-checksums | |
choco install dropbox --allow-empty-checksums | |
choco install windirstat --allow-empty-checksums | |
choco install greenshot --allow-empty-checksums | |
choco install foxitreader --allow-empty-checksums | |
choco install kindle --allow-empty-checksums |
This file contains 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 { HttpClientModule } from '@angular/common/http'; | |
import { fakeAsync, TestBed } from '@angular/core/testing'; | |
import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; | |
import { AuthGuard } from './auth.guard'; | |
class MockActivatedRouteSnapshot { | |
private _data: any; | |
get data(){ | |
return this._data; | |
} |
This file contains 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
choco install googlechrome | |
choco install 7zip.install | |
choco install vlc | |
choco install virtualclonedrive --allow-empty-checksums | |
choco install speccy | |
choco install sysinternals | |
choco install filezilla --allow-empty-checksums | |
choco install dropbox --allow-empty-checksums | |
choco install windirstat --allow-empty-checksums |