??xml version="1.0" encoding="utf-8" standalone="yes"?>浙江快乐12:BlogJava-云自无心水自?/title><link>//www.ot7t.com.cn/usherlight/</link><description>天平山上白云泉,云自无心水自闲。何必奔冲山下去,更添波浪向人间?/description><language>zh - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/08/09/432731.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 09 Aug 2017 11:52:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/08/09/432731.html//www.ot7t.com.cn/usherlight/comments/432731.html//www.ot7t.com.cn/usherlight/archive/2017/08/09/432731.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432731.html//www.ot7t.com.cn/usherlight/services/trackbacks/432731.html解决方法?br />将原来的程序?br />
            ZipEntry entry = new ZipEntry( "file3.txt" );
            zos.putNextEntry( entry );
            workbook.write( zos );
            zos.closeEntry();
改为?div>            ZipEntry entry = new ZipEntry( "file3.txt" );
            zos.putNextEntry( entry );
            workbook.write( new NonCloseableOutputStream( zos ) );
            zos.closeEntry();
其中 NonCloseableOutputStream 定义如下?br />
public class NonCloseableOutputStream extends java.io.FilterOutputStream {
    public NonCloseableOutputStream(OutputStream out) {
        super(out);
    }
    @Override public void close() throws IOException {
        flush();
    }
}



2. 使用binary使得mysql区分大小?br />select * from table1 where binary field1 = 'abc';

]]>
plugin manage for 64 bit notepadd++ - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/06/26/432623.html云自无心水自?/dc:creator>云自无心水自?/author>Mon, 26 Jun 2017 01:33:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/06/26/432623.html//www.ot7t.com.cn/usherlight/comments/432623.html//www.ot7t.com.cn/usherlight/archive/2017/06/26/432623.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432623.html//www.ot7t.com.cn/usherlight/services/trackbacks/432623.htmlhttps://notepad-plus-plus.org/community/topic/13661/plugin-manager-x64-available-submit-your-plugins

]]>
Remote Git Server migration - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/06/15/432602.html云自无心水自?/dc:creator>云自无心水自?/author>Thu, 15 Jun 2017 00:40:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/06/15/432602.html//www.ot7t.com.cn/usherlight/comments/432602.html//www.ot7t.com.cn/usherlight/archive/2017/06/15/432602.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432602.html//www.ot7t.com.cn/usherlight/services/trackbacks/432602.htmlmove Git Server to a new IP/URL:

you can just edit .git/config and change the URLs there

也可以在git视图中,右键点击项目,选择属性,然后修改url中的地址


]]>
一些小工具 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/05/24/432545.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 23 May 2017 23:13:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/05/24/432545.html//www.ot7t.com.cn/usherlight/comments/432545.html//www.ot7t.com.cn/usherlight/archive/2017/05/24/432545.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432545.html//www.ot7t.com.cn/usherlight/services/trackbacks/432545.htmllistary
cmder可以split screen,在一个窗口中同时运行数个cmd

]]>
一个好用的小工具AutoHotKey - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/03/08/432367.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 08 Mar 2017 05:06:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/03/08/432367.html//www.ot7t.com.cn/usherlight/comments/432367.html//www.ot7t.com.cn/usherlight/archive/2017/03/08/432367.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432367.html//www.ot7t.com.cn/usherlight/services/trackbacks/432367.html
; fill password
^Numpad2::
Send, root{tab}root{enter}
Return
^Numpad3::
IfWinExist, ahk_exe OUTLOOK.EXE
{
    WinActivate ahk_exe OUTLOOK.EXE ; Automatically uses the window found above.
    ; WinMaximize  ; same
    ;Send, Some text.{Enter}
msgbox Outlook is running.
}
Return


]]>
First Vue.js html page - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2017/02/09/432293.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 08 Feb 2017 23:41:00 GMT//www.ot7t.com.cn/usherlight/archive/2017/02/09/432293.html//www.ot7t.com.cn/usherlight/comments/432293.html//www.ot7t.com.cn/usherlight/archive/2017/02/09/432293.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432293.html//www.ot7t.com.cn/usherlight/services/trackbacks/432293.html<html>
<head>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script>
        window.onload = function () {
            var app = new Vue({
                el: '#app',
                data: {
                    message: 'Hello Vue!'
                }
            });
        }    
    </script>
</head>

<body>
    <div id="app">
      {{ message }}
    </div>
</body>
</html>

]]>
SLF4J 打印数组 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2016/12/29/432213.html云自无心水自?/dc:creator>云自无心水自?/author>Thu, 29 Dec 2016 03:51:00 GMT//www.ot7t.com.cn/usherlight/archive/2016/12/29/432213.html//www.ot7t.com.cn/usherlight/comments/432213.html//www.ot7t.com.cn/usherlight/archive/2016/12/29/432213.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432213.html//www.ot7t.com.cn/usherlight/services/trackbacks/432213.html
String[] splits=someString.split("a,b,c,d", ",");
logger.debug( "array: {}", (Object) splits );

这里要注意的就是要把数组的数据类型强制转换为Object 

]]>
mysql遗忘root密码 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2016/12/21/432160.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 20 Dec 2016 23:12:00 GMT//www.ot7t.com.cn/usherlight/archive/2016/12/21/432160.html//www.ot7t.com.cn/usherlight/comments/432160.html//www.ot7t.com.cn/usherlight/archive/2016/12/21/432160.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432160.html//www.ot7t.com.cn/usherlight/services/trackbacks/432160.html
1、先停止mysql数据?br />
2、保存密码重置sql文件
     5.7.6(包括)以后的版本:ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
     5.7.5(包括)以前的版本:SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');
假设保存到文? c:\reset.txt

3、以管理员身份打开命令行窗口,运行
C:\> cd "C:\Program Files\MySQL\MySQL Server 5.5\bin"
C:\> mysqld --init-file=C:\reset.txt

4、启动后,还不能马上用新密码连接数据库,需要重启mysql数据?br />


]]>
Eclipse启动时update indexes很慢 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/usherlight/archive/2016/11/29/432021.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 29 Nov 2016 00:38:00 GMT//www.ot7t.com.cn/usherlight/archive/2016/11/29/432021.html//www.ot7t.com.cn/usherlight/comments/432021.html//www.ot7t.com.cn/usherlight/archive/2016/11/29/432021.html#Feedback0//www.ot7t.com.cn/usherlight/comments/commentRss/432021.html//www.ot7t.com.cn/usherlight/services/trackbacks/432021.htmlThis is a general step that happens when m2e/m2eclipse (Maven integration for Eclipse) is installed, whether projects are actively using it or not.
这是因为m2eclipse(maven插件)要在启动时需要进行的一个步骤?/p>

This step can be disabled through the Eclipse preferences: Window / Preferences / Maven / "Download repository index updates on startup". This option is on the main "Maven" preference page (not a child page). Just uncheck the box to prevent this from happening.
我们可以停止这个动作。方法:Windows -> Preferences -> Maven 取消勾?Download repository index updates on startup



]]>
从pdf文件中提取文?/title><link>//www.ot7t.com.cn/usherlight/archive/2016/11/28/432019.html</link><dc:creator>云自无心水自?/dc:creator><author>云自无心水自?/author><pubDate>Mon, 28 Nov 2016 03:03:00 GMT</pubDate><guid>//www.ot7t.com.cn/usherlight/archive/2016/11/28/432019.html</guid><wfw:comment>//www.ot7t.com.cn/usherlight/comments/432019.html</wfw:comment><comments>//www.ot7t.com.cn/usherlight/archive/2016/11/28/432019.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/usherlight/comments/commentRss/432019.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/usherlight/services/trackbacks/432019.html</trackback:ping><description><![CDATA[有好几个java library都可以实现这个功能,但是从pdf提取文本的一个问题是,提取出来的文本没有固定的顺序,不容易比较好的还原其格式?br /><br />我的做法是使用pdfclown来进行这项工作。官方网站是:https://pdfclown.org/ 先下载其最新版本?br />参考其示例代码:https://pdfclown.org/2010/01/02/upcoming-0-0-8-whats-going-to-be-new/#more-30<br /><br />使用这段代码,我们不仅可以得到文本的字符串,还能得到文本的页数和相对坐标?br />我的思路是先把所有文本的字符串和坐标提取出来。然后排序,排序的顺序是纵坐标,然后横坐标?br />这样排序完毕后,就能比较好的解决文本格式问题?img src ="//www.ot7t.com.cn/usherlight/aggbug/432019.html" width = "1" height = "1" /><br><br><div align=right><a href="//www.ot7t.com.cn/" title="四川福利彩票快乐12">四川福利彩票快乐12</a></div>]]></description></item></channel></rss> <script>(function(){ var src = (document.location.protocol == "http:") ? "//js.passport.qihucdn.com/11.0.1.js?f7a6bc378844a5df707c414e6b6fea33":"https://jspassport.ssl.qhimg.com/11.0.1.js?f7a6bc378844a5df707c414e6b6fea33"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script>