轉自:初始化有序常量的一點小技巧編寫程式有時會用到有序常量。一個常見的情況是對命令列參數進行處理,如下的程式碼片段: public class A { ……. privatestatic final int PARAM_1 = 0; privatestatic final int PARAM_2 = 1; privatestatic final int PARAM_3 = 2;
AlertDialog show的時候會報錯:E/AndroidRuntime(921): android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application AlertDialog.Builder builder; builder = new AlertDialog.Builder(this.getApplicationContext()
軟體是免費使用的,自己工作中也一直用,有很多功能想增加,由於時間原因沒去整理需求。自從去年發布V1.0.0版後沒有在發布了,本次主要是增加瞭解密Oracle10g加密對像的功能,另外做了一些小的最佳化,發上來與大家分享一下,因為是Beta版,所以也請大家諒解,如果在使用解密功能時遇到問題可以發Email給我。註:如果使用V1.0的朋友設定了自訂的資料庫監視語句,就保留老版本的設定檔DBAToolsConfig.xml。 軟體名稱:DBATools For PL/SQL
Linux GUI 技術網http://www.linuxgraphics.cn/home/index.html遊戲美術-DOGAME遊戲兵工廠http://www.dogame.com.cn/OSChina代碼查看:android-4.0.1 - 開源中國http://www.oschina.net/code/explore/android-4.0.1eoe·Android
轉自:狀態驅動的遊戲智能體設計(一)http://edu.gamfe.com/tutor/d/30601.html狀態驅動的遊戲智能體設計(二)http://edu.gamfe.com/tutor/d/30600.html狀態驅動的遊戲智能體設計(三)http://edu.gamfe.com/tutor/d/39940.html狀態驅動的遊戲智能體設計(三)As the design stands, it’s necessary to create a separate Statebase
linux命令# ls / 目錄查看# ls -a / 列出所有檔案,包括隱藏檔案# ls -l /詳細列出目錄下檔案的許可權,所有者檔案大小等詳細資料,可以簡單輸入 "||"# ls -F /ect 列出目錄下檔案名稱及其目錄類型,查看ect目錄下的檔案。檔案名稱後有*號表示可執行檔有@表示符號連結 有/表示目錄名# ls -t 依照最後修改檔案時間列出檔案名稱# ls -R 列出目前的目錄和其子目錄的檔案名稱# ls -color=nerver 不以顏色方式顯示# ls