上一页 1 ··· 488 489 490 491 492 493 494 495 496 ··· 499 下一页
摘要: File Read StreamLets use thefsmodule to read a file and log its contents to the console.Use thefsmodule to create aReadablestream forfruits.txt. Store... 阅读全文
posted @ 2014-11-02 23:17 Zhentiw 阅读(926) 评论(0) 推荐(0)
摘要: Chat EmitterWe're going to create a custom chat EventEmitter.Create a newEventEmitterobject and assign it to a variable called 'chat'.var chat = new E... 阅读全文
posted @ 2014-11-02 22:53 Zhentiw 阅读(695) 评论(0) 推荐(0)
摘要: Note: Can use $dirty to check whether user has intracted with the form:https://docs.angularjs.org/api/ng/type/form.FormControllerRead More:http://www.... 阅读全文
posted @ 2014-11-02 00:18 Zhentiw 阅读(633) 评论(0) 推荐(0)
摘要: Set up server for JWT Authentication 1. require express 2. require faker: If faker is not install yet, do: npm install express faker // faker is what 阅读全文
posted @ 2014-10-15 22:32 Zhentiw 阅读(1427) 评论(0) 推荐(0)
摘要: Better use @extend with % placeholder.Extend is useful when you want to reuse some of you class. Always use % placeholder.EXTEND IIt looks like.bluepr... 阅读全文
posted @ 2014-09-17 01:46 Zhentiw 阅读(450) 评论(0) 推荐(0)
摘要: When to use MIXIN?Better way to use MIXIN is when you deal with browser prefiex, for example:@mixin transition($val...){ -webkit-transition: $val; ... 阅读全文
posted @ 2014-09-17 01:21 Zhentiw 阅读(380) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-09-09 21:24 Zhentiw 阅读(33) 评论(0) 推荐(0)
摘要: $(document).ready(function(){ // Get Weather $('button').on('show.weather', function() { var results = $(this).closest('li').find('.results'); results 阅读全文
posted @ 2014-08-22 04:00 Zhentiw 阅读(297) 评论(0) 推荐(0)
摘要: $.map function will return the modifies array. $.each function will not new a new array, the old value will still be the same. detach() funciton will 阅读全文
posted @ 2014-08-22 01:11 Zhentiw 阅读(297) 评论(0) 推荐(0)
摘要: #self aside li{ list-style-type: none;padding:5px;border-bottom: 1px solid #ccc;} #self aside li:last-child{border:0;} To remove last li's border; 阅读全文
posted @ 2014-08-14 04:34 Zhentiw 阅读(281) 评论(0) 推荐(0)
上一页 1 ··· 488 489 490 491 492 493 494 495 496 ··· 499 下一页