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

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

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

    Tao

    Tao obeys its own inherent Nature

    2008年2月29日

    搬到了: http://theantway.com
    posted @ 2011-11-08 13:43 wade 閱讀(213) | 評論 (0)編輯 收藏
    Ubuntu 11.04
    libxml2-2.7.8

    網(wǎng)上找了一些辦法都不能用,最后直接打開configure 文件,找到$RM "$cfgfile", 替換為 $RM -f "$cfgfile", 說白了就是出錯了也不要停,繼續(xù)執(zhí)行。再運(yùn)行configure, 成功
    posted @ 2011-06-02 10:15 wade 閱讀(1327) | 評論 (0)編輯 收藏

    When I try to use URLConnection to check if a url is accessible using the following code:

    try {
        URL url = new URL("http://169.254.169.254/latest");
    
        URLConnection connection = url.openConnection();
        connection.setConnectTimeout(5000);
        connection.connect();
        System.out.println("Connected successfully using url");
    } catch (IOException e) {
            e.printStackTrace();
    }
    

    I expected the behavior is: connect should be success if the host is reachable, else throw exception. It works fine without the anti-virus application, but always print “connected successfully” even the host is not reachable.

    Then I tried to use Socket to connect:

    Socket socket = new Socket();
    socket.connect(new InetSocketAddress("169.254.169.254", 80));
    if (socket.isConnected()) {
        System.out.println("Connected successfully using socket");
    } else {
        System.out.println("Connected failed using socket");
    }
    
    

    But Still got the same problem.

    The solution for it:

    Disable http check in anti-virus, for example, in ESET NOD32, the settings is Web access protection -> Http, Https -> Http scanner

    ESET_http_connection_always_success

    posted @ 2009-07-15 13:30 wade 閱讀(470) | 評論 (0)編輯 收藏

    Preview support edit images, but the menu item is disabled by default when I open an image file. I thought it was because the Preview does not support this kind of file type. Recently, when I try to find a simple image editor only for add some text, oval or rectangle, I found that the Preview support it perfectly.

    After customized the toolbar, the buttons enabled, and it’s very easy to add comments, but the menu item still disabled.

    The following is what I found about how to customize the toolbar from the Preview Help.

     

    Adding text to an image

    You can add text to an image to describe what’s in it or when the image was created.

    After you save the image, you can’t edit, move, or delete any text you added to it. If you think you’ll need to edit the text, convert the image to a PDF document, and then add notes to the PDF document. Notes added to a PDF document can be edited after they’re saved.

    To add text to an image:

    1. If the Annotate pop-up menu isn’t in the toolbar, choose View > Customize Toolbar and drag the Annotate pop-up menu to the toolbar.
    2. Choose Note from the Annotate pop-up menu in the toolbar.
    3. Drag over the area where you want the text to appear.
    4. Enter your text.

    Before you save the image, you can move, resize, edit, or delete the text. First choose Text Annotation from the Annotation pop-up menu in the toolbar. Then to edit the text, double-click it. To delete the text, click it so resize handles appear, and then press Delete.

    posted @ 2009-07-14 10:49 wade 閱讀(565) | 評論 (0)編輯 收藏
         摘要: 快速生成程序代碼, 比如Struts, Spring, Jdbc/Hibernate所有前后臺的代碼.
    支持Mysql, 以及支持Ado連接的數(shù)據(jù)庫.
    支持批量生成部分/全部模板, 保存選中的模板到Working Set
    使用Javascript作為模板腳本語言  閱讀全文
    posted @ 2008-03-05 13:28 wade 閱讀(4592) | 評論 (18)編輯 收藏
         摘要: Generate code, e.g. all files for Struts, Spring, Jdbc/Hibernate.
    Support Mysql, and database which support Ado connection
    Support generate file/project files and batch generate, and you can save you selection to a named working set in batch generate mode.
    Using Javascript as the template engine  閱讀全文
    posted @ 2008-03-04 22:48 wade 閱讀(905) | 評論 (0)編輯 收藏
    diff -r -q -X exclude.list . testing
    posted @ 2008-02-29 16:52 wade 閱讀(861) | 評論 (0)編輯 收藏

    導(dǎo)航

    <2008年2月>
    272829303112
    3456789
    10111213141516
    17181920212223
    2425262728291
    2345678

    統(tǒng)計(jì)

    常用鏈接

    留言簿(7)

    隨筆分類

    隨筆檔案

    相冊

    Photo

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 丝瓜app免费下载网址进入ios| 久久精品亚洲中文字幕无码麻豆 | 亚洲av无码成人精品区一本二本 | 亚洲国产熟亚洲女视频| 99久久国产免费-99久久国产免费 99久久国产免费中文无字幕 | 久久精品国产亚洲AV大全| 日韩a级无码免费视频| 亚洲日本一区二区三区在线| 高清免费久久午夜精品| 久久久久亚洲AV综合波多野结衣| 青青久久精品国产免费看| 男人的天堂亚洲一区二区三区 | 国产亚洲精品不卡在线| 国产综合免费精品久久久| 亚洲精品高清无码视频| 黄色片免费在线观看| 久久亚洲私人国产精品| 日韩欧美一区二区三区免费观看| 丁香婷婷亚洲六月综合色| 九九九精品成人免费视频| 亚洲精品久久无码av片俺去也| 国产成人免费片在线视频观看| 污污免费在线观看| 亚洲乱码无码永久不卡在线| 久久中文字幕免费视频| 亚洲一本之道高清乱码| 免费国产在线观看| 国产免费阿v精品视频网址| 亚洲理论在线观看| 国产成人高清精品免费鸭子| www免费插插视频| 亚洲国产天堂久久综合网站 | 久香草视频在线观看免费| 久久精品国产亚洲av四虎| 真人做人试看60分钟免费视频 | 午夜亚洲www湿好大| 国产在线观看免费观看不卡 | 日本在线看片免费| 亚洲一区二区无码偷拍| 最新亚洲成av人免费看| 蜜桃AV无码免费看永久|