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

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

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

    云自無(wú)心水自閑

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

    2017年3月8日

    1. java zip 多個(gè)文件時(shí),如果先添加了一個(gè)excel文件,然后再想添加其他的文件時(shí)會(huì)出現(xiàn) steam is closed的錯(cuò)誤。這是因?yàn)閣ork.write(outputSteam)后,出調(diào)用outputSteam.close(),關(guān)閉輸出流。
    解決方法:
    將原來(lái)的程序:
                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ū)分大小寫(xiě)
    select * from table1 where binary field1 = 'abc';

    posted @ 2017-08-09 19:52 云自無(wú)心水自閑 閱讀(445) | 評(píng)論 (0)編輯 收藏

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

    posted @ 2017-06-26 09:33 云自無(wú)心水自閑 閱讀(422) | 評(píng)論 (0)編輯 收藏

    move Git Server to a new IP/URL:

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

    也可以在git視圖中,右鍵點(diǎn)擊項(xiàng)目,選擇屬性,然后修改url中的地址

    posted @ 2017-06-15 08:40 云自無(wú)心水自閑 閱讀(336) | 評(píng)論 (0)編輯 收藏

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

    posted @ 2017-05-24 07:13 云自無(wú)心水自閑 閱讀(18600) | 評(píng)論 (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 云自無(wú)心水自閑 閱讀(382) | 評(píng)論 (0)編輯 收藏

    主站蜘蛛池模板: 免费大学生国产在线观看p| 亚洲熟妇av一区二区三区漫画| 国产精品视频免费| 免费看国产精品3a黄的视频| 老司机亚洲精品影视www| 国产成人精品日本亚洲专一区| 国产黄在线观看免费观看不卡| xxxx日本免费| 77777亚洲午夜久久多人| 亚洲欧美不卡高清在线| 日本免费大黄在线观看| 亚洲欧洲中文日韩av乱码| 中文日韩亚洲欧美制服| 99精品视频在线视频免费观看| 亚洲一区中文字幕久久| 两个人日本免费完整版在线观看1| 成人au免费视频影院| 亚洲婷婷综合色高清在线| 伊人免费在线观看高清版| 亚洲А∨精品天堂在线| 亚洲人成网站色7799| 亚洲国产成人精品女人久久久| EEUSS影院WWW在线观看免费| 亚洲国产精品国自产拍电影| 精品无码一级毛片免费视频观看 | 亚洲?V乱码久久精品蜜桃 | 日韩视频免费在线观看| 亚洲中文字幕无码久久精品1 | 亚洲中文字幕无码av永久| 国内精自视频品线六区免费| 亚洲中文字幕一二三四区| 亚洲 小说区 图片区 都市| 久久国产乱子免费精品| 亚洲中文字幕久久久一区| 亚洲国产一区视频| 4444www免费看| 亚洲乱码在线视频| 国产成人免费在线| 日本亚洲中午字幕乱码| 国产免费卡一卡三卡乱码| 亚洲国产区男人本色|