Topic Text   Topic Comments (0)   Topic Properties   Topic Information wanghu@whn...
Topic title: ???? Friday March 9, 2012 01:24:41

Download topic text | View in monospace font | Tab width set to 4 (change to 8)

Files in topic:  
[Jump to] D:\userhome\wanghu\????\swap.txt   {+1036,-0}

[Add General Comment] to topic.

File D:\userhome\wanghu\????\swap.txt (Revision 1.0) [Add File Comment] [Top]
 
1 ??????????
2
3
4
5 [2012?2?]
6
7 2012.02.04 ?? 8:00~10:00
8 2012.02.11 ?? 8:00~10:00
9 2012.02.12 ?? 8:00~10:00
10
11
12
13 office PROJECT PROFESSIONAL
14 MVR3D-9XVBT-TBWY8-W3793-FR7C3
15 26K3G-RGBT2-7W74V-4JQ42-KHXQW
16 D4HF2-HMRGR-RQPYJ-WGD4G-79YXM
17 XB62K-YMC83-MMDWB-HK264-M68MK
18 V239V-F39D3-3VPPM-JMHJJ-QJGCF
19 CMWV4-2D83Y-PHYMG-DFX73-QPGQC
20 7TCB4-6DVYG-P4KVX-TV97T-G9H74
21 C44YG-8BM4M-9RTJM-VJCTD-WKVYT
22 YG64T-FDD7J-P6R3Q-4X4YV-7QGJP
23
24 VISIO PREMIUM VISIO PROFESSIONAL
25 GR24B-GC2XY-KRXRG-2TRJJ-4X7DC 6GMHJ-PJRM9-JP7JP-634V9-H7TH3
26 VWQ6G-37WBG-J7DJP-CY66Y-V278X VVTP7-BT23Y-79RP3-4DMQW-RP94G
27 2T8H8-JPW3D-CJGRK-3HTVF-VWD83 9H7D6-FKY3M-2WK98-YQF92-X9W7M
28 HMCVF-BX8YB-JK46P-DP3KJ-9DRB2 YGQX7-QKW9V-VWK3T-DRM6X-RPMJR
29 22WT8-GGT7M-7MVKR-HF7Y4-MCWWD PWRF2-TPVPM-263M2-MQW49-WGGT9
30 VX6BF-BHVDV-MHQ4R-KH9QD-6TQKV Q9DM8-WXQQ4-4QC33-QGR4C-Q9P26
31 J4MVP-7F4X4-V8W2C-8VWXY-2KBX3 6CCWR-2CG38-GXQ4B-RG79G-PD9H8
32 MGF33-HGVVG-QHWDF-TK9BT-4BDV6 37XJM-6M4VC-FJDYP-3WCM6-8G99V
33 CWCW9-9KYD9-VH8CX-W9MVY-FFPKG 6WD8T-Q7C4F-PH3VK-HKB99-B8HYX
34
35
36
37 slmgr.vbs -ipk 22TKD-F8XX6-YG69F-9M66D-PMJBM
38
39 ??: ESXi 5 Desktop Host(12 core)
40 ?????: 1F6TQ-2PJDN-XZ269-2K37H-33J24
41
42 VMware vSphere Hypervisor 5 License 00482-6220N-J8A41-0H9A0-88AQN
43
44 PON??????????????????????????????????????????????????FTTH????????
45
46 M.3010: Principles for a telecommunications management network
47 M.3100: Generic network information model
48 M.3400: TMN management functions
49 G.853.1: Common elements of the information viewpoint for the management of a transport network
50 G.853.2: Subnetwork connection management information viewpoint
51 G.853.3: Information viewpoint for topology management
52 G.852.6: Enterprise viewpoint for trail management
53
54
55 http://www-01.ibm.com/software/integration/visualization/jviews/tgo/
56
57 Generic functional architecture of transport networks
58
59 ;============================ ????????? =================================
60 ;;????????linux ????windows??????
61 ;; (set-language-environment 'Chinese-GB)
62 ;; (set-keyboard-coding-system 'utf-8)
63 ;; (set-clipboard-coding-system 'utf-8)
64 ;; (set-terminal-coding-system 'utf-8)
65 ;; (set-buffer-file-coding-system 'utf-8)
66 ;; (set-default-coding-systems 'utf-8)
67 ;; (set-selection-coding-system 'utf-8)
68 ;; (modify-coding-system-alist 'process "*" 'utf-8)
69 ;; (setq default-process-coding-system '(utf-8 . utf-8))
70 ;; (setq-default pathname-coding-system 'utf-8)
71 ;; (set-file-name-coding-system 'utf-8)
72 ;; (setq ansi-color-for-comint-mode t) ;;??shell-mode??,?????
73 ;=========================== ??????????? ===============================
74
75 ;============================ MS Windows??????? ===========================
76 (setq default-frame-alist
77 (append
78 '((font . "fontset-chinese")) default-frame-alist))
79
80
81 (create-fontset-from-fontset-spec
82 "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-fontset-chinese")
83 (set-fontset-font
84 "fontset-default" nil
85 "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend)
86 (set-fontset-font
87 "fontset-chinese" 'kana
88 "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend)
89 (set-fontset-font
90 "fontset-chinese" 'han
91 "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend)
92 (set-fontset-font
93 "fontset-chinese" 'cjk-misc
94 "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend)
95 (set-fontset-font
96 "fontset-chinese" 'symbol
97 "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend)
98 (set-default-font "fontset-chinese")
99
100 ;===========================MS Windows????????? =========================
101
102
103
104 ;============================ Linux??????? =================================
105
106 ;; (create-fontset-from-fontset-spec
107 ;; "-*-courier-medium-r-normal-*-14-*-*-*-*-*-fontset-courier")
108 ;; (set-default-font "fontset-courier")
109 ;; (setq default-frame-alist
110 ;; (append
111 ;; '((font . "fontset-courier")) default-frame-alist))
112
113 ;; (set-fontset-font
114 ;; "fontset-default" nil
115 ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gb2312.1980-*" nil 'prepend)
116 ;; (set-fontset-font
117 ;; "fontset-courier" 'kana
118 ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend)
119 ;; (set-fontset-font
120 ;; "fontset-courier" 'han
121 ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend)
122 ;; (set-fontset-font
123 ;; "fontset-courier" 'cjk-misc
124 ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend)
125
126 ;============================ Linux????????? ==============================
127
128
129 ;;;;;;;;;;;;;;;;;;;;??????????;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
130
131
132 ;;???????????fill???,??????
133 ;; (put-charset-property 'chinese-cns11643-5 'nospace-between-words t)
134 ;; (put-charset-property 'chinese-cns11643-6 'nospace-between-words t)
135 ;; (put-charset-property 'chinese-cns11643-7 'nospace-between-words t)
136
137
138 ;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
139
140 (set-foreground-color "grey")
141 (set-background-color "black")
142 (set-cursor-color "gold1")
143 (set-mouse-color "gold1")
144
145 (set-scroll-bar-mode nil)
146 ;;?????
147
148 ;;(customize-set-variable 'scroll-bar-mode 'right))
149 ;;??????????????????
150
151 (tool-bar-mode nil)
152 ;;?????
153
154 (setq default-frame-alist
155 '((vertical-scroll-bars)
156 (top . 25)
157 (left . 45)
158 (width . 110)
159 (height . 40)
160 (background-color . "black")
161 (foreground-color . "grey")
162 (cursor-color . "gold1")
163 (mouse-color . "gold1")
164 (tool-bar-lines . 0)
165 (menu-bar-lines . 1)
166 (right-fringe)
167 (left-fringe)))
168
169
170 ;; ???????????????????????????????????????????
171 (set-face-foreground 'highlight "white")
172 (set-face-background 'highlight "blue")
173 (set-face-foreground 'region "cyan")
174 (set-face-background 'region "blue")
175 (set-face-foreground 'secondary-selection "skyblue")
176 (set-face-background 'secondary-selection "darkblue")
177
178
179
180 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
181
182
183
184 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
185 (display-time-mode 1);;??????????minibuffer???????
186 (setq display-time-24hr-format t);;????24???
187 (setq display-time-day-and-date t);;?????????????
188 (setq display-time-use-mail-icon t);;???????????
189 (setq display-time-interval 10);;???????????????
190
191 ;;;;;;;;;;;;;;;;;;;;;;;;;;; ???????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
192
193
194
195
196 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;??????;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
197
198 ;;???????????
199 (setq default-directory "/")
200
201 ;;ido???,????????C-x C-f?????????????;
202 ;;????????ido?????emacs23???????.
203 (ido-mode t)
204
205 (setq visible-bell t)
206 ;;????????????
207 (setq inhibit-startup-message t)
208 ;;??emacs??????
209
210 (setq gnus-inhibit-startup-message t)
211 ;;??gnus??????
212
213 (fset 'yes-or-no-p 'y-or-n-p)
214 ;; ?? Emacs ??????? yes ????? y ?????? yes?n ?? no?
215
216 (setq font-lock-maximum-decoration t)
217 (setq font-lock-global-modes '(not shell-mode text-mode))
218 (setq font-lock-verbose t)
219 (setq font-lock-maximum-size '((t . 1048576) (vm-mode . 5250000)))
220 ;; ?????? shell-mode ? text-mode ?????????????
221
222 (setq column-number-mode t)
223 (setq line-number-mode t)
224 ;;?????
225
226 (setq mouse-yank-at-point t)
227 ;;????????????????????????????????????????????????????????????????????????????????? minibuffer?????????X selection ?????????????
228
229 (setq kill-ring-max 200)
230 ;;??????????.??????kill ring(???????). ???????????????
231
232 (setq-default auto-fill-function 'do-auto-fill)
233 ; Autofill in all modes;;
234 (setq default-fill-column 120)
235 ;;? fill-column ?? 60. ????????
236
237 (setq-default indent-tabs-mode nil)
238 (setq default-tab-width 8)
239 (setq tab-stop-list ())
240 ;;?? TAB ???indent, ?????????????? Makefile ??????????? makefile-mode ?? TAB ??????? TAB ???????????
241
242 (setq sentence-end "\\([???]\\|……\\|[.?!][]\"')}]*\\($\\|[ \t]\\)\\)[ \t\n]*")
243 (setq sentence-end-double-space nil)
244 ;;?? sentence-end ???????????? fill ????????????
245
246 (setq enable-recursive-minibuffers t)
247 ;;??????? minibuffer
248
249 (setq scroll-margin 3 scroll-conservatively 10000)
250 ;;?????????? scroll-margin 3 ?????????3???????????????????
251
252 (setq default-major-mode 'text-mode)
253 (add-hook 'text-mode-hook 'turn-on-auto-fill)
254 ;;????????text?,???auto-fill???.???????fundamental-mode
255
256 (setq show-paren-mode t) ;;??????????
257 (setq show-paren-style 'parenthesis)
258 ;;????????????????????????????????????
259
260 (setq mouse-avoidance-mode 'animate)
261 ;;??????????????????????????
262
263 (setq frame-title-format "emacs@%b")
264 ;;??????buffer??????? emacs@wangyin.com ????????
265
266 (setq uniquify-buffer-name-style 'forward);;??????
267 ;; ??????????????????????? buffer ????????foobar<?> ???
268
269 (setq auto-image-file-mode t)
270 ;;? Emacs ????????????
271
272 ;(auto-compression-mode 1)
273 ;?????????????
274
275 (setq global-font-lock-mode t)
276 ;;???????
277
278 (setq-default kill-whole-line t)
279 ;; ??? C-k ?????????
280
281 (add-hook 'comint-output-filter-functions
282 'comint-watch-for-password-prompt)
283 ;;???shell?telnet?w3m???????????????????,??????????
284
285 ;; (setq version-control t);;??????????????
286 ;; (setq kept-old-versions 2);;????????????????????????????????
287 ;; (setq kept-new-versions 1);;???????1??????
288 ;; (setq delete-old-versions t);;???????3??????
289 ;; (setq backup-directory-alist '(("." . "~/backups")));;?????????
290 ;; (setq backup-by-copying t);;???????????
291 ;; Emacs ??????????????????(? ~ ?????)???????
292 ;; (????)???????????????????????????????
293 ;; ??????("~/backups")????????????????????????
294 ;; 1??????????????????????????
295
296 (setq make-backup-files nil)
297 ;; ?????????
298
299 (setq auto-save-mode nil)
300 ;;??????
301
302 (setq-default make-backup-files nil)
303 ;; ???????
304
305 (put 'scroll-left 'disabled nil) ;??????
306 (put 'scroll-right 'disabled nil) ;??????
307 (put 'set-goal-column 'disabled nil)
308 (put 'narrow-to-region 'disabled nil)
309 (put 'upcase-region 'disabled nil)
310 (put 'downcase-region 'disabled nil)
311 (put 'LaTeX-hide-environment 'disabled nil)
312 ;;?????????????
313
314 ;;??emacs??????????
315 (setq x-select-enable-clipboard t)
316
317 (setq mouse-yank-at-point t)
318 ;;??????????
319
320 (setq user-full-name "???")
321 (setq user-mail-address "getmails@163.com")
322 ;;?????????,?????????
323
324 (setq require-final-newline t)
325 ;; ????????????
326
327 (setq-default transient-mark-mode t)
328 ;;Non-nil if Transient-Mark mode is enabled.
329
330 (setq track-eol t)
331 ;; ??????????????????????
332
333 (setq Man-notify-method 'pushy)
334 ;; ??? man page ??????? man buffer?
335
336 (setq next-line-add-newlines nil)
337 ;;Emacs 21 ?????????? C-n ???????????
338
339 (global-set-key [home] 'beginning-of-buffer)
340 (global-set-key [end] 'end-of-buffer)
341 ;;??home???buffer???end???buffer??
342
343
344 (global-set-key (kbd "C-,") 'scroll-left)
345 ;; "C-,"????????
346 (global-set-key (kbd "C-.") 'scroll-right)
347 ;; "C-."????????
348
349 (global-set-key [f1] 'manual-entry)
350 (global-set-key [C-f1] 'info )
351
352 (global-set-key [f3] 'repeat-complex-command)
353
354 (global-set-key [f4] 'other-window)
355 ;; ??? Emacs ????buffer??
356
357 (defun du-onekey-compile ()
358 "Save buffers and start compile"
359 (interactive)
360 (save-some-buffers t)
361 (switch-to-buffer-other-window "*compilation*")
362 (compile compile-command))
363 (global-set-key [C-f5] 'compile)
364 (global-set-key [f5] 'du-onekey-compile)
365 ;; C-f5, ??????; f5, ????????????????
366
367 (global-set-key [f6] 'gdb)
368 ;;F6????Emacs???gdb
369
370 (global-set-key [C-f7] 'previous-error)
371 (global-set-key [f7] 'next-error)
372
373 (defun open-eshell-other-buffer ()
374 "Open eshell in other buffer"
375 (interactive)
376 (split-window-vertically)
377 (eshell))
378 (global-set-key [(f8)] 'open-eshell-other-buffer)
379 (global-set-key [C-f8] 'eshell)
380 ;;??????shell??buffer???????????(????????)????????
381 ;;f8??????buffer????shell?C-f8??????buffer??shell
382
383 (setq speedbar-show-unknown-files t);;????????????
384 (setq dframe-update-speed nil);;???????? g ??
385 (setq speedbar-update-flag nil)
386 (setq speedbar-use-images nil);;??? image ???
387 (setq speedbar-verbosity-level 0)
388
389 (global-set-key [f9] 'speedbar)
390 ;;??f9??speedbar??
391 ;;?? n ? p ???????
392 ;; + ????????????- ???RET ????????g ?? speedbar?
393
394 (setq dired-recursive-copies 'top)
395 (setq dired-recursive-deletes 'top)
396 ;;? dired ?????????????
397 (global-set-key [C-f9] 'dired)
398 ;;??[C-f9]???dired??
399
400 (global-set-key [f10] 'undo)
401 ;;??F10???
402
403 (global-set-key [f11] 'calendar)
404 ;;??F11?????Emacs ?????
405
406 (global-set-key [f12] 'list-bookmarks)
407 ;;??F12 ????????
408
409 (setq time-stamp-active t)
410 (setq time-stamp-warn-inactive t)
411 (setq time-stamp-format "%:y-%02m-%02d %3a %02H:%02M:%02S chunyu")
412 ;; ?????????????????????
413
414 (global-set-key (kbd "M-g") 'goto-line)
415 ;;??M-g?goto-line
416
417 (global-set-key (kbd "C-SPC") 'nil)
418 ;;??control+space???mark
419
420 (global-set-key (kbd "M-<SPC>") 'set-mark-command)
421 ;;?? ????? C-@ ? setmark ?, C-@ ?????
422
423 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;????????;;;;;;;;;;;;;;;;;;;;;;;;;;;;
424
425
426 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
427 ;;?????????
428 (setq calendar-load-hook
429 '(lambda ()
430 (set-face-foreground 'diary-face "skyblue")
431 (set-face-background 'holiday-face "slate blue")
432 (set-face-foreground 'holiday-face "white")))
433
434 ;;????????????calendar????????????????????????
435 ;; ?emacs???????????? calendar ?? S ????
436 (setq calendar-latitude +39.54)
437 (setq calendar-longitude +116.28)
438 (setq calendar-location-name "??")
439
440 ;; ???????? calendar ?? pC ????
441 (setq chinese-calendar-celestial-stem
442 ["?" "?" "?" "?" "?" "?" "?" "?" "?" "?"])
443 (setq chinese-calendar-terrestrial-branch
444 ["?" "?" "?" "?" "?" "?" "?" "?" "?" "?" "?" "?"])
445
446 ;; ?? calendar ???
447 (setq calendar-remove-frame-by-deleting t)
448 (setq calendar-week-start-day 1) ; ????????????
449 (setq mark-diary-entries-in-calendar t) ; ??calendar??diary???
450 (setq mark-holidays-in-calendar nil) ; ?????diary????calendar??????
451 (setq view-calendar-holidays-initially nil) ; ??calendar??????????
452
453 ;; ???????????????????? calendar ?? h ????
454 (setq christian-holidays nil)
455 (setq hebrew-holidays nil)
456 (setq islamic-holidays nil)
457 (setq solar-holidays nil)
458 (setq general-holidays '((holiday-fixed 1 1 "??")
459 (holiday-fixed 2 14 "???")
460 (holiday-fixed 3 14 "?????")
461 (holiday-fixed 4 1 "???")
462 (holiday-fixed 5 1 "???")
463 (holiday-float 5 0 2 "???")
464 (holiday-fixed 6 1 "???")
465 (holiday-float 6 0 3 "???")
466 (holiday-fixed 7 1 "???")
467 (holiday-fixed 8 1 "???")
468 (holiday-fixed 9 10 "???")
469 (holiday-fixed 10 1 "???")
470 (holiday-fixed 12 25 "???")))
471
472 ;;Calendar???????????????
473 ;;????“?”????????????“?”??????????
474 ;; q ??calendar??
475 ;; C-f ?????????
476 ;; C-b ?????????
477 ;; C-n ?????????
478 ;; C-p ?????????
479 ;; M-} ??????????
480 ;; M-{ ??????????
481 ;; C-x ] ?????????
482 ;; C-x [ ?????????
483 ;; C-a ??????????
484 ;; C-e ???????????
485 ;; M-a ??????????
486 ;; M-e ???????????
487 ;; M-< ??????????
488 ;; M-> ???????????
489
490 ;;Calendar??????????????????
491 ;; g d ??????????
492 ;; o ???????????????
493 ;; . ????????
494 ;; p d ?????????????????????????
495 ;; C-c C-l ??Calendar??
496
497 ;; Calendar????LATEX???
498 ;; t m ??????
499 ;; t M ???????????
500 ;; t d ?????????????
501 ;; t w 1 ????????????
502 ;; t w 2 ????????????
503 ;; t w 3 ????ISO-SYTLE????????
504 ;; t w 4 ???????????????
505 ;; t y ????????
506
507 ;;EMACS Calendar???????
508 ;; h ???????
509 ;; x ?????????
510 ;; u ???????????
511 ;; e ???????????????
512 ;; M-x holiday ???????????????????
513
514
515 ;; ??????????????????
516 ;; S ???????????(????S)
517 ;; p C ????????
518 ;; g C ????????????
519
520
521 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
522
523
524
525 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???? ;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;
526
527 (setq diary-file "~/diary");; ???????
528 (setq diary-mail-addr "getmails@163.com")
529 (add-hook 'diary-hook 'appt-make-list)
530 ;;???????'~/diary'?????????calendar?????????????????????????? ?
531 ;; d ?????????????
532 ;; s ???????????????????
533
534 ;; ??????????
535 ;; 02/11/1989
536 ;; Bill B. visits Princeton today
537 ;; 2pm Cognitive Studies Committee meeting
538 ;; 2:30-5:30 Liz at Lawrenceville
539 ;; 4:00pm Dentist appt
540 ;; 7:30pm Dinner at George's
541 ;; 8:00-10:00pm concert
542
543 ;; ????????
544 ;; i d ???????????
545 ;; i w ???????????
546 ;; i m ???????????
547 ;; i y ???????????
548 ;; i a ??????????????
549 ;; i c ?????????
550
551
552 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
553
554
555
556 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???lisp??? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
557
558
559 ;=======================???????======================
560 ;; (add-to-list 'load-path "~/lisp/wubi/wubi")
561 ;; (require 'wubi)
562 ;; (register-input-method "chinese-wubi" "Chinese-GB" 'quail-use-package "wubi" "wubi")
563 ;; (wubi-load-local-phrases)
564 ;; (setq default-input-method "chinese-wubi")
565
566
567 ;;???Lisp?????????????????????????.emacs??????emacs?
568 ;;???????????????????C-\ ????? Ctrl?????????????????
569 ;;?emacs?mode line????“????”????
570
571 ;=======================?????????===================
572
573
574 ;======================= cscope ?? =======================
575 ;;?? cscope ?????,??xcscope??????????????????? buffer ?
576 ;;?????????????
577
578 (add-to-list 'load-path "~/lisp/xcscope") ;; ??????????? EMACS ? load-path
579 (require 'xcscope) ;; ???????
580
581 ;; C-c s a ???????????????????
582 ;; C-s s I ??????????????????
583 ;; C-c s s ????
584 ;; C-c s g ???????
585 ;; C-c s c ??????????????
586 ;; C-c s C ?????????????
587 ;; C-c s e ???????
588 ;; C-c s f ????
589 ;; C-c s i ????????????include
590
591
592 ;===================== cscope ???? ======================
593
594
595 ;======================== tabbar?? ========================
596 (add-to-list 'load-path "~/lisp/tabbar")
597 (require 'tabbar)
598 (tabbar-mode)
599 ;========================tabbar????=======================
600
601
602 ;======================= wb-line-number?? ==================
603 ;;?????????buffer
604 ;(add-to-list 'load-path "~/lisp/wb-line-number")
605 ;(require 'wb-line-number)
606 ;(wb-line-number-enable)
607 ;====================== wb-line-number???? ================
608
609 ;======================= setnu?? ============================
610 ;;????????????
611 (add-to-list 'load-path "~/lisp/setnu")
612 (require 'setnu)
613 (global-set-key [f2] (quote setnu-mode))
614
615 ;======================= setnu???? ????=================
616
617
618 ;====================== rect-mark?? =========================
619 ;; ??shift????????????
620 ;; Support for marking a rectangle of text with highlighting.
621 (add-to-list 'load-path "~/lisp/rect-mark")
622 (require 'rect-mark)
623 (define-key ctl-x-map "r\C-@" 'rm-set-mark)
624 (define-key ctl-x-map [?r ?\C-\ ] 'rm-set-mark)
625 (define-key ctl-x-map "r\C-x" 'rm-exchange-point-and-mark)
626 (define-key ctl-x-map "r\C-w" 'rm-kill-region)
627 (define-key ctl-x-map "r\M-w" 'rm-kill-ring-save)
628 (define-key global-map [S-down-mouse-1] 'rm-mouse-drag-region)
629 (autoload 'rm-set-mark "rect-mark"
630 "Set mark for rectangle." t)
631 (autoload 'rm-exchange-point-and-mark "rect-mark"
632 "Exchange point and mark for rectangle." t)
633 (autoload 'rm-kill-region "rect-mark"
634 "Kill a rectangular region and save it in the kill ring." t)
635 (autoload 'rm-kill-ring-save "rect-mark"
636 "Copy a rectangular region to the kill ring." t)
637 (autoload 'rm-mouse-drag-region "rect-mark"
638 "Drag out a rectangular region with the mouse." t)
639
640 ;; Use this section in your "~/.emacs" to modify picture mode so that
641 ;; it automatically uses the rect-mark equivalents of many commands.
642
643 ;; One vision of a better picture mode.
644 (add-hook 'picture-mode-hook 'rm-example-picture-mode-bindings)
645 (autoload 'rm-example-picture-mode-bindings "rect-mark"
646 "Example rect-mark key and mouse bindings for picture mode.")
647
648 ;===================== rect-mark???? =========================
649
650 ;===================== info???? ==============================
651 ;;Info ????? Info-directory-list ???????? Info-directory-list ???? info ?
652 ;;?Info-default-directory-list ?????????? Info ?????? Info-default-directory-list?
653 ;;???? Info ????????? dir ???????? Info-directory-list ??????????
654 ;;? ${emacs}/info ???????????????????
655
656 (add-to-list 'Info-default-directory-list "~/lisp/info/")
657
658 ;; n??????????????
659 ;; p??????????????
660 ;; m: ???????????????
661 ;; f??????????
662 ;; l???????????????
663 ;; TAB?????????????????
664 ;; RET?????????????
665 ;; u?????????
666 ;; d??? info ????????
667 ;; h??? info ???
668 ;; q??? info?
669
670 ;=================== info?????? ============================
671
672
673 ;===================== AUCTeX?? =================================
674 (load "~/lisp/auctex/site-lisp/auctex.el" nil t t)
675 (load "~/lisp/auctex/site-lisp/preview-latex.el" nil t t)
676 (setq TeX-auto-save t)
677 (setq TeX-parse-self t)
678 (setq-default TeX-master nil)
679 (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar)
680 (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
681 (add-hook 'LaTeX-mode-hook 'turn-on-reftex)
682
683 ;===================== AUCTeX???? =============================
684
685
686 ;===================== ???header?? ===========================
687 ;;??????????,???????????.????????, ??????,
688 ;??????????. ??????,????????,??????,???????????.
689 ;;??? M-x make-header ?????????.
690 (add-to-list 'load-path "~/lisp/header")
691 (require 'header)
692 (setq make-header-hooks '(header-mode-line
693 header-blank
694 header-file-name
695 header-blank
696 header-copyright
697 header-blank
698 header-author
699 header-creation-date
700 header-modification-author
701 header-modification-date
702 header-update-count
703 header-blank
704 header-history
705 header-blank
706 ))
707 (setq header-copyright-notice " ????? ??" )
708 (make-local-variable 'user-full-name)
709 (make-local-variable 'user-mail-address)
710
711 ;===================== ???header???? ==========================
712
713
714 ;===================== template?? =================================
715 (add-to-list 'load-path "~/lisp/template")
716 (require 'template)
717 (template-initialize)
718
719 ;===================== template????===============================
720
721 ;===================== cedet?? =====================================
722
723 (add-to-list 'load-path "~/lisp/cedet-1.0pre3/speedbar")
724 (add-to-list 'load-path "~/lisp/cedet-1.0pre3/eieio")
725 (add-to-list 'load-path "~/lisp/cedet-1.0pre3/semantic")
726 (add-to-list 'load-path "~/lisp/cedet-1.0pre3/common")
727 (require 'cedet)
728 ;; (add-to-list 'load-path "~/lisp/ecb-2.32")
729 ;; (require 'ecb)
730
731 ;; Ecb???:
732 ;; C-c . g d ??????
733 ;; C-c . g s ????
734 ;; C-c . g m ???????
735 ;; C-c . g h ????
736 ;; C-c . g l ??????????
737 ;; C-c . g 1 ????1
738 ;; C-c . g n ????n
739 ;; C-c . l c ????
740 ;; C-c . l r ????
741 ;; C-c . l t ????(????)
742 ;; C-c . l w ?????ecb??
743 ;; C-c . \ ??????
744
745 ;; ??l?????(L),?????!!
746
747 ;======================cedet????==================================
748
749
750
751
752 ;;;;;;;;;;;;;;;;;;;;;;;;;; ???lisp????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
753
754
755
756
757 ;===================== GNUS?? =================================
758 (setq gnus-select-method '(nntp "news.yaako.com"))
759 (setq gnus-default-subscribed-newsgroups
760 '( "cn.comp.os.linux")) ;;
761
762 ;; (add-to-list 'gnus-secondary-select-methods '(nntp "news.yourSecondProvider.net"))
763 ;; (add-to-list 'gnus-secondary-select-methods '(nntp "news.yourThirdProvider.net"))
764 ;;?? Gnus ???????????
765
766
767 ;;????
768 (set-language-environment 'Chinese-GB)
769 (setq gnus-default-charset 'chinese-iso-8bit
770 gnus-group-name-charset-group-alist '((".*" . chinese-iso-8bit))
771 gnus-summary-show-article-charset-alist
772 '((1 . chinese-iso-8bit)
773 (2 . gbk)
774 (3 . big5)
775 (4 . utf-8))
776 gnus-newsgroup-ignored-charsets
777 '(unknown-8bit x-unknown iso-8859-1))
778
779
780 (setq mail-sources
781 '((pop :server "pop3.163.com" ;; ?????pop3???
782 :user "66656799" ;; ???
783 ;; :port "110"
784 :password "wcmwlw"))) ;; ??
785 (setq gnus-secondary-select-methods '((nnfolder "")))
786
787
788
789 (setq user-full-name "getmails") ;; ???????????
790 (setq user-mail-address "getmails@163.com") ;;???????????
791 (setq smtpmail-auth-credentials
792 '(("smtp.163.com" ;; SMTP???
793 25
794 "getmails" ;; ???
795 "wcmwlw"))) ;; ??
796 (setq smtpmail-default-smtp-server "smtp.163.com")
797 (setq smtpmail-smtp-server "smtp.163.com")
798 (setq message-send-mail-function 'smtpmail-send-it)
799
800 (setq nnmail-expiry-wait 3);;Gnus ???????7???????????????????
801
802 (add-hook 'gnus-article-prepare-hook
803 (lambda ()
804 (setq fill-column 60)
805 (gnus-article-fill-long-lines)))
806 ;;?gnus?????????????????
807
808 (add-hook 'gnus-article-prepare-hook 'gnus-article-date-local)
809 ;;???????????????
810
811 (gnus-add-configuration '(article
812 (vertical 1.0
813 (summary .4 point)
814 (article 1.0))))
815 ;; ???????????????????4?6????
816
817 (eval-after-load "mm-decode"
818 '(progn
819 (add-to-list 'mm-discouraged-alternatives "text/html")
820 (add-to-list 'mm-discouraged-alternatives "text/richtext")))
821 ;??????web?????????html??????????????
822 ;plain text???
823
824 (setq gnus-thread-sort-functions
825 '(
826 (not gnus-thread-sort-by-date)
827 (not gnus-thread-sort-by-number)
828 ))
829 ;;??
830
831 (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
832 ;; ???????????????????????????????????
833
834 (setq gnus-read-newsrc-file nil gnus-save-newsrc-file nil)
835
836 ;======================== GNUS???? ===============================
837
838
839
840 ;;=========================== ?????????=====================================
841
842 (setq compile-command "make")
843 ;;emacs???compile?????make -k???????make???????????????gcc???.
844
845 ;;?c???????k&r??
846 (add-hook 'c-mode-hook
847 '(lambda ()
848 (c-set-style "k&r")))
849
850 ;;?C++???????stroustrup??
851 (add-hook 'c++-mode-hook
852 '(lambda()
853 (c-set-style "stroustrup")))
854
855 ;========================================================================
856
857 (load-library "hideshow")
858 (add-hook 'c-mode-hook 'hs-minor-mode)
859 (add-hook 'c++-mode-hook 'hs-minor-mode)
860 (add-hook 'java-mode-hook 'hs-minor-mode)
861 (add-hook 'perl-mode-hook 'hs-minor-mode)
862 (add-hook 'php-mode-hook 'hs-minor-mode)
863 (add-hook 'emacs-lisp-mode-hook 'hs-minor-mode)
864 ;;???????????????????
865 ;; M-x hs-minor-mode
866 ;; C-c @ ESC C-s show all
867 ;; C-c @ ESC C-h hide all
868 ;; C-c @ C-s show block
869 ;; C-c @ C-h hide block
870 ;; C-c @ C-c toggle hide/show
871
872 ;========================================================================
873
874 (defun my-c-mode-auto-pair ()
875 (interactive)
876 (make-local-variable 'skeleton-pair-alist)
877 (setq skeleton-pair-alist '(
878 (?` ?` _ "''")
879 (?\( ? _ " )")
880 (?\[ ? _ " ]")
881 (?{ \n > _ \n ?} >)))
882 (setq skeleton-pair t)
883 (local-set-key (kbd "(") 'skeleton-pair-insert-maybe)
884 (local-set-key (kbd "{") 'skeleton-pair-insert-maybe)
885 (local-set-key (kbd "`") 'skeleton-pair-insert-maybe)
886 (local-set-key (kbd "[") 'skeleton-pair-insert-maybe))
887 (add-hook 'c-mode-hook 'my-c-mode-auto-pair)
888 (add-hook 'c++-mode-hook 'my-c-mode-auto-pair)
889 ;;???????????????????.??(), "", [] , {} , ???
890
891 ;=========================================================================
892 (setq semantic-load-turn-everything-on t)
893 ;(add-hook 'semantic-init-hooks 'semantic-idle-completions-mode)
894
895 (setq semanticdb-project-roots
896 (list
897 (expand-file-name "/")))
898 ;;??Semantic?????
899
900 (setq semanticdb-default-save-directory "~/")
901 ;;??semantic.cache??
902
903 (global-set-key [(meta ?/)] 'hippie-expand)
904 ;;M-/ ??? hippie-expand
905
906 (autoload 'senator-try-expand-semantic "senator")
907 (setq hippie-expand-try-functions-list
908 '(senator-try-expand-semantic ;?????senator?????
909 try-expand-dabbrev ;???buffer??
910 try-expand-dabbrev-visible ;????????????
911 try-expand-dabbrev-all-buffers ;?????buffer
912 try-expand-dabbrev-from-kill
913 try-complete-file-name-partially
914 try-complete-file-name
915 try-expand-all-abbrevs
916 try-expand-list
917 try-expand-line
918 try-complete-lisp-symbol-partially
919 try-complete-lisp-symbol))
920 ;?? hippie-expand ??????????????? hippie-expand ????????????????
921
922 ;=========================================================================
923
924
925 ;==========================================================================
926
927
928
929 ;;========================== ??????????====================================
930
931
932
933 netbeans_default_options="-J-Dswing.useSystemFontSettings=false -J-Xms32m -J-Xmx256m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled --fontsize 12 -J-XX:CompileThreshold=10000 -J-XX:ReservedCodeCacheSize=100m -J-XX:+UseParNewGC -J-XX:+UseFastAccessorMethods -J-XX:+UseThreadPriorities -J-XX:+AggressiveOpts "
934
935
936
937
938 Netbeans 6.9 ???????2008-02-12 11:20???NetBeans?????????????netbeans?????etc/netbeans.conf?????????
939
940
941 netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Duser.language=en -J-Duser.country=US"
942
943
944 ??????????????????ok?
945
946
947
948 \\172.28.73.129\tools&drives&share\ALL\Citrix
949
950 CITRIX MetaFrame XP Presentation Server
951 ftp://ftp.citrix.com/metaXP/W2K3/FR3CD_MFXP10_WS2K3.exe
952 ftp://ftp.citrix.com/meta_18a/sp3/SP3CD_MF18.exe
953 ftp://ftp.citrix.com/meta_18a/sp3
954 http://www.qzcc.com/nalyc/down.htm
955
956 public static char[] hexDigits =
957 {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
958
959 /**
960 * @notes ??????????
961 * @param bytes
962 * @return String
963 */
964 public static String toHexString(byte[] bytes) {
965 char[] chars = new char[bytes.length * 2];
966
967 for (int i = 0; i < bytes.length; i++) {
968 int b = bytes[i];
969 chars[i * 2] = Util.hexDigits[(b & 0xF0) >> 4];
970 chars[i * 2 + 1] = Util.hexDigits[b & 0x0F];
971 }
972
973 return new String(chars);
974 }
975
976 /**
977 * @notes ??????????
978 * @param str
979 * @return byte[]
980 */
981 public static byte[] toByteArray(String str) {
982 int length = str.length() / 2;
983 byte[] bytes = new byte[length];
984 byte[] source = str.getBytes();
985
986 for (int i = 0; i < bytes.length; ++i) {
987 byte bh = Byte.decode("0x" + new String(new byte[]{source[i * 2]})).byteValue();
988 bh = (byte)(bh << 4);
989 byte bl = Byte.decode("0x" + new String(new byte[]{source[i * 2 + 1]})).byteValue();
990 bytes[i] = (byte)(bh ^ bl);
991 }
992
993 return bytes;
994 }
995
996 ==================================================================================================
997
998 How to Learn Java & Get a Job in the Industry
999 Getting Started
1000 So, you want to learn Java become a professional programmer? Well, here's how you do it...
1001
1002 First, you’ll need to get a book or two. Personally, I recommend Head First Java by Kathy Sierra and Bert Bates. This book is excellent in a ton of ways, but mostly, it’s easy to read, fun to learn and interactive. This book is a must-have for someone starting out. Later on you may want to get thicker, heavier, more serious resource books…. But for now stick with the easy stuff.
1003
1004 You’ll also need to go to the Sun/Oracle site and find the API documentation. So you don’t need to go look up what that means, it’s all the libraries and things you can do with a basic Java development kit install and a bit of know how.
1005
1006 Last, you’ll need to head over to CodeRanch.com and find the “Beginning Java” forum, and read their documentation on getting Java installed for development and how to get help when (not if) you need it.
1007
1008 DON’T:
1009
1010 • Install an IDE. It’s like trying to learn to drive in a racecar. There’s too many features, plugins, “stuff” for you to get mangled up with at this point. I recommend Notepad++ in Java mode, but any text editor with a bit more complexity than notepad will do. The built in editor in Linux is awesome, too.
1011
1012 • Get upset if you can’t figure it out right away. There are a bunch of tiny steps to getting started and missing a single one can mess things up. Ask for help in the Beginning Java CodeRanch forum. Folks are REALLY nice there.
1013
1014 Next Steps
1015 Become familiarized with the basic APIs of Java, then you might work your way into creating GUI interfaces, database applications, web applets, interactive web applications, you name it. Java is really versatile and you can do most programming tasks.
1016
1017 You may consider getting a certification or two in Java Programming. These are great resume boosters and could serve to get your foot in the door for a few interviews.
1018
1019 You Wanna Get a Job?
1020 Once you get started, you might realize that Java programming is so fun you want to get a job doing it every day. There are lots of entry level positions out there, but tons of competition. You’ll need to set yourself apart. There’s a list of things you might do to get closer to getting a gig:
1021
1022 • NETWORK – find folks who do what you want to be able to do. Learn from them. Talk to them. Make friends. Lots of times, knowing enough to get a job isn’t enough because hiring managers have folks lined up out the door for entry level jobs. You need references, and best yet a heads up when your new friends know of something coming up.
1023
1024 • LEARN – Get yourself involved with as much as possible. Learn new frameworks, design techniques, even things like oral and written communication. All these things are important for a Java programmer depending on the job.
1025
1026 • BE PATIENT – Jobs are out there, but you need to apply, be patient and be available. A job is out there for you, it’s important to be in the right place at the right time.
1027
1028 • PREPARE – This can’t be understated. If a hiring manager brings in ten people to interview for a position, it’s hard to set yourself apart. Prepare for interview questions, they will ask you technical questions; prepare a portfolio of your work, because they will want to see (not hear) what you’ve done; and above all else show up dressed and on time. There’s a great book by () calles “Land the Tech Job You Want” – a must read for someone looking to get started.
1029
1030 Once you get the job, ask questions and try to get up to speed on whatever job you get as soon as you can. Go home and read about applications, frameworks, APIs and terminology you don’t understand. When someone is training you, ask questions until you feel more comfortable with the job. Being an avid learner on the job will help you be more valuable to the company you work for as well as help you become a valuable applicant for your next job.
1031
1032
1033
1034 ====== UCS ======
1035 Home: http://ucs.sourceforge.net/
1036 download: http://sourceforge.net/projects/ucs/files/ucs/ucs%20v1.2.6/
 
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.