上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 494 下一页
摘要: GTD method rests on the idea of moving planned tasks and projects out of the mind by recording them externally and then breaking them into actionable 阅读全文
posted @ 2020-02-15 21:49 Zhentiw 阅读(211) 评论(0) 推荐(0)
摘要: Setting up a Presentational Component: import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from '@angular/core'; import {Course 阅读全文
posted @ 2020-02-14 17:19 Zhentiw 阅读(518) 评论(0) 推荐(0)
摘要: Much of our code in real life is full of if statements that check the validity of a given input to see if a given computation should be performed. Usi 阅读全文
posted @ 2020-02-14 03:22 Zhentiw 阅读(126) 评论(0) 推荐(0)
摘要: How to test a service The service we want to test against: import {Injectable} from '@angular/core'; import {LoggerService} from './logger.service'; @ 阅读全文
posted @ 2020-02-12 16:50 Zhentiw 阅读(469) 评论(0) 推荐(0)
摘要: Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] 阅读全文
posted @ 2020-02-12 02:39 Zhentiw 阅读(219) 评论(0) 推荐(0)
摘要: Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 /** * Definition for a binary tree node. * function 阅读全文
posted @ 2020-02-10 20:46 Zhentiw 阅读(116) 评论(0) 推荐(0)
摘要: it ('should add two numbers', () => { const logger = jasmine.createSpyObj('LoggerService', ['log']) // logger.log.and.returnValue(); const calculator 阅读全文
posted @ 2020-02-10 02:52 Zhentiw 阅读(190) 评论(0) 推荐(0)
摘要: Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] 阅读全文
posted @ 2020-02-07 04:24 Zhentiw 阅读(121) 评论(0) 推荐(0)
摘要: "scripts": { "ng": "ng", "start": "ng serve --proxy-config ./proxy.json", "server": "ts-node -P ./server/server.tsconfig.json ./server/server.ts", "bu 阅读全文
posted @ 2020-02-07 04:00 Zhentiw 阅读(142) 评论(0) 推荐(0)
摘要: // include all the scss @import "~@angular/material/theming"; // Include non-theme styles for core. @include mat-core(); $mat-custom-primary-theme: ( 阅读全文
posted @ 2020-02-05 04:17 Zhentiw 阅读(207) 评论(0) 推荐(0)
上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 494 下一页