会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
208
209
210
211
212
213
214
215
216
···
341
下一页
2014年2月17日
Linux/Centos下清理内存和Cache方法
摘要: Linux/Centos下释放内存和缓存方法$ free -m 运行sync将dirty的内容写回硬盘$ sync通过修改proc系统的drop_caches清理free的cache$ echo 3 > /proc/sys/vm/drop_caches$ free -m
阅读全文
posted @ 2014-02-17 10:54 emanlee
阅读(758)
评论(0)
推荐(0)
2014年2月16日
mysql 查看警告
摘要: 显示警告(打开):warnings查看警告(查看内容):show warnings;记录运行日志:tee _logsfile source sql_filenotee
阅读全文
posted @ 2014-02-16 15:32 emanlee
阅读(4884)
评论(0)
推荐(0)
2014年2月14日
mysql 行列动态转换(列联表,交叉表)
摘要: 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
阅读(10980)
评论(0)
推荐(0)
jQuery EasyUI - Add link to datagrid cell
摘要: 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
阅读(2479)
评论(0)
推荐(0)
2014年2月4日
R语言字符串函数
摘要: 字符串长度: nchar("hello world") #字符串连接:paste() #paste(..., sep = " ", collapse = NULL)#字符串分割:strsplit() #strsplit(x, split, extended = TRUE, fixed = FALSE
阅读全文
posted @ 2014-02-04 15:23 emanlee
阅读(2561)
评论(0)
推荐(0)
2014年1月31日
notepad++ 正则表达式
摘要: 匹配: ABC任意数量的字符123模式: ABC.*123
阅读全文
posted @ 2014-01-31 21:11 emanlee
阅读(265)
评论(0)
推荐(0)
2014年1月28日
MySQL常用命令
摘要: 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
阅读(627)
评论(0)
推荐(0)
2014年1月20日
linux下对符合条件的文件大小做汇总统计的简单命令
摘要: (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
阅读(4471)
评论(0)
推荐(0)
Linux系统下统计目录及其子目录文件个数
摘要: (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
阅读(2243)
评论(0)
推荐(0)
2014年1月17日
R: count number of distinct values in a vector
摘要: 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
阅读(1826)
评论(0)
推荐(0)
上一页
1
···
208
209
210
211
212
213
214
215
216
···
341
下一页