#!/bin/sh#POST-COMMITHOOK##Thepost-commithookisinvokedafteracommit.Subversionruns#thishookbyinvokingaprogram(script,executable,binary,etc.)#named‘post-commit‘(forwhichthisfileisatemplate)withthe#followingorderedarguments:##[1]REPOS-PATH(thepathtothisreposit..
分类:
其他好文 时间:
2014-07-21 15:25:17
阅读次数:
284
QS NetworkDescriptionIn the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. ...
分类:
Web程序 时间:
2014-07-21 09:31:40
阅读次数:
759
在python的官方文档中:getattr()的解释如下:getattr(object,name[,default])Return the value of the named attribute ofobject.namemust be a string. If the string is the...
分类:
编程语言 时间:
2014-07-20 09:01:37
阅读次数:
228
解决方法:打开SQL Server配置管理器,找到MSSQLSERVER的协议,启动TCP/IP和Named Pipes
分类:
数据库 时间:
2014-07-19 20:38:04
阅读次数:
305
public static function upFile($r,$p='../images/link/',$type='gif,jpg,png',$named=0){ $newnames = null; //var_dump($r); forea...
分类:
其他好文 时间:
2014-07-18 21:10:05
阅读次数:
177
DNS从服务的搭建一、安装[root@localhost~]#yuminstallbind二、修改主配置文件[root@localhost~]#cat/etc/named.conf将以下三行注释掉//listen-onport53{127.0.0.1;};
//listen-on-v6port53{::1;};
//allow-query{localhost;};三、将DNS指向本机[root@localhost~]#vim/etc/reso..
分类:
其他好文 时间:
2014-07-18 13:02:55
阅读次数:
251
问题:TherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:NomodulenamedyumPleaseinstallapackagewhichprovidesthismodule,orverifythatthemoduleisinstalledcorrectly.It‘spossiblethattheabovemoduledoesn‘tmatchthecurrentv..
分类:
编程语言 时间:
2014-07-16 16:36:29
阅读次数:
172
python安装模块时:pythonsetup.pyinstall错误:ImportError:Nomodulenamedsetuptools没有setuptools的模块,安装这个模块即可解决此问题:下载setuptools包wgetthttp://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gztarzxvfsetuptools-0.6c11.tar.g..
分类:
编程语言 时间:
2014-07-16 16:26:03
阅读次数:
231
升级python版本后,运行yum
# yum -y install openssl
提示如下:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Pl...
分类:
编程语言 时间:
2014-07-16 14:04:47
阅读次数:
193
Cannot find a class or type named "MultiMarker" 是一种常见错误,产生的原因是Library里面有1个以上的ar库。以我的电脑为例,我装了NyAR2、NyAR4psg,所以运行的时候Processing先搜索NyAR2,结果找不到MultiMarker类...
分类:
其他好文 时间:
2014-07-15 00:47:37
阅读次数:
228