windows C:\WINDOWS\system32\drivers\etc mac /etc/hosts 修改hosts文件会遇到无法保存的问题,解法方法参考下文 http://mtoou.info/hosts/ http://www.pc6.com/edu/66489.html ...
分类:
其他好文 时间:
2017-07-07 10:24:38
阅读次数:
153
log4py.py日志重构类
importdatetime
importsys
importtraceback
importcodecs
importtypes
importlogging
importos
importtime
#log编码全部按utf8处理
loglevels={‘stdout‘:[‘info‘,‘debug‘,‘warn‘,‘error‘,‘fatal‘],
‘file‘:[‘info‘,‘debug‘,‘warn‘,‘error‘,‘fatal‘]
}
#pri..
分类:
编程语言 时间:
2017-07-07 10:14:36
阅读次数:
205
转载:http://www.cnblogs.com/alanfang/p/5600449.html SSL SSL - Secure Sockets Layer,现在应该叫"TLS",但由于习惯问题,我们还是叫"SSL"比较多.http协议默认情况下是不加密内容的,这样就很可能在内容传播的时候 被别 ...
分类:
编程语言 时间:
2017-07-06 23:49:50
阅读次数:
276
可选命令 检查 check (检查包错误) check-update(不使用本地缓存检查更新) 安装 install localinstall groupinstall reinstall(重新安装) 更新 update(更新)update-to更新到指定版本 localupdate rpmfile ...
分类:
其他好文 时间:
2017-07-06 23:47:41
阅读次数:
234
php 连接sql server时遇到了不少问题,这里把详细步骤记录下来,供大家参考: 首先我的是phpstudy-5.4,如下图; 第一步:下载SQLSRV 地址:http://www.microsoft.com/en-us/download/details.aspx?id=20098 下载的是一 ...
分类:
数据库 时间:
2017-07-06 21:00:12
阅读次数:
250
帮朋友改一段代码,看到好多红叉都是指向@Override。 是这样,他代码里写了一个接口。方法都用抽象函数声明在接口类里。然后在继承自这个接口的实现类里写详细方法的空壳。在方法前都加了@Override。 这是接口 public interface ITeamBiz { public abstrac ...
分类:
其他好文 时间:
2017-07-06 20:53:42
阅读次数:
179
使用Application.OpenForms即可解决!if(Application.OpenForms["Form1"]==null){ Form1 frm =new Form1(); frm.Show(); frm.MdiParent=this;} else{ Application.OpenF ...
https://segmentfault.com/q/1010000004958835 sublime3 emmet插件 jsx的html内容tab自动补全无效? 1.http://ued.fanxing.com/emmet/终于解决了,PyV8必须要和Emmet同目录 2.Ctrl + E 可以补 ...
分类:
其他好文 时间:
2017-07-06 18:55:31
阅读次数:
189
class MySQL: def __init__(self,ip,port): self.ip=ip self.port=port @classmethod def from_conf(cls): import settings obj=cls(settings.ip,settings.port)... ...
分类:
编程语言 时间:
2017-07-06 18:34:20
阅读次数:
140
视觉传感器的属性设置栏中还有如下几个选项: Ignore RGB info (faster): if selected, the RGB information of the sensor (i.e. the color) will be ignored so that it can operate ...
分类:
其他好文 时间:
2017-07-06 15:13:55
阅读次数:
438