PowerDesigner 15从数据库逆向工程的物理设计,无法正常运行
作者:Rady 日期:2010-07-28
问题现象:如题
原因与解决方案:
发现很有很多字体被定义了 Chinese_PRC_CI_AS集合字体,导致无法运行
从生成的SQL中查询 “collate Chinese_PRC_CI_AS” 替换为空
正则匹配链接内容不为图片的所有锚点
作者:Rady 日期:2010-07-28
要查找的内容:
<a class=”class1” href=”http://www.radys.cn”>正则一</a>
<a href=”http://www.radys.cn” target=”_blank”>正则二a>
<a href=”http://www.radys.cn” style=”color:#ff0”>正则三</a>
editplus 正则替换
作者:Rady 日期:2010-07-27
The security settings could not be applied
作者:Rady 日期:2010-07-25
之前系统为2003系统安装的mysql版本是5.0.22
系统升级为window 7后,我重新安装mysql 5.5,结果总是提示如下错误
The security settings could not be applied.
Error Number 1045.
Access denied for user 'root'@'localhost'(using password:YES)
unsafeWindow无法调用GM_getValue和GM_setValue的解决方案
作者:Rady 日期:2010-07-21
由于命名空间改变,unsafeWindow下无法调用GM_getValue和GM_setValue如下
//使用正常
GM_setValue(‘foo’,true);
GM_etValue(‘foo’);
jQuery数组判等 equal array in jQuery
作者:Rady 日期:2010-07-21
//equal array in jQuery
jQuery.fn.compare = function(t) {
if (this.length != t.length) { return false; }
var a = this.sort(),
b = t.sort();
for (var i = 0; t[i]; i++) {
if (a[i] !== b[i]) {
return false;
}
}
return true;
};
整理自 http://stackoverflow.com/questions/1773069/using-jquery-to-compare-two-arrays
- 1







