View temp.json
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
{ | |
"openapi": "1.0.0", | |
"info": { | |
"title": "Doctor discovery service API", | |
"description": "Doctor discovery service API.\n", | |
"contact": { | |
"email": "support@docdoc.com" | |
}, | |
"version": "v.1.0.0" | |
}, |
View ICD10CM-sample.xml
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
<?xml version="1.0" encoding="utf-8"?> | |
<ICD10CM.index> | |
<version>2020</version> | |
<title>ICD-10-CM INDEX TO DISEASES and INJURIES</title> | |
<letter> | |
<title>A</title> | |
<mainTerm> | |
<title>Aarskog's syndrome</title> | |
<code>Q87.19</code> | |
</mainTerm> |
View question.txt
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
Programming questions | |
--------------------- | |
1) | |
Write a program that prints the numbers from 1 to 100. | |
But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. | |
For numbers which are multiples of both three and five print “FizzBuzz”." | |
2) |
View bash
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
curl -s https://www.docdoc.com.sg/medicaltourism_sitemap_profile_1.xml.gz | zcat | xq -r '.urlset.url | map(.loc) | .[]' | sed -e 's/\.com/\.com\.sg/' | xargs curl --user-agent "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" -s -I -L --write-out "============== END ==============\n" | tee medicaltourism_sitemap_profile_1_crawl.txt |
View jenkins
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
pipeline { | |
agent any | |
environment { | |
NETWORK_NAME = "nextgen-backend-testnet-${BRANCH_NAME.toLowerCase()}-b${BUILD_NUMBER}" | |
BUILD_NAME = "nextgen-test/${BRANCH_NAME.toLowerCase()}:B${BUILD_NUMBER}" | |
} | |
stages { | |
stage('Build') { | |
steps { | |
echo "Docker network name: ${NETWORK_NAME}" |
View login.component.ts
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 { Component, OnInit } from '@angular/core'; | |
import {FormGroup, Validators, FormBuilder} from '@angular/forms'; | |
import { Router } from '@angular/router'; | |
import { AuthService } from '../auth.service'; | |
@Component({ | |
selector: 'app-login', | |
templateUrl: './login.component.html', | |
styleUrls: ['./login.component.css'] |
View FORMGROUP-login.component.html
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
<section class="hero "> | |
<div class="hero-body"> | |
<div class="container"> | |
<div class="column is-8 is-offset-2"> | |
<div> | |
<h3 class="title has-text-grey">Login</h3> | |
<p class="subtitle has-text-grey">Please login to proceed.</p> | |
<div class="box"> | |
<div class="notification is-danger" [hidden]="!error"> | |
View app.module.ts
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 { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { AppComponent } from './app.component'; | |
import { LoginComponent } from './login/login.component'; | |
import { ReactiveFormsModule } from '@angular/forms'; // Reactive form module added | |
import { AppRoutingModule } from './/app-routing.module'; | |
import { DashboardComponent } from './dashboard/dashboard.component'; |
View app-routing.module.ts
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 { NgModule } from '@angular/core'; | |
import { RouterModule, Route } from '@angular/router'; | |
import { LoginComponent } from './login/login.component'; | |
import { DashboardComponent } from './dashboard/dashboard.component'; | |
const routes = [ | |
{ path: 'login', component: LoginComponent }, | |
{ path: 'dashboard', component: DashboardComponent } | |
] |
View login.component.html
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
<section class="hero "> | |
<div class="hero-body"> | |
<div class="container"> | |
<div class="column is-8 is-offset-2"> | |
<div> | |
<h3 class="title has-text-grey">Login</h3> | |
<p class="subtitle has-text-grey">Please login to proceed.</p> | |
<div class="box"> | |
<div class="notification is-danger" [hidden]="!error"> | |
NewerOlder