<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    云自無心水自閑

    天平山上白云泉,云自無心水自閑。何必奔沖山下去,更添波浪向人間!
    posts - 288, comments - 524, trackbacks - 0, articles - 6
      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

    2017年2月9日

    1. java zip 多個文件時,如果先添加了一個excel文件,然后再想添加其他的文件時會出現(xiàn) steam is closed的錯誤。這是因為work.write(outputSteam)后,出調用outputSteam.close(),關閉輸出流。
    解決方法:
    將原來的程序:
                ZipEntry entry = new ZipEntry( "file3.txt" );
                zos.putNextEntry( entry );
                workbook.write( zos );
                zos.closeEntry();
    改為:
                ZipEntry entry = new ZipEntry( "file3.txt" );
                zos.putNextEntry( entry );
                workbook.write( new NonCloseableOutputStream( zos ) );
                zos.closeEntry();

    其中 NonCloseableOutputStream 定義如下:
    public class NonCloseableOutputStream extends java.io.FilterOutputStream {
        public NonCloseableOutputStream(OutputStream out) {
            super(out);
        }
        @Override public void close() throws IOException {
            flush();
        }
    }



    2. 使用binary使得mysql區(qū)分大小寫
    select * from table1 where binary field1 = 'abc';

    posted @ 2017-08-09 19:52 云自無心水自閑 閱讀(444) | 評論 (0)編輯 收藏

    https://notepad-plus-plus.org/community/topic/13661/plugin-manager-x64-available-submit-your-plugins

    posted @ 2017-06-26 09:33 云自無心水自閑 閱讀(418) | 評論 (0)編輯 收藏

    move Git Server to a new IP/URL:

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

    也可以在git視圖中,右鍵點擊項目,選擇屬性,然后修改url中的地址

    posted @ 2017-06-15 08:40 云自無心水自閑 閱讀(334) | 評論 (0)編輯 收藏

    autohotkey
    listary
    cmder可以split screen,在一個窗口中同時運行數(shù)個cmd

    posted @ 2017-05-24 07:13 云自無心水自閑 閱讀(18545) | 評論 (0)編輯 收藏

    官網(wǎng)地址:autohotkey.com

    ; 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

    posted @ 2017-03-08 13:06 云自無心水自閑 閱讀(380) | 評論 (0)編輯 收藏

    <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>

    posted @ 2017-02-09 07:41 云自無心水自閑 閱讀(416) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 国产成人综合亚洲绿色| 亚洲国产精华液2020| 精品国产污污免费网站入口在线| 成熟女人特级毛片www免费| 亚洲不卡中文字幕| 最近中文字幕高清免费中文字幕mv| 亚洲成AV人片一区二区| 免费无码又爽又刺激一高潮| 日本免费人成在线网站| 国产福利免费观看| 国产亚洲一区二区在线观看| 亚洲人成77777在线播放网站不卡| 黄色毛片免费观看| 亚洲精品乱码久久久久久蜜桃| 亚洲无砖砖区免费| 一二三四视频在线观看中文版免费| 亚洲国产区男人本色在线观看| 欧洲精品免费一区二区三区| 国产亚洲综合精品一区二区三区| 亚洲日韩精品无码专区网站| 亚洲乱码在线观看| 国产男女性潮高清免费网站| 九九九精品视频免费| 在线a毛片免费视频观看| 污污的视频在线免费观看| 最新猫咪www免费人成| 色www免费视频| 国产亚洲一区二区三区在线| 中国xxxxx高清免费看视频| 亚洲人成小说网站色| 亚洲 综合 国产 欧洲 丝袜| 亚洲中文字幕久久精品蜜桃| 777爽死你无码免费看一二区| 最新亚洲精品国偷自产在线| av在线亚洲欧洲日产一区二区| 免费黄网站在线看| 亚洲人成人一区二区三区| xxxxwww免费| 久青草国产免费观看| 亚洲无人区视频大全| 亚洲国产精品毛片av不卡在线|