03 2015 档案

摘要:Ctrl + A 切换到命令行开始 这个操作跟键盘 Home 键实现的结果一样的。Ctrl + E 切换到命令行末尾 这个操作跟键盘 END 键实现的结果一样的。Ctrl + L 清除屏幕内容 效果等同于 clear 命令。Ctrl + U 清除剪切光标之前的内容 这个命令很有用,在 vi 里也是有... 阅读全文
posted @ 2015-03-26 14:49 yshy 阅读(150) 评论(0) 推荐(0) 编辑
摘要:1、应尽量避免在 where 子句中使用!=或操作符,否则将引擎放弃使用索引而进行全表扫描。2、对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。3、应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全... 阅读全文
posted @ 2015-03-25 07:45 yshy 阅读(162) 评论(0) 推荐(0) 编辑
摘要:etXyLevelDate.setOnTouchListener(selectDateTouchListener());/** * @desc 选择日期操作 * @param @return * @return OnTouchListener * @throws ... 阅读全文
posted @ 2015-03-24 09:23 yshy 阅读(4034) 评论(0) 推荐(0) 编辑
摘要:点击Window->Preferences->Java->Code Style->Code Templates,如下图所示:选中,点击右侧的Edit进行编辑。 阅读全文
posted @ 2015-03-23 18:30 yshy 阅读(266) 评论(0) 推荐(0) 编辑
摘要:严重: The web application [/qdgswx] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org .apache.log4j.helper... 阅读全文
posted @ 2015-03-21 15:20 yshy 阅读(1150) 评论(0) 推荐(0) 编辑
摘要:运行结果:name:name1,age:21name:name2,age:22name:name3,age:23 阅读全文
posted @ 2015-03-20 17:34 yshy 阅读(1951) 评论(0) 推荐(0) 编辑
摘要:import java.util.Iterator;import java.util.List;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import or... 阅读全文
posted @ 2015-03-20 15:40 yshy 阅读(568) 评论(0) 推荐(0) 编辑
摘要:package com.wzh.itext;import com.itextpdf.text.Chunk;import com.itextpdf.text.Document;import com.itextpdf.text.DocumentException;import com.itextpdf.... 阅读全文
posted @ 2015-03-19 08:41 yshy 阅读(939) 评论(0) 推荐(0) 编辑
摘要:1:以root身份登陆mysql终端mysql -uroot -pmysql2:创建wx用户,注意密码要加单引号mysql> create user wx identified by 'wx';3:创建wx数据库mysql>create database wx;4:为用户wx授权使其拥有wx数据库的... 阅读全文
posted @ 2015-03-18 09:05 yshy 阅读(2000) 评论(0) 推荐(0) 编辑
摘要:package com.file.test;import java.io.BufferedInputStream;import java.io.BufferedReader;import java.io.ByteArrayOutputStream;import java.io.File;import... 阅读全文
posted @ 2015-03-17 09:23 yshy 阅读(258) 评论(0) 推荐(0) 编辑
摘要:此方法是针对Office2003的,但是word中如果有图片,图片能够解析出来但是HTML文件中不显示。也不支持excel中的图片解析。所需jar包如下如下:1:PoiUtil.javapackage com.wzh.poi;import java.io.BufferedWriter;import ... 阅读全文
posted @ 2015-03-16 20:19 yshy 阅读(8715) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示