-Djetty.port=8101 jetty:runtomcat6:run org.apache.tomcat.maven tomcat6-maven-plugin 2.2 ...
分类:
系统相关 时间:
2014-07-11 23:52:16
阅读次数:
570
Erlang系统自带的基础数据类型有:atom、tuple、list、binary、pid、float、number、port、reference、record。用户可以通过通过命令type来自定义数据类型,实现方法:-type device() :: atom() | pid().-type pr...
分类:
其他好文 时间:
2014-07-11 23:26:47
阅读次数:
507
最近几天完成了BiasDAC的程序编写。调试的过程还算比较顺利,除了几个有点bt的小问题。其中一个困扰了我两三天的时间,今天上午终于将其解决。由于BiasDAC是用RS232 Serial Port通信的,延用之前的程序,使用了Delphi的SPComm控件。在之前的使用中,SPComm控件一直工作...
分类:
其他好文 时间:
2014-07-09 22:27:56
阅读次数:
177
关于这个错误:Subversion detected an unsupported working copy version while checking the status of 'XXXX'. Most likely you upgraded another Subversion client...
分类:
其他好文 时间:
2014-07-09 19:13:25
阅读次数:
345
上一篇文章我已经新建了一个SaAdmin的APP,现在开始在这APP下面来code1、修改setting.py的数据库连接:DATABASES={
‘default‘:{
‘ENGINE‘:‘django.db.backends.mysql‘,
‘NAME‘:‘QjshAdmin‘,
‘USER‘:‘root‘,
‘PASSWORD‘:‘lihuipeng‘,
‘HOST‘:‘localhost‘,
‘PORT‘:‘3306‘,
}
}新..
分类:
其他好文 时间:
2014-07-09 09:02:47
阅读次数:
276
##本人在测试机上测试过,效果不错fs.file-max=6553600
net.ipv4.ip_local_port_range=1024 65000
net.ipv4.tcp_max_orphans=3276800
net.ipv4.tcp_max_syn_backlog=262144
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_mem=94500000915000000927000000
net.ipv4.tcp_fin_timeout=1..
分类:
系统相关 时间:
2014-07-09 08:42:50
阅读次数:
371
#!/bin/bash
HOST_NAME="localhost"
PORT=3306
USERNAME="root"
PASSWORD="root"
DBNAME="test"
TABLENAME="tb_test"
today=`date +%Y-%m-%d`
#删除数据
delete_sql="delete from ${TABLENAME} whe...
分类:
数据库 时间:
2014-07-08 15:40:54
阅读次数:
325
change http port into other number
分类:
其他好文 时间:
2014-07-08 12:37:51
阅读次数:
285
以基本的学生选课为例,建立选课数据库,学生、班级、选课信息三张表,并分别对表进行插删改操作:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘xuanke‘,port=3306)
cur=conn.cursor()
cur.execute("CREATEDATABASExuanke")
..
分类:
数据库 时间:
2014-07-08 08:05:43
阅读次数:
479
怎样在同一系统中启动多个 TOMCAT
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
http请求处理端口,我们在网页上输入的...
分类:
其他好文 时间:
2014-07-06 12:24:04
阅读次数:
239