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
var missions = [ | |
{ | |
id: 1, | |
displayOrder: 5, | |
name: 'ID 1' | |
}, | |
{ | |
id: 2, | |
displayOrder: 4, |
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
https://www.thecpuguide.com/windows/windows-11/corrupted-files/ |
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
npx vsts-npm-auth -config .npmrc -TargetConfig ".npmrc" |
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
@Injectable() | |
export class Mock500Interceptor implements HttpInterceptor { | |
constructor() {} | |
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<any>> { | |
// before handle here... |
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
``` | |
git log --oneline --decorate | |
git log --pretty="%s" | |
git log --pretty="- %s" | |
git log --pretty="- %s" > CHANGELOG.md | |
``` |
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
nvm use 10.16.3 | |
npm uninstall -g @angular/cli | |
npm cache clean --force | |
npm install -g @angular/cli@8.3.2 |
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
/*---------------part 1-----------------*/ | |
let validCount = 0; | |
input.forEach(s => { | |
let [left, password] = s.split(': '); | |
let [policy, charToCheck] = left.split(' '); | |
let [leastPolicy, mostPolicy] = policy.split('-'); | |
let occurence = password.split(charToCheck).length - 1; | |
if(occurence >= leastPolicy && occurence <= mostPolicy) |
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
case Actions.RESET_ENROLLMENT_ORDER: | |
return Object.assign({}, init); |
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
$update_query = "UPDATE classroom_classes SET instructor_id = $z, location_id = $l WHERE ID = $i"; | |
\DB::statement($update_query); |
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
ng serve --source-map | |
ng build --prod --profile | |
ng serve -o |