问题:SSL hostname in certificate didn't matchhostname in certificate didn't match: != Fetching URL: https://dl-ssl.google.com/android/...解决办法:第一步:打开Wi.....
分类:
移动开发 时间:
2014-09-04 09:42:17
阅读次数:
183
preg_match_all("/(.+)/isU" , $string, $result);这里/ 后面加了 3个修饰符i 是 不区分大小写的匹配s 是 带有换行的 匹配U 是非贪婪模式。匹配最少部分。修饰符:i :如果在修饰符中加上"i",则正则将会取消大小写敏感性,即"a"和"A" 是一样的。...
分类:
Web程序 时间:
2014-09-04 09:35:57
阅读次数:
182
1,通过命令行使用.dump来备份成sql文件的方式命令语句:C:/sqlite/sqlite3 tim.db .dump >test.sql.dump ?TABLE? ... Dump the database in an SQL text format If TABLE specified, only dump tables match...
分类:
数据库 时间:
2014-09-04 01:43:07
阅读次数:
360
一、概述抽屉控件,官方已不建议用;但在某些需求下直接使用这个控件还是相当方便的。<SlidingDrawer
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:handle="@+id/handle"
android:content="@+id/content"&g..
分类:
移动开发 时间:
2014-09-03 18:25:48
阅读次数:
349
function getCookie(name)//取cookies函数 { //coook中document.cookie = "age=12; name=1.css"; var arr = document.cookie...
分类:
编程语言 时间:
2014-09-03 16:39:36
阅读次数:
216
Question:Using a FileStreamResult in ASP.NET MVC 3, I get a response header likeX-SourceFiles =?UTF-8?B?RDpcUHJvamVjdFxqYWNvYlx0ZXN0?=Answer:The heade...
分类:
其他好文 时间:
2014-09-03 12:58:36
阅读次数:
418
matches -> 始终与最长的进行匹配match -> 始终与第一个进行匹配longest_common_prefix -> 共同的前缀的长度longest_common_suffix -> 共同的后缀的长度binary:part(>, {3,4}) == binary:part(>, {7.....
分类:
其他好文 时间:
2014-09-03 12:49:16
阅读次数:
173
1. editor does not contain a main type这个class所在包没有被添加到build path中。解决方法:在左侧的package explorer中右击这个class所在包的上一级目录--build path--use as source folder。这样就解决...
分类:
编程语言 时间:
2014-09-03 12:35:06
阅读次数:
212
1 function replace_unicode_escape_sequence($match) { 2 return mb_convert_encoding(pack('H*', $match[1]), 'UTF-8', 'UCS-2BE'); 3 } 4 $name = '\u65b0\u....
分类:
Web程序 时间:
2014-09-03 11:03:36
阅读次数:
230
Your browser does not support the HTML5 canvas tag.
分类:
其他好文 时间:
2014-09-03 11:00:56
阅读次数:
201