-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
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste...
分类:
其他好文 时间:
2014-07-11 23:15:16
阅读次数:
266
Now the security has a trend to become more and more important in our daily work, hence I did some researches on some of the topics, and hope to do mo...
分类:
其他好文 时间:
2014-07-11 19:20:52
阅读次数:
283
ubuntu12.04使用USB转串口时出现权限不够问题,如下Unable to open serial port /dev/ttyUSB0权限不够解决办法:通过增加udev规则来实现。步骤如下:创建文件/etc/udev/rules.d/70-ttyusb.rules在文件内增加一行KERNEL=...
分类:
其他好文 时间:
2014-07-11 18:36:14
阅读次数:
293
1. Poweshell 对 Site Column的完整操作
2. Powershell 对 Content Type的完整操作
3. Powershell 对 List 的完整操作
4. Powershell 对 Web Part(页面)操作
5. Powershell 对 Security Group操作...
分类:
其他好文 时间:
2014-07-09 12:29:39
阅读次数:
372
1. Linux内核支持哪些加密算法 ?
内核支持的加密算法很多,包括:
对称加密算法,如AES;
摘要算法,如sha1,md5;
压缩算法,如deflate。
不过内核好像不支持非对称加密算法。
2. 加密算法源文件位置
这些算法作为加密函数框架的最底层,提供加密和解密的实际操作。这些函数可以在内核crypto文件夹下,相...
分类:
移动开发 时间:
2014-07-09 10:17:07
阅读次数:
482
上一篇文章我已经新建了一个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
Ping是通过发送ICMP报文(类型8代码0)探寻网络主机是否存在的一个工具,如果服务器不能很好处理过大的Ping包,导致出现了PingtoDeath的攻击方式(用大Ping包耗尽对方的服务器资源)。Linux禁用ping格式如下:[root@test~]#echo"0">/proc/sys/net/ipv4/icmp_echo_ignore_all默..
分类:
系统相关 时间:
2014-07-09 09:00:46
阅读次数:
335
##本人在测试机上测试过,效果不错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