<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

    2009年7月14日

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

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

    導(dǎo)航

    <2009年7月>
    2829301234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678

    統(tǒng)計

    常用鏈接

    留言簿(7)

    隨筆分類

    隨筆檔案

    相冊

    Photo

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲国产高清美女在线观看 | 亚洲女人影院想要爱| 精品无码国产污污污免费网站国产| 国产无遮挡吃胸膜奶免费看| 亚洲高清视频在线| 性做久久久久久免费观看| 亚洲看片无码在线视频| 思思99re66在线精品免费观看| 久久夜色精品国产噜噜亚洲a| 最近中文字幕免费mv视频8| 国产午夜亚洲精品国产| 青青草国产免费久久久下载| 老牛精品亚洲成av人片| 亚洲真人日本在线| 美女视频黄a视频全免费网站色窝| 久久精品夜色国产亚洲av| 久久免费精品一区二区| 亚洲第一二三四区| 毛片基地免费视频a| 国产亚洲美女精品久久久久| 国产精品亚洲产品一区二区三区| 成全在线观看免费观看大全| 国产在线国偷精品免费看| 亚洲日产无码中文字幕| 222www免费视频| 亚洲a∨国产av综合av下载| 亚洲综合色区在线观看| 国产成人免费视频| 国产自偷亚洲精品页65页| 久久免费视频99| 亚洲最大天堂无码精品区| 内射无码专区久久亚洲| 国产成人亚洲综合网站不卡| 国产在线19禁免费观看| 国产在线观看无码免费视频| 亚洲综合伊人制服丝袜美腿| 国产精品亚洲二区在线观看 | 女人18毛片a级毛片免费| 五月天婷婷免费视频| 久久av无码专区亚洲av桃花岛| 午夜精品在线免费观看|