摘要: mongod --dbpath "E:/mongodb/data" --directoryperdb --logpath "E:/mongodb/logs/mongodb.log" --install --serviceName "MongoDB" 阅读全文
posted @ 2015-11-22 21:22 吉吉蟹 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 出现1px边框的原因是:1px使用2dp渲染IOS8支持0.5px;仅IOS8能用解决办法sacleY(.5)例子给li添加1px边框 1 li{ 2 position:relative; 3 color: #ccc; 4 } 5 6 li+li:before{ 7 posi... 阅读全文
posted @ 2015-09-16 11:22 吉吉蟹 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 //单行文本溢出... 2 .singleline{ 3 overflow: hidden; 4 white-space: nowrap; 5 text-overflow: ellipsis; 6 } 7 8 //多行文本溢出... 9 10 .morel... 阅读全文
posted @ 2015-09-16 11:13 吉吉蟹 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 先安装 bower <code npm install g bower </code 然后在自己的项目目录里设置下载路径,创建.bowerrc文件 <code { "directory" : "public/lib" } </code 然后 <code bower init </co... 阅读全文
posted @ 2015-09-15 22:25 吉吉蟹 阅读(95) 评论(0) 推荐(0) 编辑
摘要: On Windows: "...chrome.exe" allow file access from files or "...chrome.exe" allow file access from files disable web security On Mac: open /Applica... 阅读全文
posted @ 2015-09-15 15:35 吉吉蟹 阅读(1265) 评论(0) 推荐(0) 编辑
摘要: https://github.com/emmetio/pyv8 binaries readme 上面的连接下载,然后将解压后的文件,放到sublime的根目录下,就不报错了 阅读全文
posted @ 2015-09-07 16:07 吉吉蟹 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 找到用户名/.npmrc文件,然后打开 镜像使用方法(三种办法任意一种都能解决问题,建议使用第三种,将配置写死,下次用的时候配置还在): 1.通过config命令 npm config set registry https://registry.npm.taobao.org npm... 阅读全文
posted @ 2015-09-06 12:35 吉吉蟹 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 出现 Bower : ENOGIT git is not installed or not in the PATH错误,则需要配置你的Git到path,具体如下 方法一:假如你的git安装目录是"C:\Camnpr\Program Files (x86)\Git",在path中加入git的bin和c... 阅读全文
posted @ 2015-09-04 20:44 吉吉蟹 阅读(868) 评论(0) 推荐(0) 编辑
摘要: > 安装完sass和compass后创建工程> 执行编译compass compile> 实时监控sass文件的变换compass watch> sass文件和scss文件的装换,进入其所在文件夹sass-convert .sass/.scss .scss/sass compass create我... 阅读全文
posted @ 2015-06-27 23:28 吉吉蟹 阅读(211) 评论(0) 推荐(0) 编辑
摘要: > sass运行在ruby环境下,首先要安装ruby。> * #[ruby下载](http://rubyinstaller.org/downloads/ "下载链接")> > ![](http://images0.cnblogs.com/blog2015/660345/201506/27105155... 阅读全文
posted @ 2015-06-27 10:15 吉吉蟹 阅读(249) 评论(0) 推荐(0) 编辑