install.packages("VennDiagram")library(VennDiagram)A = 1:150B = c(121:170,300:320)C = c(20:40,141:200)Length_A<-length(A)Length_B<-length(B)Length_C<-...
分类:
其他好文 时间:
2014-08-23 22:54:11
阅读次数:
277
命令处理区加入
int Look_File(pCommand b)
{
int _out_style = 1;
int _line_number = 1;
int _len_argu = strlen(b->Cmd_Arguments);
while (--_len_argu >= 0)
{
switch (b->Cmd_Arguments[_len_argu])
{
ca...
分类:
其他好文 时间:
2014-08-23 17:45:41
阅读次数:
192
#include void main() { int a[10]; int i,j,t; printf("input 10 numbers:\n"); for(i=0;ia[i+1]) /*相邻两个数比较,想降序只要改成a[i]<a[i+1]*/ { t=a[i]; a[i]=a[i+1]...
分类:
编程语言 时间:
2014-08-23 17:32:31
阅读次数:
157
NF和$NF 区别问答:1.awk中$NF是什么意思?#pwd/usr/local/etc~# echo $PWD | awk -F/ '{print $NF}'etcNF代表:浏览记录的域的个数$NF代表:最后一个Field(列)2.awk下面的变量NF和$NF有什么区别?{print NF} 也...
分类:
系统相关 时间:
2014-08-23 15:07:20
阅读次数:
317
修改Tomcat 文件 catalina.bat rem Guess CATALINA_HOME if not defined set JAVA_OPTS=-Xms32m -Xmx512m ? 增加这个 set "CURRENT_DIR=%cd%"...
分类:
编程语言 时间:
2014-08-22 19:50:39
阅读次数:
188
Create a detector object.faceDetector = vision.CascadeObjectDetector;Read input image. I = imread('visionteam.jpg');Detect faces. bboxes = step(...
分类:
其他好文 时间:
2014-08-22 14:26:08
阅读次数:
301
function getParameterByName(name) { var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); return match && decodeURICompon...
分类:
其他好文 时间:
2014-08-22 14:21:08
阅读次数:
174
按照协议匹配,避免串口数据接收时顺序换乱错误。包头长度地址码回复状态校验和包尾备注C0C002F5AAYYCF成功1,转移字符 a) 数据包基本格式中的数据长度、数据和校验和中如果出现关键字C0、CF或CA则需要在其前端加上转义字符CA,即将数据C0、CF或CA发送成CAC0、CACF或CACA,将...
分类:
其他好文 时间:
2014-08-22 12:41:36
阅读次数:
177
本地开发的时候有些数据经常被缓存,清除的时候要注释掉代码,如果往线上传的话,还需远程在线上更新或者svn/ftp..传两次。如果用命令的话,就不用这么麻烦了。以memcache为例,默认商品号为11211telnet 127.0.0.1 11211 回车登录之后,输入命令 flush_all 再回车...
分类:
其他好文 时间:
2014-08-22 12:35:26
阅读次数:
282