09 2012 档案
CSS静态代码检查常用工具集
摘要:helium:可以检查未被使用的css内容https://github.com/geuis/helium-csscsshinthttp://www.csshint.com暂时尚不知与jshint||jslint之间的关系 阅读全文
posted @ 2012-09-26 16:48 Rik~ 阅读(270) 评论(0) 推荐(0)
[Webapp]国内移动端浏览器占比
摘要:1. 国内移动端浏览器占比Source: StatCounter Global Stats - Mobile Browser Market ShareUS及IOS、Android自带浏览器占据90%的市场份额中国各手机浏览器的用户渗透率2. 源自2012年中国手机浏览器市场集中度较高。源自《中国手机浏览器用户行为研究报告》根据调查UC浏览器为54.1%手机自带浏览器为47.2%手机QQ自带浏览器功能为34.4%手机QQ浏览器为33.2%用户渗透率在手机浏览器市场上排名前四远高于其他手机浏览器占据绝大部分手机浏览器市场。 阅读全文
posted @ 2012-09-26 14:22 Rik~ 阅读(488) 评论(0) 推荐(0)
[HTML5] webapp 手机端 本地存储 方式支持调研结果
摘要:存储方式SystemUCQQStorage(local、session) OK OK OK web storage Database OK NG OK Files API NG NG NGApplicationCache OK OK OK Cookie OK OK OK Indexed DB NG NG NG测试系统:IOS5 阅读全文
posted @ 2012-09-21 14:31 Rik~ 阅读(271) 评论(0) 推荐(0)
[HTML5][LocalStorage]一个好网站
摘要:http://html5-demos.appspot.com/static/html5storage/index.html介绍的非常全面,讲述了当前html5所有客户端存储方式,使用方式、支持的浏览器等方方面面 阅读全文
posted @ 2012-09-20 17:09 Rik~ 阅读(232) 评论(0) 推荐(0)
浏览器内核简介
摘要:现在浏览器的内核引擎,基本上是三分天下:Trident: IE 以Trident 作为内核引擎。Gecko: Firefox 是基于 Gecko 开发。WebKit: Safari, Google Chrome 基于 Webkit 开发。 WebKit 内核在手机上的应用十分广泛,例如 Google 的手机 Gphone、 Apple 的 iPhone, Nokia’s Series 60 browser 等所使用的 Browser 内核引擎,都是基于 WebKit。 阅读全文
posted @ 2012-09-20 17:07 Rik~ 阅读(250) 评论(0) 推荐(0)
[HTML5][LocalStorage]初探
摘要:http://www.cnblogs.com/softlover/archive/2012/09/07/2675110.html写的很好,当你多个chrome同时使用一个demo的时候,依然可用,表示同浏览器之间是通信ok的,而ff与chrome之间是不共享的http://caniuse.com/#feat=namevalue-storage这里有stroage支持的浏览器对比 阅读全文
posted @ 2012-09-20 16:11 Rik~ 阅读(198) 评论(0) 推荐(0)
[SublimeText]随记
摘要:SublimeText:安装package control方法 ctrl+`import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb 阅读全文
posted @ 2012-09-20 12:21 Rik~ 阅读(234) 评论(0) 推荐(0)
[PHP] curl post json & array 时,传递对象问题
摘要:当使用curlpost一个请求的话,一般代码如下:$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, $data);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);当这里传递的$data如果是标准的一个phparray对象的话,如果array有嵌套,比如array(a=>array(5))的话,接受到的对象就会变成 array(a => Array 阅读全文
posted @ 2012-09-19 11:01 Rik~ 阅读(1631) 评论(0) 推荐(0)
awk 简单用法及-F参数
摘要:#!/bin/bashadb devices 2>&1|grep '-'|awk '{print $1}'|awk -F- '{print $2}'简单的shell将所有android devices列出来,寻找所有端口List of devices attached 10.32.11.77-5554 device10.32.11.77-5556 device10.32.11.77-5558 device10.32.11.77-5560 device10.32.11.77-5562 device10.32.11.77-5564 de 阅读全文
posted @ 2012-09-13 14:04 Rik~ 阅读(1156) 评论(0) 推荐(0)