在UEditor一些版本中,如果粘贴Excell中的内容到编辑器,会粘贴不进去,打开控制台发现JS报错了。
在ueditor.all.js:3048行报如下错误:
Uncaught TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid....
分类:
其他好文 时间:
2014-05-09 15:16:34
阅读次数:
290
It occurred to me suddenly that I wanted to program the our camera sensor for PC desktop, just like the one purchased from shop, which can make the video recording. Finally although the result seemed
...
分类:
其他好文 时间:
2014-05-09 14:58:02
阅读次数:
373
假设我们有这么一项任务:简单测试局域网中的电脑是否连通.这些电脑的ip范围从192.168.0.101到192.168.0.200.
思路:用shell编程.(Linux通常是bash而Windows是批处理脚本).例如,在Windows上用ping ip 的命令依次测试各个机器并得到控制台输出.由于ping通的时候控制台文本通常是"Reply from ... "...
分类:
编程语言 时间:
2014-05-09 14:14:27
阅读次数:
343
mysql> select pname from product;
+--------+
| pname |
+--------+
| 产品1 |
| 产品2 |
| 产品三 |
+--------+
3 rows in set (0.00 sec)
这个地方是说,从product中选出所有的pname来,一共有三条记录。
MySQL中的分页非常简单,我们可以...
分类:
数据库 时间:
2014-05-09 13:53:45
阅读次数:
256
在上一篇中,使用scrapy修改源IP发送请求的最后我们提到由于hosts文件不支持正则,会导致我们的随机域名DNS查询失败。是用DNS服务器可以解决这个问题,下面是我用gevent写的小工具,很简单。我们只拦截匹配的A记录,然后发送DNS Response,如果不匹配,那么我们服务器就是一个DNS代理,转发请求。# -*- coding=utf-8 -*-
import struct
from...
分类:
编程语言 时间:
2014-05-09 13:49:34
阅读次数:
560
运行环境:Ubuntu12.04PC提前安装库:flex,bison,libncureses5-dev,texinfo,这些库提前apt-get
install。需要重新安装:gawk(先apt-get remove mawk, 然后apt-get install gawk,工具链构建完成后可恢复)...
分类:
其他好文 时间:
2014-05-09 13:27:20
阅读次数:
686
When you’re running Ubuntu and updating your
system frequently, there is a high chance that older kernels that are no longer
needed are still installe...
分类:
其他好文 时间:
2014-05-09 13:19:09
阅读次数:
311
SELECT * FROM ( SELECT ROW_NUMBER() OVER(ORDER BY
ca.PraiseNum desc) as RowID ,ca.[ArticleId] ...
分类:
其他好文 时间:
2014-05-09 13:17:14
阅读次数:
409
Cox.js 它是在标准原生 JavaScript 基础之上对 JavaScript
使用的扩展Cox.js 可以应用于浏览器环境与Node.js。Cox.js
使用异步加载和面向对象的方式使得开发js程序变成一件很轻松的事情。如何获取Cox.jshttp://git.oschina.net/Joy...
分类:
编程语言 时间:
2014-05-09 13:10:39
阅读次数:
320
--引用自
http://www.2cto.com/database/201301/185758.html遇到问题:PLSQL中汉字显示乱码,并且SQL语句中如果有汉字,则执行时报错。其实并不是SQL语句写的有问题,而是系统不能识别汉字。解决方法:首先执行语句
select * from V$NLS...
分类:
数据库 时间:
2014-05-09 12:57:05
阅读次数:
317