锘??xml version="1.0" encoding="utf-8" standalone="yes"?> 聽 cssbody { font-family:Verdana; font-size:14px; margin:0;}
#container {margin:0 auto; width:100%;}
#header { height:100px; background:#9c6; margin-bottom:5px;}
#menu { height:30px; background:#693; margin-bottom:5px;}
#mainContent { background:url(bg.gif) right 0 repeat-y; overflow:auto;zoom:1; margin-bottom:5px;}
#sidebar { float:right; width:200px;background:#cf9;}
#content { margin-right:205px !important; margin-right:202px; height:auto !important; height:100px; background:#ffa;}
#footer { height:60px; background:#9c6;}
.clearfloat { clear:both; height:0; font-size: 1px; line-height: 0px;}
聽
宸叉湁 0 浜哄彂琛ㄧ暀璦錛岀寷鍑?>>榪欓噷<<-鍙備笌璁ㄨ
ITeye鎺ㄨ崘
winver-媯鏌indows鐗堟湰
聽
銆銆wmimgmt.msc鎵撳紑windows綆$悊浣撶郴緇撴瀯(WMI)
聽
銆銆wupdmgrwindows鏇存柊紼嬪簭
聽
銆銆wscriptwindows鑴氭湰瀹夸富璁劇疆
聽
銆銆write鍐欏瓧鏉?/p>
聽
銆銆winmsd-緋葷粺淇℃伅
聽
銆銆wiaacmgr-鎵弿浠拰鐓х浉鏈哄悜瀵?/p>
聽
銆銆winchatXP鑷甫灞鍩熺綉鑱婂ぉ
聽
銆銆mem.exe鏄劇ず鍐呭瓨浣跨敤鎯呭喌
聽
銆銆Msconfig.exe-緋葷粺閰嶇疆瀹炵敤紼嬪簭
聽
銆銆mplayer2-綆鏄搘idnows media player
聽
銆銆mspaint鐢誨浘鏉?/p>
聽
銆銆mstsc榪滅▼妗岄潰榪炴帴
聽
銆銆mplayer2-濯掍綋鎾斁鏈?/p>
聽
銆銆magnify鏀懼ぇ闀滃疄鐢ㄧ▼搴?/p>
聽
銆銆mmc鎵撳紑鎺у埗鍙?/p>
聽
銆銆mobsync鍚屾鍛戒護
聽
銆銆dxdiag-媯鏌irectX淇℃伅
聽
銆銆drwtsn32 緋葷粺鍖葷敓
聽
銆銆devmgmt.msc- 璁懼綆$悊鍣?/p>
聽
銆銆dfrg.msc-紓佺洏紕庣墖鏁寸悊紼嬪簭
聽
銆銆diskmgmt.msc-紓佺洏綆$悊瀹炵敤紼嬪簭
聽
銆銆dcomcnfg-鎵撳紑緋葷粺緇勪歡鏈嶅姟
聽
銆銆ddeshare-鎵撳紑DDE鍏變韓璁劇疆
聽
銆銆dvdplayDVD鎾斁鍣?/p>
聽
銆銆net stop messenger-鍋滄淇′嬌鏈嶅姟
聽
銆銆net start messenger寮濮嬩俊浣挎湇鍔?/p>
聽
銆銆notepad鎵撳紑璁頒簨鏈?/p>
聽
銆銆nslookup-緗戠粶綆$悊鐨勫伐鍏峰悜瀵?/p>
聽
銆銆ntbackup-緋葷粺澶囦喚鍜岃繕鍘?/p>
聽
銆銆narrator-灞忓箷鈥滆榪頒漢鈥?/p>
聽
銆銆ntmsmgr.msc縐誨姩瀛樺偍綆$悊鍣?/p>
聽
銆銆ntmsoprq.msc-縐誨姩瀛樺偍綆$悊鍛樻搷浣滆姹?/p>
聽
銆銆netstat -an(TC)鍛戒護媯鏌ユ帴鍙?/p>
聽
銆銆syncapp鍒涘緩涓涓叕鏂囧寘
聽
銆銆sysedit緋葷粺閰嶇疆緙栬緫鍣?/p>
聽
銆銆sigverif-鏂囦歡絳懼悕楠岃瘉紼嬪簭
聽
銆銆sndrec32-褰曢煶鏈?/p>
聽
銆銆shrpubw鍒涘緩鍏變韓鏂囦歡澶?/p>
聽
銆銆secpol.msc-鏈湴瀹夊叏絳栫暐
聽
銆銆syskey-緋葷粺鍔犲瘑錛屼竴鏃﹀姞瀵嗗氨涓嶈兘瑙e紑錛屼繚鎶indows xp緋葷粺鐨勫弻閲嶅瘑鐮?/p>
聽
銆銆services.msc-鏈湴鏈嶅姟璁劇疆
聽
銆銆Sndvol32-闊抽噺鎺у埗紼嬪簭
聽
銆銆sfc.exe緋葷粺鏂囦歡媯鏌ュ櫒
聽
銆銆sfc /scannow-windows鏂囦歡淇濇姢
聽
銆銆tsshutdn-60縐掑掕鏃跺叧鏈哄懡浠?/p>
聽
銆銆tourstartxp綆浠?瀹夎瀹屾垚鍚庡嚭鐜扮殑婕父xp紼嬪簭)
聽
銆銆taskmgr浠誨姟綆$悊鍣?/p>
聽
銆銆eventvwr-浜嬩歡鏌ョ湅鍣?/p>
聽
銆銆eudcedit-閫犲瓧紼嬪簭
聽
銆銆explorer-鎵撳紑璧勬簮綆$悊鍣?/p>
聽
銆銆packager-瀵硅薄鍖呰紼嬪簭
聽
銆銆perfmon.msc璁$畻鏈烘ц兘鐩戞祴紼嬪簭
聽
銆銆progman紼嬪簭綆$悊鍣?/p>
聽
銆銆regedit.exe娉ㄥ唽琛?/p>
聽
銆銆rsop.msc-緇勭瓥鐣ョ粨鏋滈泦
聽
銆銆regedt32-娉ㄥ唽琛ㄧ紪杈戝櫒
聽
銆銆rononce -p 15縐掑叧鏈?/p>
聽
銆銆regsvr32 /u *.dll鍋滄dll鏂囦歡榪愯
聽
銆銆regsvr32 /u zipfldr.dll鍙栨秷ZIP鏀寔
聽
銆銆cmd.exeCMD鍛戒護鎻愮ず絎?/p>
聽
銆銆chkdsk.exe-Chkdsk紓佺洏媯鏌?/p>
聽
銆銆certmgr.msc璇佷功綆$悊瀹炵敤紼嬪簭
聽
銆銆calc-鍚姩璁$畻鍣?/p>
聽
銆銆charmap鍚姩瀛楃鏄犲皠琛?/p>
聽
銆銆cliconfg-SQL SERVER 瀹㈡埛绔綉緇滃疄鐢ㄧ▼搴?/p>
聽
銆銆Clipbrd鍓創鏉挎煡鐪嬪櫒
聽
銆銆conf-鍚姩netmeeting
聽
銆銆compmgmt.msc-璁$畻鏈虹鐞?/p>
聽
銆銆cleanmgr-鍨冨溇鏁寸悊
聽
銆銆ciadv.msc绱㈠紩鏈嶅姟紼嬪簭
聽
銆銆osk鎵撳紑灞忓箷閿洏
聽
銆銆odbcad32-ODBC鏁版嵁婧愮鐞嗗櫒
聽
銆銆oobe/msoobe /a媯鏌P鏄惁嬋媧?/p>
聽
銆銆lusrmgr.msc鏈満鐢ㄦ埛鍜岀粍
聽
銆銆logoff-娉ㄩ攢鍛戒護
聽
銆銆iexpress-鏈ㄩ┈鎹嗙粦宸ュ叿錛岀郴緇熻嚜甯?/p>
聽
銆銆Nslookup-IP鍦板潃渚︽祴鍣?/p>
聽
銆銆fsmgmt.msc-鍏變韓鏂囦歡澶圭鐞嗗櫒
聽
銆銆utilman杈呭姪宸ュ叿綆$悊鍣?/p>
聽
銆銆gpedit.msc-緇勭瓥鐣?/p>
聽
package com.shine; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; import javax.swing.Timer; public class Tetris extends JFrame { public Tetris() { Tetrisblok a = new Tetrisblok(); addKeyListener(a); add(a); } public static void main(String[] args) { Tetris frame = new Tetris(); JMenuBar menu = new JMenuBar(); frame.setJMenuBar(menu); JMenu game = new JMenu("娓告垙"); JMenuItem newgame = game.add("鏂版父鎴?); JMenuItem pause = game.add("鏆傚仠"); JMenuItem goon = game.add("緇х畫"); JMenuItem exit = game.add("閫鍑?); JMenu help = new JMenu("甯姪"); JMenuItem about = help.add("鍏充簬"); menu.add(game); menu.add(help); frame.setLocationRelativeTo(null); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(220, 275); frame.setTitle("Tetris鍐呮祴鐗?); // frame.setUndecorated(true); frame.setVisible(true); frame.setResizable(false); } } // 鍒涘緩涓涓縿緗楁柉鏂瑰潡綾? class Tetrisblok extends JPanel implements KeyListener { // blockType 浠h〃鏂瑰潡綾誨瀷 // turnState浠h〃鏂瑰潡鐘舵? private int blockType; private int score = 0; private int turnState; private int x; private int y; private int i = 0; int j = 0; int flag = 0; // 瀹氫箟宸茬粡鏀句笅鐨勬柟鍧梮=0-11,y=0-21; int[][] map = new int[13][23]; // 鏂瑰潡鐨勫艦鐘?絎竴緇勪唬琛ㄦ柟鍧楃被鍨嬫湁S銆乑銆丩銆丣銆両銆丱銆乀 7縐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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, // l { { 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0 }, { 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }, { 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, // t { { 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }, { 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 } } }; // 鐢熸垚鏂版柟鍧楃殑鏂規硶 public void newblock() { blockType = (int) (Math.random() * 1000) % 7; turnState = (int) (Math.random() * 1000) % 4; x = 4; y = 0; if (gameover(x, y) == 1) { newmap(); drawwall(); score = 0; JOptionPane.showMessageDialog(null, "GAME OVER"); } } // 鐢誨洿澧? public void drawwall() { for (i = 0; i < 12; i++) { map[i][21] = 2; } for (j = 0; j < 22; j++) { map[11][j] = 2; map[0][j] = 2; } } // 鍒濆鍖栧湴鍥? public void newmap() { for (i = 0; i < 12; i++) { for (j = 0; j < 22; j++) { map[i][j] = 0; } } } // 鍒濆鍖栨瀯閫犳柟娉? Tetrisblok() { newblock(); newmap(); drawwall(); Timer timer = new Timer(1000, new TimerListener()); timer.start(); } // 鏃嬭漿鐨勬柟娉? public void turn() { int tempturnState = turnState; turnState = (turnState + 1) % 4; if (blow(x, y, blockType, turnState) == 1) { } if (blow(x, y, blockType, turnState) == 0) { turnState = tempturnState; } repaint(); } // 宸︾Щ鐨勬柟娉? public void left() { if (blow(x - 1, y, blockType, turnState) == 1) { x = x - 1; } ; repaint(); } // 鍙崇Щ鐨勬柟娉? public void right() { if (blow(x + 1, y, blockType, turnState) == 1) { x = x + 1; } ; repaint(); } // 涓嬭惤鐨勬柟娉? public void down() { if (blow(x, y + 1, blockType, turnState) == 1) { y = y + 1; delline(); } ; if (blow(x, y + 1, blockType, turnState) == 0) { add(x, y, blockType, turnState); newblock(); delline(); } ; repaint(); } // 鏄惁鍚堟硶鐨勬柟娉? public int blow(int x, int y, int blockType, int turnState) { for (int a = 0; a < 4; a++) { for (int b = 0; b < 4; b++) { if (((shapes[blockType][turnState][a * 4 + b] == 1) && (map[x + b + 1][y + a] == 1)) || ((shapes[blockType][turnState][a * 4 + b] == 1) && (map[x + b + 1][y + a] == 2))) { return 0; } } } return 1; } // 娑堣鐨勬柟娉? public void delline() { int c = 0; for (int b = 0; b < 22; b++) { for (int a = 0; a < 12; a++) { if (map[a][b] == 1) { c = c + 1; if (c == 10) { score += 10; for (int d = b; d > 0; d--) { for (int e = 0; e < 11; e++) { map[e][d] = map[e][d - 1]; } } } } } c = 0; } } // 鍒ゆ柇浣犳寕鐨勬柟娉? public int gameover(int x, int y) { if (blow(x, y, blockType, turnState) == 0) { return 1; } return 0; } // 鎶婂綋鍓嶆坊鍔爉ap public void add(int x, int y, int blockType, int turnState) { int j = 0; for (int a = 0; a < 4; a++) { for (int b = 0; b < 4; b++) { if (map[x + b + 1][y + a] == 0) { map[x + b + 1][y + a] = shapes[blockType][turnState][j]; } ; j++; } } } // 鐢繪柟鍧楃殑鐨勬柟娉? public void paintComponent(Graphics g) { super.paintComponent(g); // 鐢誨綋鍓嶆柟鍧? for (j = 0; j < 16; j++) { if (shapes[blockType][turnState][j] == 1) { g.fillRect((j % 4 + x + 1) * 10, (j / 4 + y) * 10, 10, 10); } } // 鐢誨凡緇忓浐瀹氱殑鏂瑰潡 for (j = 0; j < 22; j++) { for (i = 0; i < 12; i++) { if (map[i][j] == 1) { g.fillRect(i * 10, j * 10, 10, 10); } if (map[i][j] == 2) { g.drawRect(i * 10, j * 10, 10, 10); } } } g.drawString("score=" + score, 125, 10); g.drawString("鎶靛埗涓嶈壇娓告垙錛?, 125, 50); g.drawString("鎷掔粷鐩楃増娓告垙銆?, 125, 70); g.drawString("娉ㄦ剰鑷垜淇濇姢錛?, 125, 90); g.drawString("璋ㄩ槻鍙楅獥涓婂綋銆?, 125, 110); g.drawString("閫傚害娓告垙鐩婅剳錛?, 125, 130); g.drawString("娌夎糠娓告垙浼よ韓銆?, 125, 150); g.drawString("鍚堢悊瀹夋帓鏃墮棿錛?, 125, 170); g.drawString("浜彈鍋ュ悍鐢熸椿銆?, 125, 190); } // 閿洏鐩戝惉 public void keyPressed(KeyEvent e) { switch (e.getKeyCode()) { case KeyEvent.VK_DOWN: down(); break; case KeyEvent.VK_UP: turn(); break; case KeyEvent.VK_RIGHT: right(); break; case KeyEvent.VK_LEFT: left(); break; } } // 鏃犵敤 public void keyReleased(KeyEvent e) { } // 鏃犵敤 public void keyTyped(KeyEvent e) { } // 瀹氭椂鍣ㄧ洃鍚? class TimerListener implements ActionListener { public void actionPerformed(ActionEvent e) { repaint(); if (blow(x, y + 1, blockType, turnState) == 1) { y = y + 1; delline(); } ; if (blow(x, y + 1, blockType, turnState) == 0) { if (flag == 1) { add(x, y, blockType, turnState); delline(); newblock(); flag = 0; } flag = 1; } ; } } }聽杞嚜CSDN
function htmlToubb(h,u){ str = pattern(document.getElementById(h).value); document.getElementById(u).value=str; } function ubbTohtml(u,h){ str = up(document.getElementById(u).value); document.getElementById(h).value=str; } function pattern(str){ str = str.replace(/<br[^>]*>/ig,'\n'); str = str.replace(/<p[^>\/]*\/>/ig,'\n'); str = str.replace(/\son[\w]{3,16}\s?=\s*([\'\"]).+?\1/ig,''); str = str.replace(/<hr[^>]*>/ig,'[hr]'); str = str.replace(/<(sub|sup|u|strike|b|i|pre)>/ig,'[$1]'); str = str.replace(/<\/(sub|sup|u|strike|b|i|pre)>/ig,'[/$1]'); str = str.replace(/<(\/)?strong>/ig,'[$1b]'); str = str.replace(/<(\/)?em>/ig,'[$1i]'); str = str.replace(/<(\/)?blockquote([^>]*)>/ig,'[$1blockquote]'); str = str.replace(/<img[^>]*smile=\"(\d+)\"[^>]*>/ig,'[s:$1]'); str = str.replace(/<img[^>]*src=[\'\"\s]*([^\s\'\"]+)[^>]*>/ig,'[img]'+'$1'+'[/img]'); str = str.replace(/<a[^>]*href=[\'\"\s]*([^\s\'\"]*)[^>]*>(.+?)<\/a>/ig,'[url=$1]'+'$2'+'[/url]'); str = str.replace(/<[^>]*?>/ig, ''); str = str.replace(/&/ig, '&'); str = str.replace(/</ig, '<'); str = str.replace(/>/ig, '>'); return str; } function up(str){ str = str.replace(/</ig,'<'); str = str.replace(/>/ig,'>'); str = str.replace(/\n/ig,'<br />'); str = str.replace(/\[code\](.+?)\[\/code\]/ig, function($1, $2) {return phpcode($2);}); str = str.replace(/\[hr\]/ig,'<hr />'); str = str.replace(/\[\/(size|color|font|backcolor)\]/ig,'</font>'); str = str.replace(/\[(sub|sup|u|i|strike|b|blockquote|li)\]/ig,'<$1>'); str = str.replace(/\[\/(sub|sup|u|i|strike|b|blockquote|li)\]/ig,'</$1>'); str = str.replace(/\[\/align\]/ig,'</p>'); str = str.replace(/\[(\/)?h([1-6])\]/ig,'<$1h$2>'); str = str.replace(/\[align=(left|center|right|justify)\]/ig,'<p align="$1">'); str = str.replace(/\[size=(\d+?)\]/ig,'<font size="$1">'); str = str.replace(/\[color=([^\[\<]+?)\]/ig, '<font color="$1">'); str = str.replace(/\[backcolor=([^\[\<]+?)\]/ig, '<font style="background-color:$1">'); str = str.replace(/\[font=([^\[\<]+?)\]/ig, '<font face="$1">'); str = str.replace(/\[list=(a|A|1)\](.+?)\[\/list\]/ig,'<ol type="$1">$2</ol>'); str = str.replace(/\[(\/)?list\]/ig,'<$1ul>'); str = str.replace(/\[s:(\d+)\]/ig,function($1,$2){ return smilepath($2);}); str = str.replace(/\[img\]([^\[]*)\[\/img\]/ig,'<img src="$1" border="0" />'); str = str.replace(/\[url=([^\]]+)\]([^\[]+)\[\/url\]/ig, '<a href="$1">'+'$2'+'</a>'); str = str.replace(/\[url\]([^\[]+)\[\/url\]/ig, '<a href="$1">'+'$1'+'</a>'); return str; }聽
瀛椾綋銆傞噸瑁呬篃娌′綔鐢ㄣ?/p>
鏍規湰鍘熷洜鏄病鏈夊皢聽Courier New 璁劇疆涓衡滄樉紺衡?/p>
Windows Registry Editor Version 5.00
聽
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\UltraEdit]
@="UltraEdit-32"
[HKEY_CLASSES_ROOT\*\shell\UltraEdit\Command]
@="C:\\Program Files (x86)\\IDM Computer Solutions\\UltraEdit\\Uedit32.exe %1"