锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产精品无码久久98,亚洲色大成网站WWW久久九九,亚洲精品国产品国语在线http://www.tkk7.com/icewee/There is nothing too difficult if you put your heart into it.zh-cnSat, 10 May 2025 16:49:41 GMTSat, 10 May 2025 16:49:41 GMT60鈥滅敱浜庝富欏佃緗凡鎹熷潖錛孖nternet Explorer閲嶇疆浜嗕綘鐨勪富欏?..鈥濊В鍐沖姙娉?/title><link>http://www.tkk7.com/icewee/archive/2016/08/12/431542.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Fri, 12 Aug 2016 02:47:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2016/08/12/431542.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/431542.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2016/08/12/431542.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/431542.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/431542.html</trackback:ping><description><![CDATA[榪欎釜闂寰堝灝忎紮浼撮兘閬囧埌浜嗭紝緗戜笂鎼滅綏浜嗗崐澶╀篃娌℃壘鍒板お濂姐佸お瀹岀編鐨勮В鍐沖姙娉曪紝鏈変漢璇存槸鍥犱負瀹夎IE11鏃惰仈緗戜簡錛屽鑷磋嚜鍔ㄦ墦浜嗚ˉ涓侊紝榪欎釜琛ヤ竵鍙互鑷姩媯鏌E涓婚〉鏄惁鎹熷潖錛屽彲浠ラ氳繃鍗歌澆鐩稿簲鐨勮ˉ涓佽В鍐籌紝鎴戝悓鏃跺張鎵懼埌浜嗗彟澶栦竴涓氳繃淇敼hosts鏂囦歡鐨勬柟娉曪紝璨屼技鐩墠瑙e喅浜嗘垜鐨勯棶棰橈紝淇敼鏂規硶濡備笅錛? 浣跨敤璁頒簨鏈墦寮 C:\Windows\System32\drivers\etc\hosts 鏂囦歡錛屽湪鏈涓嬮潰榪藉姞涓琛岋細 127.0.0.1 ieonline.microsoft.com <img src ="http://www.tkk7.com/icewee/aggbug/431542.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2016-08-12 10:47 <a href="http://www.tkk7.com/icewee/archive/2016/08/12/431542.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tomcat瀹夎涓烘湇鍔ervice.bat璁劇疆錛屽惎鍔ㄦ湇鍔℃椂鍑洪敊錛屾彁紺衡?..鐗瑰畾浠g爜0鈥?http://www.tkk7.com/icewee/archive/2016/01/18/429098.htmlIceWeeIceWeeMon, 18 Jan 2016 05:43:00 GMThttp://www.tkk7.com/icewee/archive/2016/01/18/429098.htmlhttp://www.tkk7.com/icewee/comments/429098.htmlhttp://www.tkk7.com/icewee/archive/2016/01/18/429098.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/429098.htmlhttp://www.tkk7.com/icewee/services/trackbacks/429098.html

IceWee 2016-01-18 13:43 鍙戣〃璇勮
]]>
ORA-01438: value larger than specified precision allowed for this column & Could not synchronize database state with sessionhttp://www.tkk7.com/icewee/archive/2014/03/28/411644.htmlIceWeeIceWeeFri, 28 Mar 2014 10:54:00 GMThttp://www.tkk7.com/icewee/archive/2014/03/28/411644.htmlhttp://www.tkk7.com/icewee/comments/411644.htmlhttp://www.tkk7.com/icewee/archive/2014/03/28/411644.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/411644.htmlhttp://www.tkk7.com/icewee/services/trackbacks/411644.html鏈夋鏃ュ瓙娌″仛璁板綍浜嗭紝榪欐鏃ュ瓙涓鐩村湪鎺掗浄錛堝墠浜哄煁涓嬬殑闅愭偅浠g爜錛屾垨鑰呯洿鎺ヨbug錛夛紝浠婂ぉ榪欎釜闆瘋鎴戞帓浜嗗皢榪戝ぇ鍗婂ぉ錛屽洜涓烘槸姝e紡涓婄嚎鐨勭郴緇燂紝鍙兘鐪嬪悗鍙版棩蹇楋紝涓嶈兘璋冭瘯錛屾墦鍗板嚭鐨勫紓甯鎬俊鎭笉瀹屾暣錛岀縐嶇殑鏉′歡涓嶅厖鍒嗭紝瀵艱嚧闂寰堥毦瀹氫綅銆傛爣棰樹笂鐨勪袱涓紓甯革紝絎竴涓竴鐪嬪氨鏄庣櫧鏄彃鍏ョ殑鏁板煎ぇ浜庢暟鎹簱瀛楁闀垮害錛岀浜屼釜澶氭槸鍥犱負Number綾誨瀷鐨勫瓧孌靛鑷達紝姣斿綺懼害涓嶈凍銆?/span>

鎴戜滑鐨勮繖嬈¢棶棰樺師鍥犳槸紼嬪簭鍛樺湪鍋氶櫎娉曡繍綆楁椂娌℃湁瀵歸櫎鏁拌繘琛岄潪闆跺垽鏂紝瀵艱嚧璁$畻鍑烘潵鐨勬暟鍊奸潪娉曪紝鎻掑叆鏁版嵁搴撳け璐ワ紝璇風湅浠g爜錛?
public static void main(String[] args) {
        
double a = 10;
        
double b = 0;
        
double c = 0;
        
        
double m = a/c;
        
double n = b/c;
        
        System.out.println(m);
        System.out.println(n);
    }

緇忚繃璁$畻鍚庯紝m鍜宯鐨勫煎垎鍒槸澶氬皯錛熸病鍦ㄥ疄闄呭紑鍙戜腑閬囧埌鐨勫彲鑳戒笉鐭ラ亾錛屾垨鑰呬綘鏈変釜濂戒範鎯笉浼氬嚭鐜拌繖鏍風殑bug錛岃鐪嬬粨鏋滐細
Infinity
NaN

琚櫎鏁伴潪闆訛紝闄ゆ暟涓洪浂鍋氶櫎娉曠殑緇撴灉鏄瓧絎︿覆“Infinity”錛岀炕璇戞垚涓枃灝辨槸“鏃犻檺”錛屼綘鐨勪腑瀛︽暟瀛﹁佸笀鍙兘璇磋繃錛?br />琚櫎鏁頒負闆訛紝闄ゆ暟涓洪浂鍋氳Е鍙戠殑緇撴灉鏄瓧絎︿覆“NaN”錛屽嵆涓嶆槸鏈夋晥鐨勬暟瀛椼?br />
灝辨槸榪欎釜“Infinity”鑺辮垂浜嗘垜涓灝忓ぉ鐨勬椂闂存墠瀹氫綅銆備笅闈㈣榪伴棶棰樺畾浣嶇殑鏂規硶銆?br />
寮傚父1錛歄RA-01438: value larger than specified precision allowed for this column
浜嗚В鐐規暟鎹簱鐨勬墦鐪間竴鐪嬪氨鐭ラ亾鎻掑叆鐨勬暟鍊艱秴榪囦簡琛ㄥ瓧孌甸暱搴︼紝浣嗕綘鐭ラ亾鏄摢涓〃鍝釜瀛楁鍚楋紵鎴戜笉鐭ラ亾錛屼簬鏄綉涓婃煡闃呬簡涓嬶紝Oracle鏁版嵁搴撴湇鍔″櫒鍦↙inux涓娿?br />
鍛戒護琛岀櫥闄嗗埌鏁版嵁搴撴墍鍦ㄦ湇鍔″櫒錛岃繘鍏racle鐨勫畨瑁呯洰褰曪紝鍋囪鏄?opt/oracle/
榪涘叆鍒板涓嬬洰褰曪細/opt/oracle/admin/瀹炰緥鍚?udump
涓棿鐨勬暟鎹簱瀹炰緥鍚嶆牴鎹疄闄呮儏鍐典慨鏀癸紝udump鐩綍涓嬩細鏈変竴鍫嗙殑.trc鏂囦歡錛岃繖浜涙枃浠惰褰曚簡鎵鏈夋搷浣滃綋鍓嶆暟鎹簱鍑虹幇寮傚父鐨勫爢鏍堜俊鎭備負浜嗗畾浣嶉棶棰橈紝鎴戝皢璇ョ洰褰曚笅鐨勬墍鏈?trc鏂囦歡閮藉垹闄や簡錛堝綋鐒訛紝鍒犻櫎涔嬪墠鎶妘dump鐩綍鏁翠釜澶囦喚浜嗭級錛屽啀榪涜涓嬈$郴緇熺殑涓氬姟鎿嶄綔錛屾煡鐪嬩竴涓媢dump鐩綍錛屽彂鐜扮珛鍒葷敓鎴愪竴涓柊 鐨?trc鏂囦歡錛屾墦寮鏌ョ湅錛堝唴瀹圭墖孌碉級錛?br />
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning
, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME 
= /u01/app/oracle/product/10.2/db_1
System name:    AIX
Node name
:    gsdj1
Release
:    1
Version
:    6
Machine
:    00CFD4644C00
Instance name
: bjwd1
Redo thread mounted by this instance: 1
Oracle process number
: 132
Unix process pid
: 48300280, image: oracle@gsdj1

*** SERVICE NAME:(bjwd) 2014-03-28 16:48:05.683
*** SESSION ID:(2969.439612014-03-28 16:48:05.683
*** 2014-03-28 16:48:05.683
ksedmp
: internal or fatal error
ORA
-01438: value larger than specified precision allowed for this column
Current SQL statement 
for this session:
insert into CP_TEMP_STOCKTRAN (APPLY_ID, ALIEN, CER_TYPE, CER_NO, TRANS_AM, TRANS_AM_PR, TRANS_TYPE, TRANS_DATE, ENDORSOR, BLIC_TYPE, ALIEN_ID, ENDORSOR_ID, STOCKTRAN_ID) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13)

榛勮壊鑳屾櫙綰㈣壊瀛椾綋鐨凷QL灝辨槸緗瓉紲擱錛岃繖浠呬粎鑳藉畾浣嶅彂鐢熼棶棰樼殑鏁版嵁搴撹〃錛屽瓧孌佃繕寰楄嚜宸辨帓鏌ャ傚紓甯?璁╂垜瀹氫綅鍒頒簡榪欓噷錛岃繖鏃舵兂璧蜂簡寮傚父2銆?br />

寮傚父2錛?nbsp;Could not synchronize database state with session
涔嬪墠涔熸悳绱㈣繃榪欎釜寮傚父錛屽鏁版槸鐢變簬Number綾誨瀷鐨勫瓧孌靛鑷淬傚喎闈欑殑鎬濊冧竴涓嬶紝騫沖父鎴戜滑鍦ㄥ仛琛ㄨ璁℃椂錛屼細鎶婃枃瀛楃被鍨嬬殑瀛楁璁劇疆澶т竴浜涳紝Number綾誨瀷鐨勭簿搴︿篃浼氭牴鎹疄闄呬笟鍔¤繘琛岃璁★紝浣嗗線寰Number綾誨瀷鐨勫瓧孌墊渶瀹規槗鍑洪棶棰橈細
1銆佸鏋滃皢闈濶umber鍊兼彃鍏ヨ瀛楁錛屾瘮濡傚瓧絎︿覆
2銆佸鏋滄彃鍏ョ殑鏁板肩簿搴﹁繃澶氾紝濡傚瓧孌佃璁umber(10,2)錛屼篃灝辨槸鏈澶ф敮鎸?涓烘暣鏁板拰涓や綅灝忔暟錛岃鎻掑叆34.121313灝變細澶辮觸

鏍規嵁琛ㄥ悕瀹氫綅鍒癶ibernate鐨勬槧灝勬枃浠朵互鍙婂疄浣撶被錛屽啀浠庝笟鍔″姛鑳藉叆鍙o紙涓涓猘ction鏂規硶錛夋悳绱紝緇堜簬瀹氫綅鍒頒竴涓笟鍔℃帴鍙e仛浜嗚瀹炰綋綾葷殑淇濆瓨浠g爜錛屽畾浣嶅埌浜嗛偅涓瓧孌碉紝瀹氫綅鍒頒簡鍋氶櫎娉曟病鏈夊垽鏂櫎鏁版槸鍚︿負0銆?br />









IceWee 2014-03-28 18:54 鍙戣〃璇勮
]]>
Debian 緗戠粶璁劇疆浠ュ強闈炴硶鍏蟲満鍚庢棤娉曡仈緗?connect: network is unreachablehttp://www.tkk7.com/icewee/archive/2014/01/24/409301.htmlIceWeeIceWeeFri, 24 Jan 2014 02:50:00 GMThttp://www.tkk7.com/icewee/archive/2014/01/24/409301.htmlhttp://www.tkk7.com/icewee/comments/409301.htmlhttp://www.tkk7.com/icewee/archive/2014/01/24/409301.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/409301.htmlhttp://www.tkk7.com/icewee/services/trackbacks/409301.html 緗戠粶閰嶇疆錛?/span>
涓存椂錛堥噸鍚?/span>涓㈠け錛?/span>
ifconfig eth0 192.168.1.xxx netmask 255.255.xxx.0


姘鎬箙錛堥噸鍚湁鏁堬級
vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.1.xxx
        netmask 255.255.xxx.0
        network 192.168.1.1
        broadcast 192.168.1.255
        gateway 192.168.1.1
        
# dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 202.106.196.115


鐢變簬闈炴硶鍏蟲満瀵艱嚧閲嶅惎鍚庢棤娉曡仈緗?/span>

ifconfig eth0 192.168.1.xxx netmask 255.255.xxx.0 

route add default gw 192.168.1.1

閲嶅惎鍚庨厤緗涪澶憋紝鎵浠ュ繀欏誨湪閲嶅惎涔嬪墠鎵ц錛?br />
apt-get update

apt-get install ifupdown

涓嶈兘鑱旂綉鏄洜涓洪潪娉曞叧鏈哄鑷磇fup鑴氭湰涓㈠け







IceWee 2014-01-24 10:50 鍙戣〃璇勮
]]>
SVN(Subversion)鑷姩鍚屾澶囦喚閰嶇疆http://www.tkk7.com/icewee/archive/2014/01/23/409261.htmlIceWeeIceWeeThu, 23 Jan 2014 03:08:00 GMThttp://www.tkk7.com/icewee/archive/2014/01/23/409261.htmlhttp://www.tkk7.com/icewee/comments/409261.htmlhttp://www.tkk7.com/icewee/archive/2014/01/23/409261.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/409261.htmlhttp://www.tkk7.com/icewee/services/trackbacks/409261.html澶囦喚鏈哄櫒錛?92.168.1.2

鍓嶆彁鏉′歡錛?br />1銆佷袱鍙版満鍣ㄧ殑緗戠粶鏄繛閫氱殑
2銆佷袱鍙版満鍣ㄥ繀欏誨悓鏃跺畨瑁呬簡SVN鏈嶅姟鍣?br />
鍋囪錛?br />婧愭満鍣ㄤ笂闇瑕佸悓姝ョ殑搴撳悕涓篴utoSync錛岃闂湴鍧涓猴細svn://192.168.1.1/autoSync錛屽鍏跺叿澶囪鍐欐潈闄愮殑璐︽埛錛歴ync/sync

澶囦喚鏈哄櫒閰嶇疆錛?br />1銆佸垱寤轟笌婧愭満鍣ㄥ簱鍚嶇浉鍚岀殑絀哄簱
# 鍋囪澶囦喚鏈哄櫒鐨凷VN鏍圭洰褰曞緩绔嬪湪 /home/backup/svn/repository涓?/span>
svnadmin create /home/backup/svn/repository/autoSync

2銆侀厤緗浠芥満鍣ㄤ笂鐨刟utoSync
鍒嗗埆淇敼conf涓嬬殑svnserve.conf銆乸asswd銆乤uthz錛屾牴鎹疄闄呮儏鍐甸厤緗紝鍋囪鍒涘緩浜嗙敤鎴穝ync/sync錛屽搴揳utoSync鍏峰璇誨啓鏉冮檺錛岄厤緗柟娉曠暐錛岄厤緗畬鎴愬悗鍚姩SVN鏈嶅姟

3銆佸垱寤哄茍淇敼pre-revprop-change鏂囦歡
cd /home/backup/svn/repository/autoSync/hooks
cp pre
-revprop-change.tmpl pre-revprop-change
vi pre-revprop-change

灝嗘枃浠舵湯灝?/span>鐨?#8220;exit 1”淇?/span>鏀逛負“exit 0”鍗沖彲錛屼繚瀛橀鍑?br />
REPOS="$1"
REV
="$2"
USER
="$3"
PROPNAME
="$4"
ACTION
="$5"

if
[ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi

echo
"Changing revision properties other than svn:log is prohibited" >&2
exit
0

澧炲姞鍙墽琛屾潈闄?br />
chmod 755 pre-revprop-change

4銆佸垵濮嬪寲
鍛戒護錛?br />svnsync init --username 鐢ㄦ埛鍚?--password 瀵嗙爜 澶囦喚鏈哄櫒搴揢RL 婧愭満鍣ㄥ簱URL

璇存槑錛?br />鐢ㄦ埛鍚嶅拰瀵嗙爜鏄婧愭満鍣⊿VN搴撳叿澶囪鍐欐潈闄愮殑SVN鐢ㄦ埛

紺轟緥錛?br />
svnsync init --username sync --password sync svn://192.168.1.2/autoSync svn://192.168.1.1/autoSync

5銆侀嬈″悓姝?br />棣栨鍚屾鍗充負涓嬈″叏澶囦喚榪囩▼錛屽湪姝ゆ湡闂磋鍋滄瀹㈡埛绔婧愭満鍣ㄥ摝涓鍒囨搷浣滐紙鎻愪氦浠g爜絳夛級
鍛戒護錛?br />svnsync sync 澶囦喚鏈哄櫒搴揢RL
紺轟緥錛?br />
svnsync sync svn://192.168.1.2/autoSync

婧愭満鍣ㄩ厤緗?br />6銆佸閲忚嚜鍔ㄥ悓姝ラ厤緗?br />鍒涘緩騫朵慨鏀筽ost-commit鏂囦歡
# 鍋囪婧愭満鍣ㄧ殑SVN鏍圭洰褰曞緩绔嬪湪 /home/svn/repository涓?/span>
cd /home/svn/repository/autoSync/hooks
cp post
-commit.tmpl post-commit
vi post
-commit

鍦ㄦ枃浠舵湯灝捐拷鍔狅細svnsync sync --non-interactive 澶囦喚鏈哄櫒搴揢RL --username 鐢ㄦ埛鍚?--password 瀵嗙爜

璇存槑錛?br />鐢ㄦ埛鍚嶅拰瀵嗙爜鏄澶囦喚鏈哄櫒SVN搴撳叿澶囪鍐欐潈闄愮殑SVN鐢ㄦ埛

紺轟緥錛?br />
svnsync sync --non-interactive svn://192.168.1.2/autoSync --username sync --password sync

7銆佹湳璇?br />閰嶇疆瀹屾垚錛屼粖鍚庡鎴風鍐嶅悜SVN錛?92.168.1.1錛夋彁浜ゆ枃浠舵椂錛屼細鑷姩瑙﹀彂婧愭満鍣紙192.168.1.1錛夊悜澶囦喚鏈哄櫒錛?92.168.1.2錛夋彁浜ゆ洿鏂?br />
8銆佺増鏈簱UUID涓鑷存?br />棣栧厛鏌ョ湅婧愭満鍣ㄥ簱鐨刄UID錛屽亣璁懼緱鍒扮殑鏄細fcdcbee9-6be3-4575-8d4a-681ec15ad8e0
svnlook uuid svn://192.168.1.1/autoSync

鏇存柊澶囦喚鏈哄櫒搴撶殑UUID涓烘簮鏈哄櫒搴撶殑UUID
svnadmin setuuid svn://192.168.1.2/autoSync fcdcbee9-6be3-4575-8d4a-681ec15ad8e0






IceWee 2014-01-23 11:08 鍙戣〃璇勮
]]>
Debian Subversion(SVN)鐨勫畨瑁?/title><link>http://www.tkk7.com/icewee/archive/2014/01/17/409059.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Fri, 17 Jan 2014 07:48:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2014/01/17/409059.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/409059.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2014/01/17/409059.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/409059.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/409059.html</trackback:ping><description><![CDATA[<span style="font-size: 12pt;"> </span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;"> 鏈枃璁板綍鐨勫畨瑁呮楠ゆ槸鍩轟簬鍩烘湰瀹夎鍚庣殑Debian錛屽惎鍔ㄥ悗婕嗛粦涓鐗囷紝鍙湁鍛戒護琛岋紝閲囩敤鍦ㄧ嚎瀹夎鏂瑰紡錛屽洜姝ら厤緗腑鍥界殑闀滃儚杞歡婧愯兘鎻愰珮杞歡鐨勪笅杞介熷害錛岄鍏堥厤緗蔣浠舵簮銆?/span><br /><br /><span style="color: red; font-size: 12pt;">澶囦喚婧愭枃浠?/span><br /><span style="font-size: 12pt;"># </span><span style='color: rgb(51, 51, 51); font-family: "Tahoma","sans-serif"; font-size: 12pt; mso-fareast-font-family: 瀹嬩綋; mso-font-kerning: 0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;' lang="EN-US">cp /etc/apt/sources.list /etc/apt/sources.list.bak<br /></span><br /><span style="font-size: 12pt;">緙栬緫婧愭枃浠?/span><br /><span style="font-size: 12pt;"># </span><span style='color: rgb(51, 51, 51); font-family: "Tahoma","sans-serif"; font-size: 12pt;'>nano /etc/apt/sources.list<br /></span><br /><span style="font-size: 12pt;">娉ㄩ噴鎺夋湰鍦板厜鐩樻簮榪欎竴琛岋紝娉ㄩ噴鍚庡錛?/span><br /><span style="font-size: 12pt;"># deb cdrom:[Debian GNU/Linux 6.0.7 _Squeeze_ - Official amd64 NETINST Binary-1 20130223-18:50]/ squeeze main</span><br /><br /><span style="font-size: 12pt;">鍙栨秷涓嬮潰涓よ瀹樻柟婧愬墠闈㈢殑娉ㄩ噴</span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://security.debian.org/</span></a><span style="font-size: 12pt;"> squeeze/updates main</span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://security.debian.org/</span></a><span style="font-size: 12pt;"> squeeze/updates main</span><br /><br /><span style="font-size: 12pt;">榪藉姞163鐨勯暅鍍忔簮鍦板潃</span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian/</span></a><span style="font-size: 12pt;"> squeeze main non-free contrib </span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian/</span></a><span style="font-size: 12pt;"> squeeze-proposed-updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian-security/</span></a><span style="font-size: 12pt;"> squeeze/updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian/</span></a><span style="font-size: 12pt;"> squeeze main non-free contrib </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian/</span></a><span style="font-size: 12pt;"> squeeze-proposed-updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://mirrors.163.com/debian-security/</span></a><span style="font-size: 12pt;"> squeeze/updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian/</span></a><span style="font-size: 12pt;"> squeeze main non-free contrib </span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian/</span></a><span style="font-size: 12pt;"> squeeze-proposed-updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian-security/</span></a><span style="font-size: 12pt;"> squeeze/updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian/</span></a><span style="font-size: 12pt;"> squeeze main non-free contrib </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian/</span></a><span style="font-size: 12pt;"> squeeze-proposed-updates main contrib non-free </span><br /><span style="font-size: 12pt;">deb-src </span><a ><span style="font-size: 12pt;">http://ftp.sjtu.edu.cn/debian-security/</span></a><span style="font-size: 12pt;"> squeeze/updates main contrib non-free</span><br /><br /><span style="font-size: 12pt;">淇濆瓨淇敼</span><br /><span style="font-size: 12pt;"># ctrl + o 鍥炶濺</span><br /><span style="font-size: 12pt;">閫鍑?/span><br /><span style="font-size: 12pt;"># ctrl + x</span><br /><br /><span style="font-size: 12pt;">鏇存柊婧?/span><br /><span style="font-size: 12pt;"># apt-get update</span><br /><br /><span style="font-size: 12pt;">鏇存柊緋葷粺</span><br /><span style="font-size: 12pt;"># apt-get upgrade</span><br /><br /><span style="font-size: 12pt;"><strong>瀹夎SVN鏈嶅姟鍣?/strong></span><br /><span style="font-size: 12pt;"># apt-get install subversion subversion-tools</span><br /><br /><span style="font-size: 12pt;">瀹夎瀹屾垚鍚庡彲浠ヨ繍琛屽懡浠ゆ煡鐪婼VN鏈嶅姟鍣ㄧ増鏈俊鎭?/span><br /><span style="font-size: 12pt;"># svnserve --version</span><br /><br /><span style="font-size: 12pt;"><strong>閰嶇疆SVN</strong></span><br /><span style="font-size: 12pt;">棣栧厛鍒涘緩鐗堟湰搴撶殑鏍圭洰褰曪紝濡備綅緗細/home/svn/repository錛屾墍鏈夐」鐩兘灝嗗湪璇ョ洰褰曚笅鍒涘緩鐩稿簲瀛愭枃浠跺す</span><br /><span style="font-size: 12pt;"># mkdir –p /home/svn/repository</span><br /><br /><span style="font-size: 12pt;">鍒涘緩欏圭洰鐗堟湰搴搕est錛堜粎涓烘紨紺猴級</span><br /><span style="font-size: 12pt;"># svnadmin create /home/svn/repository/test</span><p><br /><span style="font-size: 12pt;">淇敼SVN閰嶇疆鏂囦歡</span><br /><span style="font-size: 12pt;">nano /home/svn/repository/test/conf/svnserve.conf</span></p><p><span style="font-size: 12pt;">浠ヤ笅涓烘枃浠跺唴瀹癸細</span><br /><span style="font-size: 12pt;">### This file controls the configuration of the svnserve daemon, if you</span><br /><span style="font-size: 12pt;">### use it to allow access to this repository.  (If you only allow</span><br /><span style="font-size: 12pt;">### access through http: and/or file: URLs, then this file is</span><br /><span style="font-size: 12pt;">### irrelevant.)</span></p><p><span style="font-size: 12pt;">### Visit </span><a ><span style="font-size: 12pt;">http://subversion.tigris.org/</span></a><span style="font-size: 12pt;"> for more information.</span></p><p><span style="font-size: 12pt;">[general]</span><br /><span style="font-size: 12pt;">### These options control access to the repository for unauthenticated</span><br /><span style="font-size: 12pt;">### and authenticated users.  Valid values are "write", "read",</span><br /><span style="font-size: 12pt;">### and "none".  The sample settings below are the defaults</span><br /><span style="font-size: 12pt;"># 鏈巿鏉冮厤緗負紱佹璁塊棶none錛屽凡鎺堟潈閰嶇疆涓哄彲浠ヨ鍐檞rite</span><br /><span style="color: red; font-size: 12pt;">anon-access = none</span><br /><span style="color: red; font-size: 12pt;">auth-access = write</span><br /><span style="font-size: 12pt;">### The password-db option controls the location of the password</span><br /><span style="font-size: 12pt;">### database file.  Unless you specify a path starting with a /,</span><br /><span style="font-size: 12pt;">### the file's location is relative to the directory containing</span><br /><span style="font-size: 12pt;">### this configuration file.</span><br /><span style="font-size: 12pt;">### If SASL is enabled (see below), this file will NOT be used.</span><br /><span style="font-size: 12pt;">### Uncomment the line below to use the default password file.</span><br /><span style="font-size: 12pt;"># 鐢ㄦ埛鏁版嵁搴撴枃浠訛紝閰嶇疆鎺堟潈鐢ㄦ埛錛屽綋鍓嶄嬌鐢ㄧ殑鏂囦歡鏄拰svnserve.conf鍦ㄧ浉鍚岀洰褰曚笅鐨刾asswd鏂囦歡錛屼篃鍙互鎸囧畾鍏朵粬緇濆璺緞鏂囦歡錛屽錛?home/svn/passwd</span><br /><span style="color: red; font-size: 12pt;">password-db = passwd</span><br /><span style="font-size: 12pt;">### The authz-db option controls the location of the authorization</span><br /><span style="font-size: 12pt;">### rules for path-based access control.  Unless you specify a path</span><br /><span style="font-size: 12pt;">### starting with a /, the file's location is relative to the the</span><br /><span style="font-size: 12pt;">### directory containing this file.  If you don't specify an</span><br /><span style="font-size: 12pt;">### authz-db, no path-based access control is done.</span><br /><span style="font-size: 12pt;">### Uncomment the line below to use the default authorization file.</span><br /><span style="font-size: 12pt;"># 鎺堟潈鏂囦歡錛岄厤緗鍚岀敤鎴烽厤緗?/span><br /><span style="color: red; font-size: 12pt;">authz-db = authz</span><br /><span style="font-size: 12pt;">### This option specifies the authentication realm of the repository.</span><br /><span style="font-size: 12pt;">### If two repositories have the same authentication realm, they should</span><br /><span style="font-size: 12pt;">### have the same password database, and vice versa.  The default realm</span><br /><span style="font-size: 12pt;">### is repository's uuid.</span><br /><span style="font-size: 12pt;"># realm = My First Repository</span></p><p><span style="font-size: 12pt;">[sasl]</span><br /><span style="font-size: 12pt;">### This option specifies whether you want to use the Cyrus SASL</span><br /><span style="font-size: 12pt;">### library for authentication. Default is false.</span><br /><span style="font-size: 12pt;">### This section will be ignored if svnserve is not built with Cyrus</span><br /><span style="font-size: 12pt;">### SASL support; to check, run 'svnserve --version' and look for a line</span><br /><span style="font-size: 12pt;">### reading 'Cyrus SASL authentication is available.'</span><br /><span style="font-size: 12pt;"># use-sasl = true</span><br /><span style="font-size: 12pt;">### These options specify the desired strength of the security layer</span><br /><span style="font-size: 12pt;">### that you want SASL to provide. 0 means no encryption, 1 means</span><br /><span style="font-size: 12pt;">### integrity-checking only, values larger than 1 are correlated</span><br /><span style="font-size: 12pt;">### to the effective key length for encryption (e.g. 128 means 128-bit</span><br /><span style="font-size: 12pt;">### encryption). The values below are the defaults.</span><br /><span style="font-size: 12pt;"># min-encryption = 0</span><br /><span style="font-size: 12pt;"># max-encryption = 256</span></p><p><br /><span style="font-size: 12pt;">淇濆瓨</span><br /><span style="font-size: 12pt;"># ctrl + o 鍥炶濺</span></p><p><span style="font-size: 12pt;">閫鍑?/span><br /><span style="font-size: 12pt;"># ctrl + x</span><br /></p><p><span style="font-size: 12pt;">閰嶇疆鐢ㄦ埛</span><br /><span style="font-size: 12pt;"># nano passwd</span></p><p><span style="font-size: 12pt;">浠ヤ笅涓烘枃浠跺唴瀹癸細</span><br /><span style="font-size: 12pt;">### This file is an example password file for svnserve.</span><br /><span style="font-size: 12pt;">### Its format is similar to that of svnserve.conf. As shown in the</span><br /><span style="font-size: 12pt;">### example below it contains one section labelled [users].</span><br /><span style="font-size: 12pt;">### The name and password for each user follow, one account per line.</span></p><p><span style="font-size: 12pt;">[users]</span><br /><span style="font-size: 12pt;"># harry = harryssecret</span><br /><span style="font-size: 12pt;"># sally = sallyssecret</span><br /><span style="font-size: 12pt;">IceWee = IceWee</span></p><p><span style="font-size: 12pt;">澧炲姞鐢ㄦ埛IceWee錛屽瘑鐮佷篃涓篒ceWee錛?鍙蜂袱渚ч渶瑕佹湁絀烘牸錛屼繚瀛?ctrl + o 鍥炶濺)閫鍑?ctrl + x)</span><br /></p><p><span style="font-size: 12pt;">閰嶇疆璁塊棶鏉冮檺</span><br /><span style="font-size: 12pt;"># nano authz</span></p><p><span style="font-size: 12pt;">浠ヤ笅涓烘枃浠跺唴瀹癸細</span><br /><span style="font-size: 12pt;">### This file is an example authorization file for svnserve.</span><br /><span style="font-size: 12pt;">### Its format is identical to that of mod_authz_svn authorization</span><br /><span style="font-size: 12pt;">### files.</span><br /><span style="font-size: 12pt;">### As shown below each section defines authorizations for the path and</span><br /><span style="font-size: 12pt;">### (optional) repository specified by the section name.</span><br /><span style="font-size: 12pt;">### The authorizations follow. An authorization line can refer to:</span><br /><span style="font-size: 12pt;">###  - a single user,</span><br /><span style="font-size: 12pt;">###  - a group of users defined in a special [groups] section,</span><br /><span style="font-size: 12pt;">###  - an alias defined in a special [aliases] section,</span><br /><span style="font-size: 12pt;">###  - all authenticated users, using the '$authenticated' token,</span><br /><span style="font-size: 12pt;">###  - only anonymous users, using the '$anonymous' token,</span><br /><span style="font-size: 12pt;">###  - anyone, using the '*' wildcard.</span><br /><span style="font-size: 12pt;">###</span><br /><span style="font-size: 12pt;">### A match can be inverted by prefixing the rule with '~'. Rules can</span><br /><span style="font-size: 12pt;">### grant read ('r') access, read-write ('rw') access, or no access</span><br /><span style="font-size: 12pt;">### ('').</span></p><p><span style="font-size: 12pt;">[aliases]</span><br /><span style="font-size: 12pt;"># joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average</span></p><p><span style="font-size: 12pt;">[groups]</span><br /><span style="font-size: 12pt;"># harry_and_sally = harry,sally</span><br /><span style="font-size: 12pt;"># harry_sally_and_joe = harry,sally,&joe</span><br /><span style="color: red; font-size: 12pt;">developers = IceWee</span></p><p><span style="font-size: 12pt;"># [/foo/bar]</span><br /><span style="font-size: 12pt;"># harry = rw</span><br /><span style="font-size: 12pt;"># &joe = r</span><br /><span style="font-size: 12pt;"># * =</span></p><p><span style="font-size: 12pt;"># [repository:/baz/fuz]</span><br /><span style="font-size: 12pt;"># @harry</span><span style="font-size: 12pt;">_a</span><span style="font-size: 12pt;">nd_sally = rw</span><br /><span style="font-size: 12pt;"># * = r</span></p><p><span style="color: red; font-size: 12pt;">[/]</span><br /><span style="color: red; font-size: 12pt;">* = r</span><br /><span style="color: red; font-size: 12pt;">IceWee = rw<br /></span><span style="color: red; font-size: 12pt;">@developers = rw</span></p><p><span style="color: red; font-size: 12pt;">[/tags]</span><br /><span style="color: red; font-size: 12pt;">IceWee = rw</span></p><p><span style="font-size: 12pt;">榛樿鎵鏈夌敤鎴峰彲璇誨彇鏍癸紝IceWee鍙互璇誨啓鏍廣傚彲浠ュ垎鍒瀛愮洰褰曡繘琛屾巿鏉冿紝濡備笂鐨則ags鐩綍錛孖ceWee鍏鋒湁璇誨啓鏉冮檺錛屼互鍙奍ceWee鎵鍦ㄧ殑緇刣evelopers涔熷叿澶囪鍐欐潈闄愩?/span><br /><br /><span style="font-size: 12pt;">鍚姩SVN鏈嶅姟鍣?/span><br /><span style="font-size: 12pt;"># svnserve -d -r /home/svn/repository</span><br /><span style="font-size: 12pt;">-d鍚箟涓哄悗鍙拌繍琛岋紙daemon錛夛紝-r鎸囧畾鐨勬牴鐩綍錛屽璁塊棶test搴旇浣跨敤榪欐牱鐨勫湴鍧 </span><a href="svn"><span style="font-size: 12pt;">svn</span></a><span style="font-size: 12pt;">://hostname:port/test</span><br /><br /><span style="font-size: 12pt;">鍋滄SVN鏈嶅姟</span><br /><span style="font-size: 12pt;"># killall svnserve</span><br /><br /><span style="font-size: 12pt;">澶囦喚榪樺師鍛戒護錛屼笌oracle鐨勫浠芥湁浜涚被浼?/span><br /><span style="font-size: 12pt;">瀵煎嚭</span><br /><span style="font-size: 12pt;"># svnadmin dump /home/svn/repository/test > /home/bak/test.dump</span><br /><br /><span style="font-size: 12pt;">瀵煎叆</span><br /><span style="font-size: 12pt;"># svn</span><span style="font-size: 12pt;">admin load /home/svn/repository/demo < /home/bak/demo.dump</span><br /><span style="font-size: 12pt;">瀵煎叆鍓嶆彁錛?/span><br /><span style="font-size: 12pt;">蹇呴』鍏堝垱寤鴻瀵煎叆鐗堟湰搴撶洰褰曪紝濡備笂鐨刣emo錛屽垯闇瑕佸仛浠ヤ笅鎿嶄綔</span><br /><span style="font-size: 12pt;"># svnadmin create /home/svn/respository/demo</span><br /><span style="font-size: 12pt;">淇敼svnserve.conf銆乸asswd銆乤uthz絳夋枃浠訛紝鍓嶉潰宸蹭粙緇?/span><br /></p><p><br /> </p><br /><br /><br /><br /> <img src ="http://www.tkk7.com/icewee/aggbug/409059.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2014-01-17 15:48 <a href="http://www.tkk7.com/icewee/archive/2014/01/17/409059.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java鏃ュ父闅忔剰璁?/title><link>http://www.tkk7.com/icewee/archive/2013/11/21/406622.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Thu, 21 Nov 2013 04:49:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2013/11/21/406622.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/406622.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2013/11/21/406622.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/406622.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/406622.html</trackback:ping><description><![CDATA[ <div style="font-family: Tahoma; font-size: 14pt;"><span style="font-family: Tahoma; font-size: 12pt;"><br />2013騫?2鏈?0鏃?br />---------------------------<br />鍐掓場鎺掑簭<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img id="Codehighlighter1_25_325_Open_Image" onclick="this.style.display='none'; Codehighlighter1_25_325_Open_Text.style.display='none'; Codehighlighter1_25_325_Closed_Image.style.display='inline'; Codehighlighter1_25_325_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_25_325_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_25_325_Closed_Text.style.display='none'; Codehighlighter1_25_325_Open_Image.style.display='inline'; Codehighlighter1_25_325_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> bubble(</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">[] array) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_25_325_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_25_325_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />        </span><span style="color: rgb(0, 0, 255);">boolean</span><span style="color: rgb(0, 0, 0);"> swaped </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);">;<br /><img id="Codehighlighter1_103_322_Open_Image" onclick="this.style.display='none'; Codehighlighter1_103_322_Open_Text.style.display='none'; Codehighlighter1_103_322_Closed_Image.style.display='inline'; Codehighlighter1_103_322_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_103_322_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_103_322_Closed_Text.style.display='none'; Codehighlighter1_103_322_Open_Image.style.display='inline'; Codehighlighter1_103_322_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> t </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">; t </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> array.length </span><span style="color: rgb(0, 0, 0);">&&</span><span style="color: rgb(0, 0, 0);"> swaped; t</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_103_322_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_103_322_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />            swaped </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">;<br /><img id="Codehighlighter1_170_318_Open_Image" onclick="this.style.display='none'; Codehighlighter1_170_318_Open_Text.style.display='none'; Codehighlighter1_170_318_Closed_Image.style.display='inline'; Codehighlighter1_170_318_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_170_318_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_170_318_Closed_Text.style.display='none'; Codehighlighter1_170_318_Open_Image.style.display='inline'; Codehighlighter1_170_318_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">            </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; i </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> array.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> t; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_170_318_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_170_318_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img id="Codehighlighter1_205_313_Open_Image" onclick="this.style.display='none'; Codehighlighter1_205_313_Open_Text.style.display='none'; Codehighlighter1_205_313_Closed_Image.style.display='inline'; Codehighlighter1_205_313_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_205_313_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_205_313_Closed_Text.style.display='none'; Codehighlighter1_205_313_Open_Image.style.display='inline'; Codehighlighter1_205_313_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (array[i] </span><span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(0, 0, 0);"> array[i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">]) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_205_313_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_205_313_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />                    </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> temp </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> array[i];<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />                    array[i] </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> array[i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">];<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />                    array[i </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">] </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> temp;<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" />                    swaped </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);">;<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />                }</span></span><span style="color: rgb(0, 0, 0);"><br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />            }</span></span><span style="color: rgb(0, 0, 0);"><br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />        }</span></span><span style="color: rgb(0, 0, 0);"><br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />    }</span></span></div><br /><br />2013騫?1鏈?6鏃?br />---------------------------<br />1銆丼tring鐨剆plit鏂規硶<br />騫沖父鎬繪槸榪欐牱鐢紝String str = "a,b,c,d,e"; String[] arr = str.split(",");<br />鍏跺疄榪樺彲浠ヨ繖鏍風敤錛孲tring lan = "Java;C#?C++:C"; String si = lan.split("[;?:]"); 榪斿洖鐨勬槸瀛楃涓叉暟緇剓"Java", "C#", "C++", "C"}<br /><br /><br />2013騫?1鏈?1鏃?br />---------------------------<br /></span><br /><span style="font-family: Tahoma; font-size: 12pt;">1銆丣ava瀵硅薄姹犵煡澶氬皯錛?br />紺轟緥錛歋tring s1 = "abc"; String s2 = "abc"; s1 == s2 榪斿洖ture榪樻槸false錛熷彧瑕佷笉鏄痭ew鍑烘潵鐨勯兘鍏堜粠瀵硅薄姹犱腑璇誨彇錛屽洜姝ょ粨鏋滀負true錛屼袱涓彉閲忔寚鍚戠殑鏄悓涓鍧楀唴瀛樼┖闂村湴鍧銆?br /><br />Java闄や簡String綾諱嬌鐢ㄤ簡瀵硅薄姹犱互澶栵紝榪樻湁5涓熀鏈被鍨嬬殑灝佽綾伙細Byte銆丼hort銆両nteger銆丩ong鍜孋haracter錛屼緥濡傦細Integer inA = 20; Integer inB = 20; 閭d箞 inA == inB 鐨勭粨鏋滀負true錛屽叾浠栫被涓庢鐩稿悓錛屼笉鍋氱ず渚嬨?br /><br /><strong>鐗瑰埆娉ㄦ剰錛?/strong><br />(1)嫻偣鍨嬬殑涓や釜灝佽綾籉loat鍜孌ouble騫舵病鏈夊弬涓庡璞℃睜錛?br />(2)鏁村艦灝佽綾?Byte銆丼hort銆両nteger鍜孡ong)鍙湁鏁板煎皬浜庢垨絳変簬127鏃舵墠浣跨敤瀵硅薄姹狅紝渚嬪錛欼nteger x = 128; Integer y = 128; x == y鐨勭粨鏋滀負false銆?br /></span><br /><span style="font-family: Tahoma; font-size: 12pt;">2銆丣ava鍙橀噺鍛藉悕瑙勮寖<br />A. String #name = "Joe";<br />B. int $age = 30;<br />C. Double _height = 174.4;<br />D. float ~temp = 37.6;<br />浠ヤ笂A鍒癉錛屽摢涓棤娉曢氳繃緙栬瘧錛熺瓟妗堟槸A鍜孌錛屽洜涓篔ava鍙橀噺鍚嶅彧鍏佽瀛楁瘝銆佷笅鍒掔嚎(_)銆佺編鍏冪($)寮澶達紝閭d箞 int _ = 30; String $$ = "I DO";鍙互鍚楋紵絳旀鏄畬鍏ㄥ彲浠ワ紝浣嗗緢灝戞湁浜鴻繖鏍峰畾涔夊彉閲忓悕錛岃櫧鐒舵病鏈夎繚娉曞懡鍚嶈鑼冿紝浣嗘渶鍚庢垜浼拌紼嬪簭鍛樿嚜宸遍兘浼氳鑷繁緇曟檿銆?br /><br />3銆?鍜?鑳芥爣璇嗗竷灝斿煎悧錛?br />int flag = 0;<br />if (flag) {<br />    System.out.print("error");<br />}<br />error浼氭墦鍗板悧錛熶笉浼氾紝鍥犱負鏍規湰灝變笉浼氱紪璇戦氳繃錛岀紪璇戝櫒浼氭彁紺篺lag鏄痠nt綾誨瀷鑰屼笉鏄痓oolean綾誨瀷錛屽鏋滀綘浼氭湁榪欑鎯蟲硶鍙兘涔嬪墠瀛﹁繃C錛孋鎬葷殑0鍜?鍙互鏍囪瘑甯冨皵鐨勩?br /><br />4銆侀潤鎬佸鍏?br />渚嬶細<br />ClassA.java<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> bing.test.sub1;<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /><img id="Codehighlighter1_45_102_Open_Image" onclick="this.style.display='none'; Codehighlighter1_45_102_Open_Text.style.display='none'; Codehighlighter1_45_102_Closed_Image.style.display='inline'; Codehighlighter1_45_102_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_45_102_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_45_102_Closed_Text.style.display='none'; Codehighlighter1_45_102_Open_Image.style.display='inline'; Codehighlighter1_45_102_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> ClassA </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_45_102_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_45_102_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" />  </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> MAX_INT </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> Integer.MAX_VALUE;<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" />}</span></span></div><br /><br /><br />ClassB.java<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> bing.test.sub2;<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" /><br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> bing.test.sub1.ClassA.MAX_INT;<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" /><br /><img id="Codehighlighter1_91_173_Open_Image" onclick="this.style.display='none'; Codehighlighter1_91_173_Open_Text.style.display='none'; Codehighlighter1_91_173_Closed_Image.style.display='inline'; Codehighlighter1_91_173_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_91_173_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_91_173_Closed_Text.style.display='none'; Codehighlighter1_91_173_Open_Image.style.display='inline'; Codehighlighter1_91_173_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> ClassB </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_91_173_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_91_173_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img id="Codehighlighter1_134_171_Open_Image" onclick="this.style.display='none'; Codehighlighter1_134_171_Open_Text.style.display='none'; Codehighlighter1_134_171_Closed_Image.style.display='inline'; Codehighlighter1_134_171_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_134_171_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_134_171_Closed_Text.style.display='none'; Codehighlighter1_134_171_Open_Image.style.display='inline'; Codehighlighter1_134_171_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">  </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main(String[] args) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_134_171_Closed_Text"><img alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_134_171_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" /> System.out.println(MAX_INT);<br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />  }</span></span><span style="color: rgb(0, 0, 0);"><br /><img alt="" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" />}</span></span></div><br />杈撳嚭錛?147483647銆備笉浠呬粎鍙互闈欐佸鍏ュ叾浠栫被鐨勯潤鎬佸睘鎬ц繕鍙互瀵煎叆闈欐佹柟娉曪紝榪欎簺鐗規у湪瀹為檯寮鍙戜腑寰堝皯瑙併?br /><br /><br /><br /><br /><br /><br /><br /></span><br /><br /></div> <img src ="http://www.tkk7.com/icewee/aggbug/406622.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2013-11-21 12:49 <a href="http://www.tkk7.com/icewee/archive/2013/11/21/406622.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>FTPClient涓婁紶鏂囦歡铚楃墰閫熷害鐨勮В鍐蟲柟娉?/title><link>http://www.tkk7.com/icewee/archive/2013/09/13/404052.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Fri, 13 Sep 2013 08:32:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2013/09/13/404052.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/404052.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2013/09/13/404052.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/404052.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/404052.html</trackback:ping><description><![CDATA[Apache Commons鐨凢TPClient灞鍩熺綉涓婁紶鏂囦歡閫熷害鏈簲璇ュ緢蹇殑錛屼絾鍗村湪瀹為檯寮鍙戜腑鍙戠幇涓婁紶涓涓枃浠惰湕鐗涢熷害錛岄兘鏄洜涓鴻皟鐢ㄤ簡濡備笅API錛?br /><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->ftpClient.storeFile(fileName, inputStream)</div><br />鍘熷洜鏄洜涓洪粯璁ょ紦鍐插尯澶у皬鏄?024錛屼篃灝辨槸1K錛屽綋鐒舵參浜嗭紝鍦ㄨ皟鐢ㄤ笂浼燗PI涔嬪墠閲嶆柊淇敼浠ヤ笅榛樿璁劇疆鍗沖彲錛屽灝嗙紦鍐插尯鏀逛負10M錛孉PI錛?br /><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->ftpClient.setBufferSize(1024 * 1024 * 10)</div><img src ="http://www.tkk7.com/icewee/aggbug/404052.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2013-09-13 16:32 <a href="http://www.tkk7.com/icewee/archive/2013/09/13/404052.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Oracle鏌ヨ閿佽〃浠ュ強鏉浼氳瘽鎴栫郴緇熻繘紼嬫潵瑙i櫎閿佽〃鎿嶄綔http://www.tkk7.com/icewee/archive/2013/08/23/403218.htmlIceWeeIceWeeFri, 23 Aug 2013 02:20:00 GMThttp://www.tkk7.com/icewee/archive/2013/08/23/403218.htmlhttp://www.tkk7.com/icewee/comments/403218.htmlhttp://www.tkk7.com/icewee/archive/2013/08/23/403218.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/403218.htmlhttp://www.tkk7.com/icewee/services/trackbacks/403218.html
--鏌ヨ琚攣浣忕殑鏁版嵁搴撳璞?/span>
select object_name, machine, s.sid, s.serial#
 
from v$locked_object l, dba_objects o, v$session s
where l.object_id = o.object_id
  
and l.session_id = s.sid;


絎簩姝ワ紝鏉姝繪暟鎹簱浼氳瘽
--鏉姝繪暟鎹簱浼氳瘽
alter system kill session '207,707'; -- 207涓篠ID, 707涓篠ERIAL#


絎笁姝ワ紝濡傛灉絎簩姝ユ棤娉曟潃姝諱細璇濓紝鎶RA-00031錛岄偅涔堝彧鑳芥潃姝籙NIX/LINUX緋葷粺榪涚▼浜?br />
--鏌ヨ褰撳墠鎿嶄綔鐨勭郴緇熻繘紼婭D
select spid, osuser, s.program
 
from v$session s, v$process p
where s.paddr = p.addr
  
and s.sid = 207; -- 207涓篠ID


絎洓姝ワ紝鏍規嵁鏌ヨ鍒扮殑緋葷粺PID錛屾潃鎺夎繘紼?br />
kill -9 24664 // 24664涓篣NIX/LINUX緋葷粺榪涚▼ID





IceWee 2013-08-23 10:20 鍙戣〃璇勮
]]>
HttpClientUtilshttp://www.tkk7.com/icewee/archive/2013/07/27/402028.htmlIceWeeIceWeeSat, 27 Jul 2013 03:53:00 GMThttp://www.tkk7.com/icewee/archive/2013/07/27/402028.htmlhttp://www.tkk7.com/icewee/comments/402028.htmlhttp://www.tkk7.com/icewee/archive/2013/07/27/402028.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/402028.htmlhttp://www.tkk7.com/icewee/services/trackbacks/402028.htmlimport java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;...  闃呰鍏ㄦ枃

IceWee 2013-07-27 11:53 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 精品国产日韩亚洲一区| 精品亚洲aⅴ在线观看| 久久久国产精品福利免费| 亚洲妇女水蜜桃av网网站| 在线观看免费大黄网站| 国产精品极品美女自在线观看免费 | 亚洲级αV无码毛片久久精品| 57pao国产成视频免费播放| 久久亚洲中文字幕无码| 亚洲成AV人片在WWW色猫咪| 免费高清在线爱做视频| 免费看无码特级毛片| 亚洲av第一网站久章草| 亚洲第一视频网站| 免费观看国产精品| 无码国产精品一区二区免费虚拟VR | 成全视频免费高清| 免费看无码特级毛片| 色婷婷亚洲一区二区三区| 久久久久亚洲AV无码网站| 国产偷国产偷亚洲高清日韩 | 亚洲精品国产高清嫩草影院| 57pao一国产成视频永久免费| 特a级免费高清黄色片 | 国产免费高清69式视频在线观看| 亚洲av乱码一区二区三区香蕉| 国产精品亚洲mnbav网站| 午夜免费福利在线| 黄色网址免费观看| 美女被cao网站免费看在线看| 国产亚洲视频在线| 亚洲 欧洲 视频 伦小说| 亚洲av无码潮喷在线观看| 亚洲国产高清在线一区二区三区| 色婷婷7777免费视频在线观看| 国产午夜免费高清久久影院| 免费国产黄网站在线观看动图| 亚洲乱亚洲乱妇24p| 亚洲乱码卡三乱码新区| 久久精品蜜芽亚洲国产AV| 国产亚洲精品无码成人|