加载中
队友的神操作

for循环不写break 导出文件时,提示用户是否确定要下载,没有数据不给下载。结果后台计算数据量,是把所有数据查出来装到list再用list.size()计算。平时测试时,只导出几条数据,看不出问题...

shell for move and tar files

Move first n files from a folder to another folder, and then tar it and remove all files. fileFolder=$1 targetFolder=$2 mkdir -p $targetFolder fileCount=ls ${fileFolder}|wc -l c...

2020/12/31 10:09
74
月第一天和最后一天的计算(试一试语法着色功能)

// 本月的第一天 Calendar calendar = new GregorianCalendar(); calendar.set( Calendar.DATE, 1 ); SimpleDateFormat simpleFormate = new SimpleDateFormat( " yyy...

2014/09/02 16:23
68
idea 8.1.2生成grails control java_home路径错误

windows7 下使用idea 8.1.2生成grails control,结果出现以下错误: ERROR: JAVA_HOME is set to an invalid directory: D:/JDK/jdk1.6.0_04 Please set the JAVA_HOME variable in your en...

2014/09/02 16:23
62
MapReduce

下面这段话是网上其他人用最简短的语言解释MapReduce: We want to count all the books in the library. You count up shelf #1, I count up shelf #2. That’s map. The more people we g...

2014/09/02 16:23
84
最近常用的几个linux命令

命令 说明 ps -ef | grep java 查看java进程 cp -r source dest 复制文件夹及里边的内容(要加-r参数才行) rm -r folder 删除文件夹及里边的内容 tailf logs/catalina.out 滚动查看文件的内容...

2014/09/02 16:23
35
SelectionKey

1:selectionKey.channel()方法返回的 channel是ServerSocketChannel还是SocketChannel是由前边注册这个key时是注册channel确定的。 2:基本处理流程 服务器端先注册接收Key serverSocketCha...

2014/09/02 16:23
45
Buffer在JDK中的基本说明

Buffer(缓冲区)是一个用于特定基本类型数据的容器。 Buffer是特定基本类型元素的线性有限序列。除内容外,Buffer的基本属性还包括capacity(容量)、limit(限制)和position(位置): 缓冲区的c...

2014/09/02 16:23
88
Kettle javascript中writeToLog方法的使用

// Writes a string to the defined Kettle Log. // // Usage: // writeToLog(var); // 1: String - The Message which should be written to // the Kettle Debug Log // // writeTo...

2014/09/02 16:23
4.3K

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部