上一页 1 2 3 4 5 6 ··· 12 下一页
2017年9月19日
摘要: <span *ngFor="let op of [{'id':'a','text':'11'},{'id':'b','text':'2222'},{'id':'cc','text':'3333'}]" class="form-check"> <input type="checkbox" [name] 阅读全文
posted @ 2017-09-19 05:40 jayruan 阅读(313) 评论(0) 推荐(0) 编辑
2017年9月6日
摘要: var text = document.querySelector('#text'); var inputStream = Rx.Observable.fromEvent(text, 'keyup') .debounceTime(250) .pluck('target', 'value') .swi 阅读全文
posted @ 2017-09-06 21:33 jayruan 阅读(96) 评论(0) 推荐(0) 编辑
2017年8月5日
摘要: <link rel="stylesheet" href="css/1.css" media="(max-width:479px)"/><link rel="stylesheet" href="css/1.css" media="(min-width: 480px) and (max-width: 7 阅读全文
posted @ 2017-08-05 21:18 jayruan 阅读(143) 评论(0) 推荐(0) 编辑
2017年8月2日
摘要: 如果您的应用程序不工作,或者您希望在寻找更多信息,这 20 个命令将派上用场。 在这个全新的工具和多样化的开发环境井喷的大环境下,任何开发者和工程师都有必要学习一些基本的系统管理命令。特定的命令和工具包可帮助开发者组织、排查故障并优化他们的应用程序,而且当出现错误时,也可以为运维人员和系统管理员提供 阅读全文
posted @ 2017-08-02 22:27 jayruan 阅读(249) 评论(0) 推荐(0) 编辑
2017年7月28日
摘要: https://cnodejs.org/topic/59264f62855efbac2cf7a2f3 背景 现有1000条学生记录,结构如下: 需求 要求统计1000个学生的所在班级列表,列表内容如下(模拟数据,不要在意统计的合理不合理): 班级名称 | 在校人数 | 离校人数 | 没有迟到标记的在 阅读全文
posted @ 2017-07-28 03:19 jayruan 阅读(269) 评论(0) 推荐(0) 编辑
2017年7月12日
摘要: db.itemsView.drop(); db.items.aggregate([ { "$match": { "status": "true" } }, { "$unwind": { "path": "$globalOptions", "preserveNullAndEmptyArrays": t 阅读全文
posted @ 2017-07-12 10:44 jayruan 阅读(170) 评论(0) 推荐(0) 编辑
2017年7月10日
摘要: 1,传值问题 page setValue: [routerLink]="['/product-details', product.id]"> ts seValue: this.router.navigate(['/product-details', id]); ts getVaue: constru 阅读全文
posted @ 2017-07-10 22:10 jayruan 阅读(256) 评论(0) 推荐(0) 编辑
2017年7月9日
摘要: /* var str="<body class='ss'>1111</body><b>3333,</b>";var html=/<(.|\n)+?>/ig; console.log(str.replace(html,"")); *//* var str="<body class='ss'>1111< 阅读全文
posted @ 2017-07-09 00:18 jayruan 阅读(155) 评论(0) 推荐(0) 编辑
2017年6月28日
摘要: @mixin angle($direction,$color,$value,$start){ content:""; position:absolute; @if $direction=="bottom"{ border-top:solid $color $value; border-right:s 阅读全文
posted @ 2017-06-28 02:49 jayruan 阅读(192) 评论(0) 推荐(0) 编辑
2017年5月22日
摘要: 作者:寒小阳 时间:2013年9月。出处:http://blog.csdn.net/han_xiaoyang/article/details/12163251。 0、前言 从这一部分开始直接切入我们计算机互联网笔试面试中的重头戏算法了,初始的想法是找一条主线,比如数据结构或者解题思路方法,将博主见过 阅读全文
posted @ 2017-05-22 21:35 jayruan 阅读(947) 评论(0) 推荐(0) 编辑
2017年5月11日
摘要: https://golb.hplar.ch/p/Hot-deploy-updates-with-the-cordova-hot-code-push-pluginnpm install @angular/{common,compiler,compiler-cli,core,forms,http,pla 阅读全文
posted @ 2017-05-11 12:46 jayruan 阅读(2539) 评论(1) 推荐(0) 编辑
2017年5月6日
摘要: var handler={ message:"Event handled.", handlerFun:function(){ alert(this.message) } }; //document.getElementById('btnTest').onclick=handler.handlerFu 阅读全文
posted @ 2017-05-06 04:06 jayruan 阅读(169) 评论(0) 推荐(0) 编辑
2017年4月8日
摘要: #! /bin/bashdataDb=$1PATH=/usr/local/bin:$PATHmongodump -d $dataDb -o /tmpdate=$(date +"%Y%m%d-%H%M%S$dataDb")tar -zcvf /usr/share/app/mongo/$date.tar 阅读全文
posted @ 2017-04-08 10:04 jayruan 阅读(323) 评论(0) 推荐(0) 编辑
2017年3月31日
摘要: console.log("ok") /*var images = require("images");var fs = require("fs");var path = require("path"); var images = require("images"); images(path.join 阅读全文
posted @ 2017-03-31 01:12 jayruan 阅读(161) 评论(0) 推荐(0) 编辑
2017年3月22日
摘要: rm -rf /tmp/mongodump && mkdir /tmp/mongodumpdocker run -it --rm --link lps-mongodb:mongo -v /tmp/mongodump:/tmp mongo bash -c 'mongodump -h mongo -d 阅读全文
posted @ 2017-03-22 23:12 jayruan 阅读(1128) 评论(1) 推荐(0) 编辑
2017年3月7日
摘要: AND (&&): OR (||): 阅读全文
posted @ 2017-03-07 07:14 jayruan 阅读(266) 评论(0) 推荐(0) 编辑
2017年3月6日
摘要: <li *ngFor="let fruit of fruitsList; let i = index;">{{i}}-{{fruit.name}}-{{fruit.price}}</li><p *ngIf="fruitsList.length > 3">fruitsList's length is 阅读全文
posted @ 2017-03-06 13:23 jayruan 阅读(235) 评论(0) 推荐(0) 编辑
2017年2月12日
摘要: 组件之间的共享可以有好几种方式 http://learnangular2.com/outputs/ 实例参考https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#parent-to-child实例参考 ht 阅读全文
posted @ 2017-02-12 23:57 jayruan 阅读(899) 评论(0) 推荐(0) 编辑
2017年2月11日
摘要: npm install npm@latest -g sublime3 installhttps://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript14forVisualStudio2013-13057ctrl 阅读全文
posted @ 2017-02-11 00:18 jayruan 阅读(128) 评论(0) 推荐(0) 编辑
2017年2月5日
摘要: var _ = ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09'], //补零 d = new Date(), h = d.getHours(), m = d.getMinutes(), s = d.getSeconds(); r 阅读全文
posted @ 2017-02-05 06:10 jayruan 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页