隨筆 - 25, 文章 - 1, 評論 - 0, 引用 - 0
          數(shù)據(jù)加載中……

          2010年5月31日

          批處理_獲取當(dāng)前時間_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 至尊貝貝 閱讀(1856) | 評論 (0)編輯 收藏

          [Java]-[截圖]-[獲取屏幕某點(diǎn)的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 至尊貝貝 閱讀(323) | 評論 (0)編輯 收藏

          XP系統(tǒng)自動登陸

          注冊表:
          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 至尊貝貝 閱讀(462) | 評論 (0)編輯 收藏

          [20100822]-[Flex]-[ACTIONSCRIPT]-[數(shù)組的深復(fù)制]

          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)編輯 收藏

          [20100531]-[BIEE]-[BAT]-[開啟和停止BIEE服務(wù)]

          net stop "sawjavahostsvc"
          net stop 
          "sawsvc"
          net stop 
          "Oracle BI Server"

          echo 即將開啟OracleBiee服務(wù)
          pause
          net start 
          "sawjavahostsvc"
          net start 
          "sawsvc"
          net start 
          "Oracle BI Server"

          posted @ 2010-05-31 17:24 至尊貝貝 閱讀(229) | 評論 (0)編輯 收藏

          [20100531]-[Javascript]-[IE判斷是否網(wǎng)頁元素加載完畢]

          function document.onreadystatechange()
          {

          if (document.readyState=="complete"{
              change11();
             }

          }

          function change11(){
              
              
          var year11= (new Date()).getFullYear();
              
              
          var targetdiv1 = document.getElementById('idResultsTableParent');
              
          var targettable1 = targetdiv1.firstChild;
              targettable1.rows(
          0).cells(2).innerHTML=(year11-1)+'年次均費(fèi)用';
              targettable1.rows(
          0).cells(3).innerHTML=(year11-2)+'年次均費(fèi)用';
              targettable1.rows(
          0).cells(4).innerHTML=(year11-3)+'年次均費(fèi)用';
              targettable1.rows(
          0).cells(5).innerHTML=(year11-4)+'年次均費(fèi)用';
              targettable1.rows(
          0).cells(6).innerHTML=(year11-1)+'年同比';
              targettable1.rows(
          0).cells(7).innerHTML=(year11-2)+'年同比';
              targettable1.rows(
          0).cells(8).innerHTML=(year11-3)+'年同比';
          }

          只對IE有效

          posted @ 2010-05-31 17:17 至尊貝貝 閱讀(508) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 嘉峪关市| 阿瓦提县| 扬中市| 安吉县| 湖州市| 商城县| 樟树市| 平遥县| 通渭县| 琼结县| 土默特右旗| 贵港市| 浙江省| 鹤山市| 如东县| 郸城县| 尼勒克县| 高邑县| 原阳县| 项城市| 衡阳市| 扶余县| 巫山县| 无棣县| 杂多县| 仁怀市| 色达县| 开化县| 崇礼县| 崇左市| 枣阳市| 三台县| 确山县| 同心县| 昌宁县| 体育| 仙桃市| 上蔡县| 泽州县| 靖安县| 清原|