OSPF 协议总结
OSPF(Open Shortest Path First开放式最短路径优先 )是一个内部网关协议(Interior Gateway Protocol,简称IGP),用于在单一自治系统(autonomous system,AS)内决策路由。 链路是路由器接口的另一种说法,因此OSPF也称为接口状态路由协议。OSPF通过路由器之间通告网络...
分类:
其他好文 时间:
2014-07-22 23:01:55
阅读次数:
582
问题现状描述:
如何在PCB中放置单位的 LOGO (单位徽标)?
处理问题方法:
1. 把LOGO 保存成 单色的 BMP 图像.
2. 在PCB 界面下使用 Open\file 命令打开文件”C:\Program Files\Altium Designer 6\Examples\Scripts\Delphiscript Scripts\Pcb\...
分类:
其他好文 时间:
2014-07-22 23:01:54
阅读次数:
389
在AWS里用Elastic Map Reduce 开一个Cluster然后登陆master node并编译以下程序:import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
...
分类:
其他好文 时间:
2014-07-22 23:01:32
阅读次数:
405
我写的python代码中遇到编码问题:SyntaxError: Non-ASCII character '\xd3' in file crawler.py
原因:代码中有需要输出中文的部分,但是运行时出现了这个错误;
错误中提示看这个链接:http://www.python.org/peps/pep-0263.html
解决问题的方法:
如果在python中出现了非ASCII...
分类:
编程语言 时间:
2014-07-22 23:00:14
阅读次数:
270
出现下列异常:
/usr/bin/install -c -m 644 jconfig.h /usr/local/jpeg6/include/jconfig.h
/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h': No such file or directory
...
分类:
其他好文 时间:
2014-07-22 22:59:55
阅读次数:
893
前段时间做了几个关于图片、文件上传的Demo,使用客户端Query-File-Upload插件和服务端Badkload组件实现多文件异步上传,比如"MVC文件上传04-使用客户端jQuery-File-Upload插件和服务端Backload组件实现多文件异步上传",就Demo而言,效果还算不错,但...
分类:
Web程序 时间:
2014-05-02 12:49:41
阅读次数:
565
服务器端采用struts2来处理文件上传。
所需环境:
jquery.js
ajaxfileupload.js
struts2所依赖的jar包
及struts2-json-plugin-2.1.8.1.jar
编写文件上传的Action
package com.ajaxfile.action;
import java.io.File;
import java.io.Fi...
分类:
其他好文 时间:
2014-04-30 22:43:38
阅读次数:
392
./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory...
分类:
其他好文 时间:
2014-04-30 22:43:38
阅读次数:
346
XPath 语法
XPath 使用路径表达式来选取 XML 文档中的节点或节点集。节点是通过沿着路径 (path) 或者步 (steps) 来选取的。
XML 实例文档
我们将在下面的例子中使用这个 XML 文档。
Harry Potter
29.99
Learning XML
39.95
XPath 使用路...
分类:
其他好文 时间:
2014-04-30 22:18:39
阅读次数:
327
1,按照vmware,导入系统(注意td提供的版本是64位的)
2,linux系统:root/root
3,配置ip:
Enter a cop entry in the linux hosts file (/etc/hosts accessible from the linux command line in the VMware console, ie. c:>vi /etc/host...
分类:
其他好文 时间:
2014-04-30 22:13:39
阅读次数:
503