上一页 1 ··· 362 363 364 365 366 367 368 369 370 ··· 494 下一页
摘要: image: stopped container Run a container: Run in background. Stop it: Start it again: Stop all the running containers: Remove all the containers: remo 阅读全文
posted @ 2017-03-08 03:23 Zhentiw 阅读(275) 评论(0) 推荐(0)
摘要: Install the rest api framework: In settings.py: Create serializers to transform python to JSON: It will according to 'Card' and 'List' Models to gener 阅读全文
posted @ 2017-03-08 02:46 Zhentiw 阅读(178) 评论(0) 推荐(0)
摘要: When we move from CSS to defining styles inside components we lose the ability to override styles with an external style sheet. We also lose the abili 阅读全文
posted @ 2017-03-07 20:46 Zhentiw 阅读(688) 评论(0) 推荐(0)
摘要: We have all this data, but how do we answer questions about it? In this lesson we’ll learn how to filter down to just the information we’re looking fo 阅读全文
posted @ 2017-03-07 19:35 Zhentiw 阅读(163) 评论(0) 推荐(0)
摘要: // Insert one row INSERT INTO movies (title, release_date, count_stars, director_id) VALUES ( 'Kill Bill', '10-10-2003', 3, 1 ); // Insert multi rows INSERT INTO movies (title, release_... 阅读全文
posted @ 2017-03-07 19:29 Zhentiw 阅读(194) 评论(0) 推荐(0)
摘要: In this lesson, we'll look at how we can use Ramda's invoker and constructNfunctions to take methods of an object and turn them into reusable utility 阅读全文
posted @ 2017-03-07 16:24 Zhentiw 阅读(206) 评论(0) 推荐(0)
摘要: Now let's see how to access admin interface. 1. Create a super user which can access admin interface: 2. Inside admin.py, we import the Models we have 阅读全文
posted @ 2017-03-07 04:01 Zhentiw 阅读(412) 评论(0) 推荐(0)
摘要: TypeScript has 'interface' and 'type', so when to use which? It is recommended that to use 'interface' to define the props that obj should have. 'type 阅读全文
posted @ 2017-03-06 19:48 Zhentiw 阅读(212) 评论(0) 推荐(0)
摘要: I can use <tamplete> syntax and a entry component as a container to create a dynamic component. Notice it will create a empty div as a placeholder in 阅读全文
posted @ 2017-03-06 19:30 Zhentiw 阅读(1239) 评论(0) 推荐(0)
摘要: To create a dynamic template, we need to a entry component as a placeholder. Then we can use entry component to create a new Tamplete into it. As we c 阅读全文
posted @ 2017-03-06 19:11 Zhentiw 阅读(251) 评论(0) 推荐(0)
上一页 1 ··· 362 363 364 365 366 367 368 369 370 ··· 494 下一页