iOS Newsstand Tutorial(IOS报刊亭教程)...
分类:
移动开发 时间:
2015-02-06 21:57:03
阅读次数:
421
回顾下在工作中遇到iframe跨域自动适应高度的解决方法,在网上有找了一个例子http://www.studyofnet.com/news/256.html 这里提供一个Iframe代理的方法,简单地说一下原理:假设有3个页面,分别是主页面A.html,字页面B.html,代理页面C.html;其中...
分类:
其他好文 时间:
2015-02-05 21:48:41
阅读次数:
156
方式一:直接使用GET标签调用:
{php $j=$catid;}
{pc:get sql="select `d`.`content` from `aspku_news_data` as `d` left join `aspku_position_data` as `p` on `d`.`id`=`p`.`id` where `p`.`posid`='14' and `p`.`catid`...
分类:
Web程序 时间:
2015-02-04 20:28:57
阅读次数:
203
原题地址isalnum:判断是否是字符或数字toupper:将字符转换成大写,非字符不变代码: 1 bool isPalindrome(string s) { 2 string news; 3 for (auto c : s) 4 if (is...
分类:
其他好文 时间:
2015-02-02 17:20:32
阅读次数:
137
1、開始关注OpenStreetMap始于此博文:《微软对抗谷歌的秘密武器:开源地图OpenStreetMap》 http://news.csdn.net/a/20120328/313612.html另外能够參看:《共享免费地图:OpenStreetMap》http://www.oschina.ne...
分类:
其他好文 时间:
2015-02-01 19:12:27
阅读次数:
167
//导入相关的包boolean bRet = false;boolean bUpload = false;String uploadFileName = "";String fieldName = "";News news = new News();//实例化封装属性的News对象news.setC...
分类:
其他好文 时间:
2015-02-01 17:47:11
阅读次数:
175
1. 在控制器中使用:public function actionCreate() { $model=new News; $purifier = new CHtmlPurifier(); $purifier->options = array( ...
分类:
Web程序 时间:
2015-01-30 17:20:12
阅读次数:
216
1.胡伏莲:HP感染一石激起千层浪http://news.medlive.cn/gi/info-progress/show-39507_137.html近期,多项研究表明幽门螺杆菌(Hp)与多系统疾病相关。美国学者Allison E. Aiello的一项前瞻性对列研究首次发现,Hp感染与糖尿病发病风...
分类:
其他好文 时间:
2015-01-29 14:02:52
阅读次数:
159
以下内容转自:http://www.infoq.com/cn/news/2015/01/memcached-store-session-------------------------分割线-----------------------------------------------Memcache...
分类:
系统相关 时间:
2015-01-29 10:23:21
阅读次数:
179
一:nginx gzip压缩提升网站速度我们观察news.163.com的头信息请求:Accept-Encoding:gzip,deflate,sdch响应:Content-Encoding:gzipContent-Length:36093再把页面另存下来,观察,约10W字节,实际传输的36093字...
分类:
Web程序 时间:
2015-01-28 23:52:10
阅读次数:
271