隨筆 - 25, 文章 - 1, 評論 - 0, 引用 - 0
          數據加載中……

          2010年7月26日

          批處理_獲取當前時間_BAT

          set d=%date:~0,10%
          set d=%d:-=%
          set d=%d: =0%
          set t=%time:~0,8%
          set t=%t::=%
          set t=%t: =0%
          echo 
          "%p%%d%%t%"
          pause

          posted @ 2011-05-03 18:29 至尊貝貝 閱讀(1855) | 評論 (0)編輯 收藏

          [Java]-[截圖]-[獲取屏幕某點的RGB]-[代碼]

              public static String getHexRGB(int x, int y, Robot robot) {
                  
          if (robot == null)
                      
          return "null";
                  Dimension dimension 
          = Toolkit.getDefaultToolkit().getScreenSize();
                  BufferedImage bi 
          = robot.createScreenCapture(new Rectangle(00,
                          dimension.width, dimension.height));
                  
          return Integer.toHexString(16777216 + bi.getRGB(x, y));
              }

          posted @ 2010-10-29 09:49 至尊貝貝 閱讀(349) | 評論 (0)編輯 收藏

          [FlashPlayer]-[release]-[離線安裝程序]

          http://get.adobe.com/cn/flashplayer/otherversions/

          posted @ 2010-09-28 16:23 至尊貝貝 閱讀(321) | 評論 (0)編輯 收藏

          XP系統自動登陸

          注冊表:
          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
          DefaultUserName 值 為要登陸的用戶名: 
          DefaultPassword 為你的密碼:
          AutoAdminLogon 值為1

          posted @ 2010-09-28 07:55 至尊貝貝 閱讀(202) | 評論 (0)編輯 收藏

          [chrome][symantec]沖突解決辦法

          修改注冊表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant下"Start" DWORD的值為"4"

          posted @ 2010-09-26 09:00 至尊貝貝 閱讀(461) | 評論 (0)編輯 收藏

          [20100822]-[Flex]-[ACTIONSCRIPT]-[數組的深復制]

          import flash.utils.ByteArray; 
           
          function clone(source:Object):* 

              var myBA:ByteArray 
          = new ByteArray(); 
              myBA.writeObject(source); 
              myBA.position 
          = 0
              return(myBA.readObject()); 
          }

          posted @ 2010-08-22 21:37 至尊貝貝 閱讀(183) | 評論 (0)編輯 收藏

          [Java]-[Enum]-[DBTYPE]

              enum DatabaseProduct {
                  ACCESS,
                  UNKNOWN,
                  DERBY,
                  DB2_OLD_AS400,
                  DB2_AS400,
                  DB2,
                  FIREBIRD,
                  GREENPLUM,
                  HSQLDB,
                  INFORMIX,
                  INFOBRIGHT,
                  INGRES,
                  INTERBASE,
                  LUCIDDB,
                  MSSQL,
                  NETEZZA,
                  NEOVIEW,
                  ORACLE,
                  POSTGRESQL,
                  MYSQL,
                  SQLSTREAM,
                  SYBASE,
                  TERADATA,
                  VERTICA;

                  
          /**
                   * Return the root of the family of products this database product
                   * belongs to.
                   *
                   * <p>For {
          @link #DB2_AS400} and {@link #DB2_OLD_AS400} returns
                   * {
          @link #DB2}; for all other database products, returns the same
                   * product.
                   *
                   * 
          @return root of family of database products
                   
          */
                  
          public DatabaseProduct getFamily() {
                      
          switch (this) {
                      
          case DB2_OLD_AS400:
                      
          case DB2_AS400:
                          
          return DB2;
                      
          default:
                          
          return this;
                      }
                  }
              }

          posted @ 2010-07-26 15:15 至尊貝貝 閱讀(204) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 朝阳区| 贡嘎县| 鹤峰县| 海门市| 东乡县| 微山县| 台湾省| 望谟县| 内丘县| 普兰店市| 荔波县| 金川县| 杂多县| 林甸县| 彭泽县| 福鼎市| 乌审旗| 吴江市| 滦南县| 林西县| 永善县| 韶山市| 县级市| 蒲江县| 海口市| 庆云县| 北辰区| 石河子市| 乾安县| 霸州市| 弥勒县| 七台河市| 观塘区| 玉溪市| 侯马市| 乌兰察布市| 黄陵县| 云龙县| 库车县| 内丘县| 手游|