css3属性-webkit-font-smoothing


CSS3里面加入了一个“-webkit-font-smoothing”属性。 这个属性可以使页面上的字体抗锯齿,使用后字体看起来会更清晰舒服。…
Read more ⟶

[解决问题]Cordova : Command failed with exit code 1


OS: Ubuntu 15.4 Cordova : 5.1.1 Ionic: 1.6.4 错误一:Command failed with exit code 1 Error: /root/workspace/web/myApp/platforms/ios/cordova/build: Command failed with exit code 1 at ChildProcess.whenDone (/usr/local/node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Process.ChildProcess._handle.onexit (child_process.js:1087:5) 如图: 解决方法: chmod -R 777 ~/.cordova/lib/npm_cache/cordova-android/4.0.2/package/bin 错误二: android_home 环境变量未找到 [Error: Android…
Read more ⟶

《捉妖记》观影感


最近看了三部电影,《道士下山》《路人甲》《捉妖记》,走出影院,都是相同的感受——心酸。 《道士下山》,不必多说,看到陈凯歌导演一把年纪拍成那个…
Read more ⟶

[转]ECMAScript函数的原型


函数的原型基本概念 每个函数都有一个原型(prototype)属性; 原型属性是一个指针,指向一个对象; 对象的用途是包含可以由特定类型的所有实例…
Read more ⟶

[已解决]git中push origin master出错:error: src refspec master does not match any


解决git中push origin master出错:error: src refspec master does not match any 先去add,再commit,然后再push,就可以了: 解决github pu…
Read more ⟶

Python获取股票代码


目标 获取目前国内的主要股票代码,包括A股、B股、创业板等股票名称和代码 方法 网上寻找股票、基金等分类,收集分类信息 网上寻找包含所有股票代码的网…
Read more ⟶

64位ubuntu运行adt缺少libstdc++.so.6和libz.so.1文件[android]


今天试着在ubuntu上安装了ADT, 安装完后才发现,出了问题,在stackoverflow 上找了半天才解决了问题。现总结下来,方便以后翻阅…
Read more ⟶

[转]轻松完成网站提速:来自Google、淘宝等的Nginx PageSpeed模块


mod_pagespeed于2010年发布,让网站管理员可以为其Web应用提速,而不需要深度的性能优化造诣。mod_pagespeed最初版…
Read more ⟶

[转]C++11 With Clang on Windows and MinGW


Installation steps for getting a functional Clang++ build running on Windows 8 and MinGW ## Step 1 ## Install MinGW. Using mingw-get-inst-20120426.exe go with the pre-packaged repository catalogues, which bundles in GCC 4.6.1 as opposed to 4.7.x, which at the time of writing Clang does not support seemlessly. You will need the C Compiler, C++ Compiler, MSYS Basic System and MinGW Developer Toolkit MinGW packages. Step 2 Python 2.x. Install…
Read more ⟶

[转]Hadoop之MapReduce快速入门


最近有需要分析某个省份的的dns日志,从中解析出一段时间top100的域名排行,日志量一天大概有3、4G的样子,数据量还是很客观。好消息是公…
Read more ⟶