如果你的JS访问了另一个网站的资源,就会报No Transport错误可以在.Ajax()定义前设置$.support.cors = true;如下: $.support.cors = true; $.ajax({ type: 'GET', ...
分类:
Web程序 时间:
2015-05-29 17:29:52
阅读次数:
133
从三天前一直报错到今天中午,总算出了个能用的版本了。一如既往先发链接:https://github.com/mlxy/ImageLoader缓存处理·LruCacheHelper:封装第一级缓存,也就是内存缓存的处理。LruCache是Android自带的缓存处理类,如名字所说,和使用软引用的映射相...
分类:
系统相关 时间:
2015-05-29 17:26:23
阅读次数:
403
PHP Libxml 函数PHP:指示支持该函数的最早的 PHP 版本。函数描述PHPlibxml_clear_errors()清空 Libxml 错误缓冲。5libxml_get_errors()检索错误数组。5libxml_get_last_error()从 Libxml 检索最后的错误。5li...
分类:
Web程序 时间:
2015-05-29 17:25:23
阅读次数:
138
摘要 canvas.drawText(www.jcodecraeer.com, x, y, paint); x和y参数是指定字符串中心的坐标吗?还是左上角的坐标?这个问题的直观印象应该是左上角的坐标,但是安卓的处理有点另类,我都怀疑安卓的设计者是不是脑壳有问题了。 x默认是‘www.jcodecra...
分类:
移动开发 时间:
2015-05-29 17:22:54
阅读次数:
245
出自:http://hi.baidu.com/itfuck_/item/803662469cdf7baa61d7b9451:import java.util.*; int y,m,d,h,mm; Calendar c = Calendar.getInstance(); y = c.get(Ca...
分类:
Web程序 时间:
2015-05-29 17:18:40
阅读次数:
112
Ref:Android的单位以及屏幕分辨率详解Ref:Android中dp,px,sp概念梳理以及如何做到屏幕适配Ref:Android多屏幕适配Ref:Android字符串进阶之三:字体属性及测量(FontMetrics)
分类:
移动开发 时间:
2015-05-29 17:17:36
阅读次数:
158
本随笔讲述如何用JavaScript来读取SharePoint 2013 中blog相关的帖子列表。ASCX File Content:JS File Content(Learning_WP_Blog.js): 1 //读取帖子列表里的前10条帖子 2 //Get top 10 items fr.....
分类:
其他好文 时间:
2015-05-29 17:16:57
阅读次数:
187
1 public class UserCopy 2 { 3 public class LoginEntity 4 { 5 public string UserName { get; set; } 6 public string UserPwd { g...
分类:
其他好文 时间:
2015-05-29 17:11:23
阅读次数:
123
直接上代码 activity_popup_window_tooltip_text.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
...
执行Python脚本时,报如下错误:[‘mkdir-p/tmp/gluster_volume_files.can.not.delete‘][E15052911:36:14web:1030]UncaughtexceptionGET/api/v1/volume/df/tank(10.58.164.150)HTTPRequest(protocol=‘http‘,host=‘10.160.140.23:8000‘,method=‘GET‘,uri=‘/api/v1/volume/df/tank..
分类:
其他好文 时间:
2015-05-29 15:59:55
阅读次数:
1322