上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 324 下一页
摘要: 显示警告(打开):warnings查看警告(查看内容):show warnings;记录运行日志:tee _logsfile source sql_filenotee 阅读全文
posted @ 2014-02-16 15:32 emanlee 阅读(4837) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(10950) 评论(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 阅读(2466) 评论(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 阅读(2538) 评论(0) 推荐(0) 编辑
摘要: 匹配: ABC任意数量的字符123模式: ABC.*123 阅读全文
posted @ 2014-01-31 21:11 emanlee 阅读(251) 评论(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 阅读(613) 评论(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 阅读(4435) 评论(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 阅读(2134) 评论(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 阅读(1803) 评论(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 阅读(549) 评论(0) 推荐(0) 编辑
上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 324 下一页