??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-云自无心水自?/title><link>http://www.qpkxbc.shop/usherlight/</link><description>天^׃白云泉,云自无心水自闌Ӏ何必奔冲山下去Q更LL向人间Q?/description><language>zh-cn</language><lastBuildDate>Sun, 25 Aug 2019 01:41:01 GMT</lastBuildDate><pubDate>Sun, 25 Aug 2019 01:41:01 GMT</pubDate><ttl>60</ttl><item><title>记录备忘http://www.qpkxbc.shop/usherlight/archive/2017/08/09/432731.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 09 Aug 2017 11:52:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/08/09/432731.htmlhttp://www.qpkxbc.shop/usherlight/comments/432731.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/08/09/432731.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432731.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432731.html解决ҎQ?br />原来的E序Q?br />
            ZipEntry entry = new ZipEntry( "file3.txt" );
            zos.putNextEntry( entry );
            workbook.write( zos );
            zos.closeEntry();
改ؓQ?div>            ZipEntry entry = new ZipEntry( "file3.txt" );
            zos.putNextEntry( entry );
            workbook.write( new NonCloseableOutputStream( zos ) );
            zos.closeEntry();
其中 NonCloseableOutputStream 定义如下Q?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++http://www.qpkxbc.shop/usherlight/archive/2017/06/26/432623.html云自无心水自?/dc:creator>云自无心水自?/author>Mon, 26 Jun 2017 01:33:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/06/26/432623.htmlhttp://www.qpkxbc.shop/usherlight/comments/432623.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/06/26/432623.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432623.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432623.htmlhttps://notepad-plus-plus.org/community/topic/13661/plugin-manager-x64-available-submit-your-plugins

]]>
Remote Git Server migrationhttp://www.qpkxbc.shop/usherlight/archive/2017/06/15/432602.html云自无心水自?/dc:creator>云自无心水自?/author>Thu, 15 Jun 2017 00:40:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/06/15/432602.htmlhttp://www.qpkxbc.shop/usherlight/comments/432602.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/06/15/432602.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432602.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432602.htmlmove Git Server to a new IP/URL:

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

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


]]>
一些小工具http://www.qpkxbc.shop/usherlight/archive/2017/05/24/432545.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 23 May 2017 23:13:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/05/24/432545.htmlhttp://www.qpkxbc.shop/usherlight/comments/432545.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/05/24/432545.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432545.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432545.htmllistary
cmder可以split screen,在一个窗口中同时q行Ccmd

]]>
一个好用的工具AutoHotKeyhttp://www.qpkxbc.shop/usherlight/archive/2017/03/08/432367.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 08 Mar 2017 05:06:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/03/08/432367.htmlhttp://www.qpkxbc.shop/usherlight/comments/432367.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/03/08/432367.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432367.htmlhttp://www.qpkxbc.shop/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 pagehttp://www.qpkxbc.shop/usherlight/archive/2017/02/09/432293.html云自无心水自?/dc:creator>云自无心水自?/author>Wed, 08 Feb 2017 23:41:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2017/02/09/432293.htmlhttp://www.qpkxbc.shop/usherlight/comments/432293.htmlhttp://www.qpkxbc.shop/usherlight/archive/2017/02/09/432293.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432293.htmlhttp://www.qpkxbc.shop/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 打印数组http://www.qpkxbc.shop/usherlight/archive/2016/12/29/432213.html云自无心水自?/dc:creator>云自无心水自?/author>Thu, 29 Dec 2016 03:51:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2016/12/29/432213.htmlhttp://www.qpkxbc.shop/usherlight/comments/432213.htmlhttp://www.qpkxbc.shop/usherlight/archive/2016/12/29/432213.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432213.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432213.html
String[] splits=someString.split("a,b,c,d", ",");
logger.debug( "array: {}", (Object) splits );

q里要注意的是要把数组的数据类型强制{换ؓObject 

]]>
mysql遗忘root密码http://www.qpkxbc.shop/usherlight/archive/2016/12/21/432160.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 20 Dec 2016 23:12:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2016/12/21/432160.htmlhttp://www.qpkxbc.shop/usherlight/comments/432160.htmlhttp://www.qpkxbc.shop/usherlight/archive/2016/12/21/432160.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432160.htmlhttp://www.qpkxbc.shop/usherlight/services/trackbacks/432160.html
1、先停止mysql数据?br />
2、保存密码重|sql文g
     5.7.6Q包括)以后的版本:ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
     5.7.5Q包括)以前的版本:SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');
假设保存到文? c:\reset.txt

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

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


]]>
Eclipse启动时update indexes很慢http://www.qpkxbc.shop/usherlight/archive/2016/11/29/432021.html云自无心水自?/dc:creator>云自无心水自?/author>Tue, 29 Nov 2016 00:38:00 GMThttp://www.qpkxbc.shop/usherlight/archive/2016/11/29/432021.htmlhttp://www.qpkxbc.shop/usherlight/comments/432021.htmlhttp://www.qpkxbc.shop/usherlight/archive/2016/11/29/432021.html#Feedback0http://www.qpkxbc.shop/usherlight/comments/commentRss/432021.htmlhttp://www.qpkxbc.shop/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.
q是因ؓm2eclipse(maven插g)要在启动旉要进行的一个步骤?/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.
我们可以停止q个动作。方法:Windows -> Preferences -> Maven 取消N?Download repository index updates on startup



]]>
从pdf文g中提取文?/title><link>http://www.qpkxbc.shop/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>http://www.qpkxbc.shop/usherlight/archive/2016/11/28/432019.html</guid><wfw:comment>http://www.qpkxbc.shop/usherlight/comments/432019.html</wfw:comment><comments>http://www.qpkxbc.shop/usherlight/archive/2016/11/28/432019.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.qpkxbc.shop/usherlight/comments/commentRss/432019.html</wfw:commentRss><trackback:ping>http://www.qpkxbc.shop/usherlight/services/trackbacks/432019.html</trackback:ping><description><![CDATA[有好几个java library都可以实现这个功能,但是从pdf提取文本的一个问题是Q提取出来的文本没有固定的顺序,不容易比较好的还原其格式?br /><br />我的做法是用pdfclown来进行这工作。官方网站是Qhttps://pdfclown.org/ 先下载其最新版本?br />参考其CZ代码Qhttps://pdfclown.org/2010/01/02/upcoming-0-0-8-whats-going-to-be-new/#more-30<br /><br />使用q段代码Q我们不仅可以得到文本的字符Ԍq能得到文本的页数和相对坐标?br />我的思\是先把所有文本的字符串和坐标提取出来。然后排序,排序的顺序是U坐标,然后横坐标?br />q样排序完毕后,p比较好的解决文本格式问题?img src ="http://www.qpkxbc.shop/usherlight/aggbug/432019.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.qpkxbc.shop/usherlight/" target="_blank">云自无心水自?/a> 2016-11-28 11:03 <a href="http://www.qpkxbc.shop/usherlight/archive/2016/11/28/432019.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <a href="http://www.qpkxbc.shop/"><span class="STYLE1">1һ152ͼ</span></a> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <a href="http://www.433694.live">9769˫</a> <a href="http://www.076156.live">׬Ǯ</a> <a href="http://www.8801948.live">˫׬Ǯ</a> <a href="http://www.2049641.live">ӯֳ</a> <a href="http://www.509124.live">齫980</a> <a href="http://www.994248.live">36ƹٽֻ</a> <a href="http://www.5175616.live">һ</a> <a href="http://www.4902815.live">ƱȺ</a> <a href="http://www.2548361.live">Ʊ26ѡ5</a> <a href="http://www.422838.live">ʱʱ¼</a> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>