码迷,mamicode.com
首页 >  
搜索关键字:from file system    ( 153319个结果
OSPF协议总结
OSPF 协议总结 OSPF(Open Shortest Path First开放式最短路径优先 )是一个内部网关协议(Interior Gateway Protocol,简称IGP),用于在单一自治系统(autonomous system,AS)内决策路由。 链路是路由器接口的另一种说法,因此OSPF也称为接口状态路由协议。OSPF通过路由器之间通告网络...
分类:其他好文   时间:2014-07-22 23:01:55    阅读次数:582
Altium designer 6 PCB中放置厂家Logo的方法
问题现状描述:    如何在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
python错误解决:SyntaxError: Non-ASCII character '\xd3' in file crawler.py
我写的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: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'
出现下列异常:  /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
使用ssh过程中对数据库进行update时报错
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition...
分类:数据库   时间:2014-05-01 18:16:35    阅读次数:377
95行代码实现最大熵模型训练
关于最大熵模型的介绍请看:http://www.cnblogs.com/hexinuaa/p/3353479.html 下面是GIS训练算法的python实现,代码不到100行。 from collections import defaultdict import math class MaxEnt(object):     def __ini...
分类:其他好文   时间:2014-04-30 22:46:39    阅读次数:384
Struts2中的异步提交(ajaxfileupload异步上传(图片)插件的使用)
服务器端采用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
统计分析SQL Server Profiler 跟踪的SQL
--跟踪文件读入到表中分析 SELECT * INTO ZGSJY FROM fn_trace_gettable('E:\wxxcdbprofiler.trc', default); --某时间内,最耗时SQL select TOP 100 SUBSTRING(Textdata,1,660) as '名称', count(*) as '数量', sum(duration/1000) as '总执行...
分类:数据库   时间:2014-04-30 22:37:39    阅读次数:327
java 简单输入
/** * * 程序中用到了System类的输入流,也即类变量in,它可以接收用户的输入信息,并且 * 是标准的输入流实例对象,另外Scanner 类是Java的扫描器类,它可以从输入流中读取 * 指定类型的数据或字符串,本实例使用了Scanner 类封装了输入流对象,并使用了nextLine * nextInt() nextDouble 方法从输入流中获取用户输入的整行文本字符串,整...
分类:编程语言   时间:2014-04-30 22:28:39    阅读次数:382
Teradata Express for VMware
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!