上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 341 下一页
摘要: mysql 行列动态转换(列联表,交叉表)(1)动态,适用于列不确定情况create table table_name(id int primary key,col1 char(2),col2 char(2),col3 int);insert into table_name values(1 ,'A... 阅读全文
posted @ 2014-02-14 23:28 emanlee 阅读(10978) 评论(0) 推荐(0)
摘要: Extracted from: http://stackoverflow.com/questions/16061894/jquery-easyui-add-link-to-cellHTML: 1 5 6 7 Kunde 8 Name 9 Funktion10 ... 阅读全文
posted @ 2014-02-14 09:25 emanlee 阅读(2478) 评论(0) 推荐(0)
摘要: 字符串长度: nchar("hello world") #字符串连接:paste() #paste(..., sep = " ", collapse = NULL)#字符串分割:strsplit() #strsplit(x, split, extended = TRUE, fixed = FALSE 阅读全文
posted @ 2014-02-04 15:23 emanlee 阅读(2557) 评论(0) 推荐(0)
摘要: 匹配: ABC任意数量的字符123模式: ABC.*123 阅读全文
posted @ 2014-01-31 21:11 emanlee 阅读(265) 评论(0) 推荐(0)
摘要: 1、系统管理 查看数据库的大小use 数据库名SELECT sum(DATA_LENGTH)+sum(INDEX_LENGTH)FROM information_schema.TABLES where TABLE_SCHEMA='数据库名';得到的结果是以字节为单位1.1 连接MySQL 格式: ... 阅读全文
posted @ 2014-01-28 18:51 emanlee 阅读(625) 评论(0) 推荐(0)
摘要: (1)统计当前目录下的 *txt 文件du -c -h *txt (2)统计当前目录下的 *txt 文件, 并求出总大小du *txt |awk 'BEGIN{count=0;size=0;} \ {count = count + 1; size = size + $1/1024;} \ END{p... 阅读全文
posted @ 2014-01-20 17:35 emanlee 阅读(4463) 评论(0) 推荐(0)
摘要: (1)查看某目录下文件的个数: ls -l |grep "^-"|wc -l 或 find ./company -type f | wc -l (2)查看某目录下文件的个数,包括子目录里的: ls -lR|grep "^-"|wc -l (3)查看某文件夹下目录的个数,包括子目录里的... 阅读全文
posted @ 2014-01-20 17:01 emanlee 阅读(2231) 评论(0) 推荐(0)
摘要: numbers <- c(4,23,4,23,5,43,54,56,657,67,67,435, 453,435,324,34,456,56,567,65,34,435)a <- table(numbers)aa[names(a)==435]as.data.frame(table(numbers))... 阅读全文
posted @ 2014-01-17 18:51 emanlee 阅读(1825) 评论(0) 推荐(0)
摘要: title 0), hjust=-0.5)+ geom_text(data=subset(tmp, x <=0), hjust=1.5)print(p)================================dat <- read.table(text="cars trucks... 阅读全文
posted @ 2014-01-16 08:15 emanlee 阅读(559) 评论(0) 推荐(0)
摘要: Warning message:In ks.test(x, y) : p-value will be approximate in the presence of tiesThe warning messages are due to the implementation of the KS tes... 阅读全文
posted @ 2014-01-13 21:03 emanlee 阅读(2813) 评论(0) 推荐(0)
上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 341 下一页