Windows下PowerShell默认的权限级别是Restricted,不允许执行PS脚本(即.ps1文件)。如果在Restricted权限级别下运行,会得到错误信息: .\XXXX.ps1 : File XXXX.ps1 cannot be loaded because running scri...
分类:
系统相关 时间:
2015-03-12 19:01:59
阅读次数:
7360
今天写了个方法,结果老提示错误cannot assign to self outside of a method in the init family,想了半天都不知道怎么破
-(id)initwithUrlStr:(NSString *)urlStr setBlock:(void (^)(HttpDownLoadBlock
*, BOOL))a
{
if (sel...
分类:
其他好文 时间:
2015-03-12 13:18:37
阅读次数:
104
问题: MyEclipse中:Some characters cannot be mapped
using 'ISO-8859-1' character encoding
分析:由于默认的字符是ISO-8859-1,当有中文的时候,保存将会导致以上问题
解决方案:
window --> Preferences --> General --> Content Typ...
分类:
移动开发 时间:
2015-03-12 09:49:43
阅读次数:
196
方法1."Build " -> "Clean project"方法 2."Tools" -> "Android" -> "Sync Project with Gradle Files"方法3.updatedyour SDK manager.不知道大家遇到是怎么解决的,方法2对我有用。
分类:
移动开发 时间:
2015-03-12 09:48:21
阅读次数:
901
SQL is not very flexible and it cannot be made to react differently to differing sutuations easily. In SQL queries we normally tell database what we w...
分类:
数据库 时间:
2015-03-12 00:38:39
阅读次数:
206
今天运行了一段程序:分析专利引用数据集,从专利引用数据集中计算专利被引用的次数在专利局http://data.nber.org/patents/网站下载专利数据作为测试数据,是个251MB的.txt文件...具体原因至今不详,可能是因为我的运行环境是建立在虚拟机之上?在一次运行非正常退出后,输入命令...
分类:
数据库 时间:
2015-03-11 21:08:51
阅读次数:
240
在之前,webView加载图片完全没有问题。直到前端H5开发换新的加载图片的方式,导致图片忽然加载不出来了。
从后台日志看到了webview 打印了报错信息
Cannot call method 'getElementsByTagName' of null
我怀疑是不是由于此处报错终止了图片加载的进程。
分析此处错误出现的原因:
由于调用的H5界面的js其中的写法不规范,we...
分类:
移动开发 时间:
2015-03-11 17:25:59
阅读次数:
147
[2015-03-11 13:40:32 - WeiboSDK] Unable to resolve target 'android-8'修改project.properties target=android-8 改为target=android-10target=android-10 从哪里找呢P...
分类:
移动开发 时间:
2015-03-11 14:44:27
阅读次数:
126
Android Studio 终于可以正常使用了。我对Google的联网做法实在无语。 Fetching Android SDK component information. 也解决了Gradle: resolve dependancies '_debugCompile' 这个问题。...
分类:
移动开发 时间:
2015-03-11 10:58:39
阅读次数:
273
在线程中通过信号和槽函数传递信息的时候,由于用到了自己定义的参数结构:QHash,于是在发生信号传递的时候出现了报错:QObject::connect: Cannot queue arguments of type "QHash",(Make sure "QHash" is registed usi...
分类:
Web程序 时间:
2015-03-11 10:42:19
阅读次数:
172