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

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

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

    2010年3月15日


    默認的Google.com搜索會經(jīng)常訪問失敗,嘗試改成訪問正常的Google.cn,但在搜索欄的“查找更多提供程序”頁面里又沒有Google.cn搜索。

    其實可以通過修改注冊表的方式把默認的Google.com改成Google.cn,或添加一個Google.cn搜索。

    在運行里輸入regedit,回車,打開注冊表編輯程序;

    瀏覽到HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\,里面每個子項就是一個搜索提供程序;

    找到一個DisplayName為Google的,這就是默認的Google.com搜索,下面我們把它改成Google.cn搜索:

    將URL的值改為:
    http://www.google.cn/search?hl=zh-CN&q={searchTerms}&meta=&aq=f&oq=

    確定后關(guān)閉注冊表編輯程序,重啟IE8,默認的Google.com搜索就變成Google.cn搜索了,Hooray

    posted @ 2010-03-15 10:34 羅明 閱讀(2293) | 評論 (0)編輯 收藏

    2010年3月8日


    這個有可能是注冊表訪問失敗造成的。

    解決辦法:

    1. 打開C:\WINDOWS\setupapi.log,在最底下(最新的信息)應(yīng)該可以看到驅(qū)動安裝時訪問某個注冊表項失敗。
    例如: 在我這里是HKCR/CLSID/{*****}

    2. 運行regedit,打開注冊表編輯,選中相應(yīng)的注冊表項,右鍵單擊選擇“權(quán)限”,在彈出的對話框里賦予當前用戶或Everyone “完全控制”的權(quán)限。
    例如:展開HKEY_CLASSES_ROOT,瀏覽到CLSID項,右鍵單擊選擇“權(quán)限”,選擇Everyone,在下面的“完全控制”里勾選“允許”,單擊確定完成修改。

    3. 重新安裝或更新驅(qū)動程序,應(yīng)該就ok了 : )

    posted @ 2010-03-08 15:10 羅明 閱讀(4397) | 評論 (0)編輯 收藏

    2010年2月26日



    Example: The steps to delete QSAMPLE library
    ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

    1# Use the Work with System Value (WRKSYSVAL) command to remove QSAMPLE from the system value(QUSERLIBL or QSYSLIBL) it is contained in. (The changed system value does not affect the library list of any jobs running.)


    1. Enter WRKSYSVAL QUSRLIBL at the i5/OS command line.
    2. Press Enter and select option number 2.
    3. Remove the QSAMPLE library from the list.


    2# Use the Remove Library List Entry (RMVLIBLE) command to remove QSAMPLE from the job's library list.

    1. Enter RMVLIBLE QSAMPLE at the i5/OS command line.


    3# Use the Work with Object Lock (WRKOBJLCK) command to remove locks on QSAMPLE library if any.

    1. Enter WRKOBJLCK OBJ(QSYS/QSAMPLE) OBJTYPE(*LIB) at the i5/OS command line.
    2. Remove object locks on QSAMPLE library.


    4# Use the Delete Library (DLTLIB) command to delete the library and the objects in the library.

    1. Enter DLTLIB QSAMPLE at the i5/OS command line.

    ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

    The information are mainly refered from IBM infocenter for iSeries.

    posted @ 2010-02-26 16:50 羅明 閱讀(1828) | 評論 (2)編輯 收藏

    2009年8月2日

    今天發(fā)現(xiàn)兩個google和百度找不到的知識點,趕緊記下來,是切身體會呢^-^

    1. 有的人光線暗的時候照相總是紅眼,旁邊的人卻沒有。 這個在百度和google上都找不到原因。不過我現(xiàn)在知道了,是因為這個人眼睛比其他人大,大眼睛的人晚上照相時肯定紅眼的,嘿嘿

    2. 我的Windows 7 Beta居然可以一直用。你看,我筆記本這半年時間還沒自動重啟或不能使用。。。
    posted @ 2009-08-02 22:48 羅明 閱讀(1309) | 評論 (2)編輯 收藏

    2009年7月17日

    1、修改/etc/default/locale, 改為:

    LANG="en_US.UTF-8"

    LANGUAGE="en_US:en"

    2、sudo reboot

    3、locale

    顯示環(huán)境變量已經(jīng)全部是英文


    上述程式已在Ubuntu 9.04親測。



    轉(zhuǎn)載自:R08的博客大巴空間
    轉(zhuǎn)載源:http://round08.blogbus.com/logs/21832677.html
    posted @ 2009-07-17 14:38 羅明 閱讀(1635) | 評論 (0)編輯 收藏
     

     

        如果想 Ubuntu 在每次啟動到 command prompt ,可以輸入以下指令:

        $echo “false” | sudo tee /etc/X11/default-display-manager

        當下次開機時,就會以指令模式啟動,如果想變回啟動 x window,可以輸入:

        $echo “/usr/sbin/gdm” | sudo tee /etc/X11/default-display-manager

        P.S. 如果不是用 gdm 作為,以上指令需要根據(jù)你的環(huán)境作出更改,例如 kdm 或 xdm。


    上述程式已在Ubuntu 9.04親測。


    轉(zhuǎn)載自:文章來源chinaitlab社區(qū) 作者佚名 更新時間2008-9-9 保存本文
    轉(zhuǎn)載源:http://linux.chinaitlab.com/administer/763020.html
    posted @ 2009-07-17 14:33 羅明 閱讀(1571) | 評論 (2)編輯 收藏

    2008年6月22日

    Firefox在Linux下的后退按鍵是“Alt"+"<-",要同時按兩個鍵,不如Windows下的Backspace一次按鍵方便。

    要啟用Backspace,只需將about:config里的“browser.backspace_action”由默認的2改為0


    posted @ 2008-06-22 20:50 羅明 閱讀(2015) | 評論 (1)編輯 收藏

    2008年6月20日

    編輯工程的.project文件:

    添加

    <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
    <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

    <natures>

    </natures>

     

    eg.

    例如將

    <natures>
        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>

    更改為:

    <natures>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
        <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
        <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>

    posted @ 2008-06-20 17:14 羅明 閱讀(7703) | 評論 (8)編輯 收藏

    2008年5月22日

    應(yīng)用python的pickle模塊從序列化文件中構(gòu)造對象,根據(jù)對象的構(gòu)造解開謎題

    詳細描述 :

    http://www.pythonchallenge.com/pc/def/peak.html

    (peak hell連讀發(fā)音類似pickle,謎題就是pickle模塊的應(yīng)用了)

     

    解決方案代碼:

    import pprint,pickle,sys

    pfile 
    = open('banner.p')
    data 
    = pickle.load(pfile)
    for row in data:
      
    for item in row:
        
    for index in range(item[1]):
          sys.stdout.write(item[0])
      
    print ''
    pfile.close()

    輸出的對象構(gòu)造:


    posted @ 2008-05-22 17:45 羅明 閱讀(1309) | 評論 (16)編輯 收藏

    2008年5月16日

    在網(wǎng)上找了很久才找到developerWorks上的一個解決方案:

    在命令提示符里切換到目錄“C:\Program Files\IBM\SDP70\jdk\jre\bin”,運行“java.exe -Xshareclasses:destroyAll”

    這樣就能正常啟動RAD了! 

    原因描述如下:

    (摘錄自http://www-1.ibm.com/support/docview.wss?uid=swg21281393,并通過Google Translate轉(zhuǎn)譯,譯文已作修改)

    ×××××××××××××××××××××××××××××××××××××

    問題(摘要)
    此說明解釋如何解決錯誤“JVM的終止。退出代碼= 1”。

    起因
    RAD自帶的IBM JVM使用了一個高速緩存參數(shù)來提高性能。而因為JVM的崩潰,比如藍屏,或斷電,都可能造成Java高速緩存被損壞。 而JVM會拒絕連接到一個損壞的高速緩存。

    解決問題
    要解決這個問題,使用“-Xshareclasses:destroyAll”的Java選項將銷毀所有的共享級緩存。這是一種實用工具選項,所以不會啟動JVM 。如果您想要這么做,只要從命令提示符使用參數(shù)“-Xshareclasses:destroyAll”來運行RAD使用的java。

    ××××××××××××××××××××××××××××××××××××××

    posted @ 2008-05-16 11:06 羅明 閱讀(2843) | 評論 (17)編輯 收藏

    2008年5月9日

    Follow the URL chain to get the result (the chain may contain over 300 URLs......)

    謎題詳細描述:http://www.pythonchallenge.com/pc/def/linkedlist.php

    Python解決方案:
    import urllib

    nothing 
    = "12345"
    ii 
    = 1
    while ii<401:
      source 
    = urllib.urlopen("http://www.pythonchallenge.com" 
        
    + "/pc/def/linkedlist.php?nothing="+nothing).read()
      nothing
    =filter(str.isdigit, source)

      
    print nothing
      
    if source != "and the next nothing is " + nothing:
        
    print "source is not: and the next nothing is " + nothing
        
    print "source is: " + source
        nothing 
    = raw_input("select which number?")
        
    print "you set " + nothing + " as nothing"
      ii
    +=1


    posted @ 2008-05-09 14:32 羅明 閱讀(1334) | 評論 (27)編輯 收藏

    2008年5月8日

    從一大堆字母里找出兩邊都剛好有3個大寫字母的小寫字母
    詳細描述:http://www.pythonchallenge.com/pc/def/equality.html

    解決方案:

    Python:
    >>> import re
    >>> re.findall(r'[a-z][A-Z][A-Z][A-Z][a-z][A-Z][A-Z][A-Z][a-z]', text)
    posted @ 2008-05-08 12:50 羅明 閱讀(1331) | 評論 (0)編輯 收藏

    2008年5月7日

    謎題描述:http://www.pythonchallenge.com/pc/def/ocr.html
    從一大堆亂碼中找出可以理解的信息(字母)

    Java解決方案:
    public class Test {

        
    public static void main(String[] args) throws Exception {
            URL url 
    = new URL("http://www.pythonchallenge.com"
               + "
    /pc/def/ocr.html");
            BufferedReader reader 
    = new BufferedReader(new
              
    InputStreamReader(url.openStream()));
            StringBuffer sb = new StringBuffer();
            
    int i = reader.read();
            
    while(i != -1)
            {
                
    if((i >= (int)'A' && i <= (int)'Z')
                  
    || (i >= (int)'a' && i <= (int)'z'))
                {
                    sb.append((
    char)i);
                }
                i 
    = reader.read();
            }
            reader.close();
            String source 
    = sb.toString();
            
           
    //頁面源碼中最后一個單詞是below
            System.out.println(
              
    source.substring(source.indexOf("below"+ 5)
            );
        }
    }

    附Python和Shell:

    Python:
    >>> text = """
                 <copy and paste>
    """
    >>> import string
    >>> for i in text:
            
    if i in string.ascii_letters:
            
    print i,

    Shell:
    $ curl http://www.pythonchallenge.com/pc/def/ocr.html | grep -o [a-z]
    posted @ 2008-05-07 16:11 羅明 閱讀(1501) | 評論 (28)編輯 收藏

    2008年5月6日

    謎題描述:http://www.pythonchallenge.com/pc/def/map.html

    Java解決方案:
     1 public class Test {
     2     public static void main(String[] args) {
     3         String a = "g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq "
                  + "
    ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb "
                  + "gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq "
                  + "qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. "
                  + "lmu ynnjw ml rfc spj.";
     4         char[] ac = a.toCharArray();
     5         int zi = (int)'z';
     6         int ai = (int)'a';
     7         for(int index=0; index<ac.length; index++)
     8         {
     9             int aci = (int)ac[index];
    10             if(aci >= ai && aci <= zi)
    11             {
    12                 int aci2 = (int)ac[index] + 2;
    13                 
    14                 System.out.print((char)((aci2>zi)?(aci2%(zi+1)+ai):aci2));
    15             }
    16             else
    17             {
    18                 System.out.print((char)aci);
    19             }
    20         }
    21     }
    22 }

    附上Python和Shell解決方案:

    Python:
    1 >>> import string
    2 >>> text = """g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr
    3  amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q
    4   ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb.
    5  lmu ynnjw ml rfc spj."""
    6 >>> table = string.maketrans(
    7    string.ascii_lowercase,
    8    string.ascii_lowercase[2:]+string.ascii_lowercase[:2])

    Shell:
    $ tr [a-z] [c-za-b]

    posted @ 2008-05-06 18:02 羅明 閱讀(1502) | 評論 (28)編輯 收藏

    2008年1月27日

    rt, 這個時候你發(fā)現(xiàn)不能退出卡巴斯基,也不能結(jié)束AVP進程,而且保護和殺毒任務(wù)也不能停止,CPU占用率100%,網(wǎng)也上不了了,想上網(wǎng)找個解決辦法都不行。

    這時你想著只能重啟系統(tǒng)或注銷機器了,如果你不小心按照正常的關(guān)機或注銷來走(不正常關(guān)機指“瞬時關(guān)機”(Ctrl+關(guān)機)),那你就等吧,界面會停留在“保存?zhèn)€人設(shè)置”那里十來分鐘,你不得不拔電源了,,,

    現(xiàn)在我告訴你一招關(guān)閉卡巴斯基的辦法:
    控制面板-》管理工具-》服務(wù)-》找到卡巴斯基服務(wù),停止該服務(wù)-》,,,,,世界清凈了。(還是不行?那你“Ctrl+關(guān)機”吧-_-!)

    世界清凈后,你可以再試著啟動卡巴斯基服務(wù),應(yīng)該就ok了(裸奔還是不安全滴^_^)


    PS:可能是程序不兼容造成卡巴斯基異常的哦(在我這里是Intel的無線網(wǎng)卡管理軟件PROSet)

    posted @ 2008-01-27 22:26 羅明 閱讀(6925) | 評論 (2)編輯 收藏

    2007年10月24日

    剛才有朋友問我推薦幾本學習Oracle的書,我想了想,以前學習還真沒系統(tǒng)的看過書,基本都是項目過程中慢慢熟悉。

    沒什么書可推薦的,所以就給他提了幾點建議^_^:

    1、到網(wǎng)上找篇安裝的文章,對照著裝好,遇到問題就google錯誤信息,解決問題。

    2、安裝完后做個小項目,做的過程中遇到問題就google查資料,解決。

    3、做完后想想有什么高級功能可以實現(xiàn),添加功能,改進。
    這個高級功能最好跟分析數(shù)據(jù)庫信息,導(dǎo)出信息報表有關(guān),這樣會用到比較多的oracle特定的sql語句。

    問:現(xiàn)在安裝那個版本?10還是9?
    答:9.2的好,網(wǎng)上資料多,現(xiàn)在用的也最多

    不需要看書的,要買的話,隨便找本介紹9.2的小書;

    主要是實踐,做項目,網(wǎng)上查資料!
    posted @ 2007-10-24 16:21 羅明 閱讀(1768) | 評論 (30)編輯 收藏

    2007年10月8日

         摘要: 在equinox的Server-Side application中添加JSF支持  閱讀全文
    posted @ 2007-10-08 15:05 羅明 閱讀(4060) | 評論 (25)編輯 收藏

    2007年9月29日

         摘要: 硬盤小,所以經(jīng)常需要清理清理垃圾,把看過的電影刪掉,把舊的文檔課件打包,,,等等。 其實我們也可以從另一方面著手,爭取少占用硬盤空間,比如說: 在線網(wǎng)絡(luò)應(yīng)用  閱讀全文
    posted @ 2007-09-29 23:18 羅明 閱讀(1400) | 評論 (28)編輯 收藏

    2007年9月17日

         摘要: 通過聯(lián)系下面的成員公司可以獲得OSGi的相關(guān)開發(fā)套件  閱讀全文
    posted @ 2007-09-17 22:13 羅明 閱讀(1962) | 評論 (28)編輯 收藏
     
         摘要: OSGi聯(lián)盟由業(yè)界領(lǐng)先的技術(shù)創(chuàng)新公司和組織組成,通過構(gòu)建有效成熟的OSGi服務(wù)平臺和促進它的采用來保證它的組件集成平臺的應(yīng)用和服務(wù)的互操作能力。OSGi聯(lián)盟成員資格的申請是向業(yè)界開放的,商業(yè)和非營利公司,政府組織,教育機構(gòu),以及支持OSGi聯(lián)盟目標,政策和規(guī)程的任何其它公司都可以申請成為OSGi聯(lián)盟成員。  閱讀全文
    posted @ 2007-09-17 22:12 羅明 閱讀(1792) | 評論 (29)編輯 收藏
    僅列出標題  下一頁
     
    主站蜘蛛池模板: 午夜在线a亚洲v天堂网2019| 久久久精品视频免费观看 | 在线观看免费亚洲| 激情吃奶吻胸免费视频xxxx| 亚洲精品高清国产一线久久| 114一级毛片免费| 一区二区三区免费高清视频| 亚洲国产模特在线播放| 亚洲精品成人a在线观看| jjizz全部免费看片| 日本一区二区三区在线视频观看免费 | 亚洲欧洲日本天天堂在线观看| 国产成人免费手机在线观看视频| A毛片毛片看免费| 色在线亚洲视频www| 亚洲国产一成人久久精品| 在线观看免费大黄网站| 国产在线观看免费视频软件| 亚洲AV综合永久无码精品天堂| 亚洲AV无码欧洲AV无码网站| 日本a级片免费看| 99精品视频免费观看| 免费国产草莓视频在线观看黄| 亚洲精品免费在线视频| 国产偷国产偷亚洲高清日韩 | 亚洲伊人久久大香线蕉综合图片| 男人的好看免费观看在线视频| 青青操视频在线免费观看| 亚洲精品国产综合久久久久紧| 日韩亚洲AV无码一区二区不卡| 亚洲国产精品一区二区九九| 性感美女视频在线观看免费精品| 午夜精品一区二区三区免费视频| 色妞www精品视频免费看| 亚洲视频无码高清在线| 久久精品亚洲综合专区| 国产亚洲精品久久久久秋霞| 国产一区在线观看免费| 黄页免费的网站勿入免费直接进入| 久久99毛片免费观看不卡| 国产精品免费大片一区二区|