上一页 1 ··· 356 357 358 359 360 361 362 363 364 ··· 498 下一页
摘要: import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'filesize' }) export class FileSizePipe implements PipeTransform { transform(size: number, extension: string = 'MB') { retu... 阅读全文
posted @ 2017-04-30 15:53 Zhentiw 阅读(276) 评论(0) 推荐(0)
摘要: In this lesson, we will use Chai's request method to test our Node application's API responses.By the end of this lesson, you will know how to:- insta 阅读全文
posted @ 2017-04-29 01:29 Zhentiw 阅读(346) 评论(0) 推荐(0)
摘要: Say you have an array that has at least one item repeated. How would you find the repeated item. This is a question commonly presented to beginner dev 阅读全文
posted @ 2017-04-28 02:45 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: Define a auxilliary router: HTML: Routing by routerLink: Clean auxiliary router: Routing by JS: RouterLink's advantage: Angular will convert routerLin 阅读全文
posted @ 2017-04-27 03:16 Zhentiw 阅读(356) 评论(0) 推荐(0)
摘要: First, start the env: Then cd to our module Create a new app: Create a api.py inside auth_api folder: auth_api/serialilzer.py auth_api/urls.py: top le 阅读全文
posted @ 2017-04-26 18:53 Zhentiw 阅读(335) 评论(0) 推荐(0)
摘要: export class MailFolderComponent implements OnInit{ title: Observable; messages: Observable; constructor( private route: ActivatedRoute ){ } ngOnInit() { this.messages = thi... 阅读全文
posted @ 2017-04-26 03:35 Zhentiw 阅读(514) 评论(0) 推荐(0)
摘要: In this lesson, we will look at docker container prune to remove old docker containers. We can also use docker system prune to clean up any containers 阅读全文
posted @ 2017-04-25 21:15 Zhentiw 阅读(335) 评论(0) 推荐(0)
摘要: We can compose lenses to get value: 阅读全文
posted @ 2017-04-25 20:56 Zhentiw 阅读(141) 评论(0) 推荐(0)
摘要: In this lesson we will cover how to build your own custom Docker image from scratch. We'll walk through the process of starting a Debian container, in 阅读全文
posted @ 2017-04-25 16:25 Zhentiw 阅读(305) 评论(0) 推荐(0)
摘要: Copy/pasting the same code is redundant and updating copy/pasted code slows development velocity. Mixins are reusable chunks of code that are included 阅读全文
posted @ 2017-04-25 03:55 Zhentiw 阅读(328) 评论(0) 推荐(0)
上一页 1 ··· 356 357 358 359 360 361 362 363 364 ··· 498 下一页