Wayne
          井底的蛙--一直仰望著天空
          posts - 16,comments - 6,trackbacks - 0
               摘要: $ kill -l
          1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
          5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE
          9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
          13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17) SIGCHLD
          18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN
          22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
          26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO
          30) SIGPWR 31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1
          36) SIGRTMIN+2 37) SIGRTMIN+3 38) SIGRTMIN+4 39) SIGRTMIN+5
          40)   閱讀全文
          posted @ 2011-10-09 10:52 waynewan 閱讀(5037) | 評論 (0)編輯 收藏
               摘要: 最近Gmail基本登陸不上去,Google的各種服務又開始時斷時續,網上查到修改hosts文件的方法,果然奏效。  閱讀全文
          posted @ 2011-09-27 13:43 waynewan 閱讀(6669) | 評論 (4)編輯 收藏

           Eclipse以前的默認字體一般是Courier New字體,這種字體看著習慣。但新版Eclipse安裝后改變了字體,并且在字體設置的地方沒有Courier New字體。

          解決辦法如下:

              1、 找到jFace并用WinRAR打開之:

                     jFace的具體位置:$Eclipse目錄$/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar,找到后,用WinRAR打開。

              2、 找到并修改字體屬性:
                      打開后,依次展開:/org/eclipse/jface/resources,這里,你將看到不同操作系統的字體設置,比如jfacefonts_hp_ux,properties里保存了HP-UX系統的字體設置,   jfacefonts_macosx.properties則保存了Mac X的字體設置。找到Windows 7/Vista的字體設置,雙擊,隨便用一個文本編譯器打開,找到org.eclipse.jface.textfont.0的配置項,將其設置成Courier New-regular即可,后面還可以設置字號。修改完成后,保存,WinRAR自動更新jar包。

              3、 啟動Eclipse Indigo,如果你沒有修改過字體,將看到字體已經改過來了,但如果你修改了,則Reset一下,字體就會改過來了。

           

          注意: 如果字體沒有改變過來,可能是因為Eclipse已經運行過,此時以命令行的方式啟動eclipse,啟動時加參數 -clean

          posted @ 2011-09-23 14:51 waynewan 閱讀(5316) | 評論 (2)編輯 收藏
               摘要: 加密算法都有幾個共同的要點:
          密鑰長度;(關系到密鑰的強度)
          加密模式;(ecb、cbc等等)
          對于加密模式,很多同學還不清楚,比如DES,也會有ECB、CBC等不同的區分,它們都是標準的;  閱讀全文
          posted @ 2011-05-23 22:04 waynewan 閱讀(21974) | 評論 (0)編輯 收藏
               摘要: String在Clone中的玄機  閱讀全文
          posted @ 2010-08-28 17:47 waynewan 閱讀(848) | 評論 (0)編輯 收藏
               摘要: 常量池(constant pool)指的是在編譯期被確定,并被保存在已編譯的.class文件中的一些數據。它包括了關于類、方法、接口等中的常量,也包括字符串常量。  閱讀全文
          posted @ 2010-08-28 17:44 waynewan 閱讀(336) | 評論 (0)編輯 收藏
               摘要: Suppose you have an object ‘a’ of class ‘A’. Sometimes you may need another new object ‘b’. It also belongs to class ‘A’ and has the same data with object ‘a’. But if you do some modification on b, it has no effect to the value of ‘a’. We call this process which produced new object ‘b’ as clone object ‘a’. The commonest time that you need to clone an object is when it is a parameter or return value of one of your public methods. If it is a parameter that you save somewhere, then you don't want t  閱讀全文
          posted @ 2010-08-28 17:36 waynewan 閱讀(285) | 評論 (0)編輯 收藏
               摘要: Java語言的一個優點就是取消了指針的概念,但也導致了許多程序員在編程中常常忽略了對象與引用(此引用非C++中的引用)的區別,特別是先學c、c++后學java的程序員。并且由于Java不能通過簡單的賦值來解決對象復制的問題,在開發過程中,也常常要要應用clone()方法來復制對象。比如函數參數類型是自定義的類時,此時便是引用傳遞而不是值傳遞。  閱讀全文
          posted @ 2010-08-28 17:21 waynewan 閱讀(328) | 評論 (0)編輯 收藏
          You are likely missing a class file that in your jar file.

          I had a similar situation and found that the new "next-generation" java plugin does not report NoClassDefFoundError, but instead reports findAppletJDKLevel.

          To see if you are missing class files, do the following:

          1) Close all browsers, ensuring that there are no plugin coffee cup icons in the Windows taskbar.
          2) Open the Java Control panel (Start->Control Panel->Java).
          2.5) On the General tab, clear cache by clicking Settings..., Delete Files..., OK.
          3) Open the Advanced tab.
          4) Expand the Java Plug-in tree option.
          5) Ensure that the "Enable the next-generation Java Plug-in" option is NOT checked and click OK.
          6) Visit your page again.
          7) View the java console stacktrace. It should include NoClassDefFoundError error message.
          8) Add the missing classes to your jar file.
          posted @ 2010-04-13 18:21 waynewan 閱讀(2374) | 評論 (0)編輯 收藏
               摘要: Proxool技術是一種開源的java連接池技術,具體介紹google或者百度之。項目組使用它的原因是它在性能上和易用性上都有很大的優勢。
          1,下載與安裝
          http://proxool.sourceforge.net/ 頁面下載jar文件,將路徑加入到project的buildpath里面……  閱讀全文
          posted @ 2010-04-12 17:26 waynewan 閱讀(1012) | 評論 (0)編輯 收藏
          僅列出標題
          共2頁: 1 2 下一頁 
          主站蜘蛛池模板: 星子县| 南华县| 赤水市| 土默特右旗| 临城县| 屯留县| 杂多县| 承德县| 赫章县| 福清市| 洛隆县| 宝清县| 平原县| 黄浦区| 盐池县| 苗栗县| 奎屯市| 沁源县| 张家川| 罗城| 偏关县| 华池县| 江安县| 富源县| 若尔盖县| 景泰县| 霍城县| 仲巴县| 县级市| 巢湖市| 南开区| 临沧市| 新安县| 北川| 湘潭市| 望都县| 响水县| 南投县| 新巴尔虎右旗| 九龙坡区| 壶关县|