-
React快速入门(二)
ReactDOM.render( <div class="commentBox">Hello, This is a commentBox!</div>, docu...2016 年 5 月 13 日 -
React快速入门(一)
React官方初学者示例 先来看一个入门示例, index.js: <script type="text/babel" src="index.js"><...2016 年 5 月 12 日 -
Centos7下使用crontab来执行定时任务
Centos下,使用crontab能设置定时任务,达到定时执行的目的。 crontab的基本用法: vim /ect/crontab */5 * ...2016 年 3 月 30 日 -
使用ssh密钥来避免git操作时频繁输入账号密码
今天在coding.net上创建私有仓库后,发现每次git操作都需要输入账号密码,简直不胜其烦。于是,就使用了ssh密钥,避免了频繁...2016 年 3 月 25 日 -
利用charCodeAt和fromCharCode进行数字和unicode编码的转换
String.fromCharCode(65); // A 'A'.charCodeAt(0); // 65 12 ...2016 年 3 月 14 日 -
JavaScript正则表达式匹配连续相同的字符串
var c = "aaabc"; var r = /(\w)\1{2}/; r.test(c); 123 var...2016 年 3 月 14 日 -
jquery选择器汇总
$('#J_Btn') $('.J_Cls'); $('div'); $('#J_Btn, .J_Cls, div'); // 联合选择 $('*');// 选中所有的元...2016 年 3 月 10 日