??????????? [2012?2?] 2012.02.04 ?? 8:00~10:00 2012.02.11 ?? 8:00~10:00 2012.02.12 ?? 8:00~10:00 office PROJECT PROFESSIONAL MVR3D-9XVBT-TBWY8-W3793-FR7C3 26K3G-RGBT2-7W74V-4JQ42-KHXQW D4HF2-HMRGR-RQPYJ-WGD4G-79YXM XB62K-YMC83-MMDWB-HK264-M68MK V239V-F39D3-3VPPM-JMHJJ-QJGCF CMWV4-2D83Y-PHYMG-DFX73-QPGQC 7TCB4-6DVYG-P4KVX-TV97T-G9H74 C44YG-8BM4M-9RTJM-VJCTD-WKVYT YG64T-FDD7J-P6R3Q-4X4YV-7QGJP VISIO PREMIUM VISIO PROFESSIONAL GR24B-GC2XY-KRXRG-2TRJJ-4X7DC 6GMHJ-PJRM9-JP7JP-634V9-H7TH3 VWQ6G-37WBG-J7DJP-CY66Y-V278X VVTP7-BT23Y-79RP3-4DMQW-RP94G 2T8H8-JPW3D-CJGRK-3HTVF-VWD83 9H7D6-FKY3M-2WK98-YQF92-X9W7M HMCVF-BX8YB-JK46P-DP3KJ-9DRB2 YGQX7-QKW9V-VWK3T-DRM6X-RPMJR 22WT8-GGT7M-7MVKR-HF7Y4-MCWWD PWRF2-TPVPM-263M2-MQW49-WGGT9 VX6BF-BHVDV-MHQ4R-KH9QD-6TQKV Q9DM8-WXQQ4-4QC33-QGR4C-Q9P26 J4MVP-7F4X4-V8W2C-8VWXY-2KBX3 6CCWR-2CG38-GXQ4B-RG79G-PD9H8 MGF33-HGVVG-QHWDF-TK9BT-4BDV6 37XJM-6M4VC-FJDYP-3WCM6-8G99V CWCW9-9KYD9-VH8CX-W9MVY-FFPKG 6WD8T-Q7C4F-PH3VK-HKB99-B8HYX slmgr.vbs -ipk 22TKD-F8XX6-YG69F-9M66D-PMJBM ??: ESXi 5 Desktop Host(12 core) ?????: 1F6TQ-2PJDN-XZ269-2K37H-33J24 VMware vSphere Hypervisor 5 License 00482-6220N-J8A41-0H9A0-88AQN PON??????????????????????????????????????????????????FTTH???????? M.3010: Principles for a telecommunications management network M.3100: Generic network information model M.3400: TMN management functions G.853.1: Common elements of the information viewpoint for the management of a transport network G.853.2: Subnetwork connection management information viewpoint G.853.3: Information viewpoint for topology management G.852.6: Enterprise viewpoint for trail management http://www-01.ibm.com/software/integration/visualization/jviews/tgo/ Generic functional architecture of transport networks ;============================ ????????? ================================= ;;????????linux ????windows?????? ;; (set-language-environment 'Chinese-GB) ;; (set-keyboard-coding-system 'utf-8) ;; (set-clipboard-coding-system 'utf-8) ;; (set-terminal-coding-system 'utf-8) ;; (set-buffer-file-coding-system 'utf-8) ;; (set-default-coding-systems 'utf-8) ;; (set-selection-coding-system 'utf-8) ;; (modify-coding-system-alist 'process "*" 'utf-8) ;; (setq default-process-coding-system '(utf-8 . utf-8)) ;; (setq-default pathname-coding-system 'utf-8) ;; (set-file-name-coding-system 'utf-8) ;; (setq ansi-color-for-comint-mode t) ;;??shell-mode??,????? ;=========================== ??????????? =============================== ;============================ MS Windows??????? =========================== (setq default-frame-alist (append '((font . "fontset-chinese")) default-frame-alist)) (create-fontset-from-fontset-spec "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-fontset-chinese") (set-fontset-font "fontset-default" nil "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-chinese" 'kana "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-chinese" 'han "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-chinese" 'cjk-misc "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-chinese" 'symbol "-outline-???-normal-r-normal-normal-14-*-96-96-c-*-iso10646-1" nil 'prepend) (set-default-font "fontset-chinese") ;===========================MS Windows????????? ========================= ;============================ Linux??????? ================================= ;; (create-fontset-from-fontset-spec ;; "-*-courier-medium-r-normal-*-14-*-*-*-*-*-fontset-courier") ;; (set-default-font "fontset-courier") ;; (setq default-frame-alist ;; (append ;; '((font . "fontset-courier")) default-frame-alist)) ;; (set-fontset-font ;; "fontset-default" nil ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gb2312.1980-*" nil 'prepend) ;; (set-fontset-font ;; "fontset-courier" 'kana ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend) ;; (set-fontset-font ;; "fontset-courier" 'han ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend) ;; (set-fontset-font ;; "fontset-courier" 'cjk-misc ;; "-*-simsun-*-*-*-*-14-*-*-*-*-*-gbk-0" nil 'prepend) ;============================ Linux????????? ============================== ;;;;;;;;;;;;;;;;;;;;??????????;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;???????????fill???,?????? ;; (put-charset-property 'chinese-cns11643-5 'nospace-between-words t) ;; (put-charset-property 'chinese-cns11643-6 'nospace-between-words t) ;; (put-charset-property 'chinese-cns11643-7 'nospace-between-words t) ;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (set-foreground-color "grey") (set-background-color "black") (set-cursor-color "gold1") (set-mouse-color "gold1") (set-scroll-bar-mode nil) ;;????? ;;(customize-set-variable 'scroll-bar-mode 'right)) ;;?????????????????? (tool-bar-mode nil) ;;????? (setq default-frame-alist '((vertical-scroll-bars) (top . 25) (left . 45) (width . 110) (height . 40) (background-color . "black") (foreground-color . "grey") (cursor-color . "gold1") (mouse-color . "gold1") (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe) (left-fringe))) ;; ??????????????????????????????????????????? (set-face-foreground 'highlight "white") (set-face-background 'highlight "blue") (set-face-foreground 'region "cyan") (set-face-background 'region "blue") (set-face-foreground 'secondary-selection "skyblue") (set-face-background 'secondary-selection "darkblue") ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (display-time-mode 1);;??????????minibuffer??????? (setq display-time-24hr-format t);;????24??? (setq display-time-day-and-date t);;????????????? (setq display-time-use-mail-icon t);;??????????? (setq display-time-interval 10);;??????????????? ;;;;;;;;;;;;;;;;;;;;;;;;;;; ???????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;??????;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;??????????? (setq default-directory "/") ;;ido???,????????C-x C-f?????????????; ;;????????ido?????emacs23???????. (ido-mode t) (setq visible-bell t) ;;???????????? (setq inhibit-startup-message t) ;;??emacs?????? (setq gnus-inhibit-startup-message t) ;;??gnus?????? (fset 'yes-or-no-p 'y-or-n-p) ;; ?? Emacs ??????? yes ????? y ?????? yes?n ?? no? (setq font-lock-maximum-decoration t) (setq font-lock-global-modes '(not shell-mode text-mode)) (setq font-lock-verbose t) (setq font-lock-maximum-size '((t . 1048576) (vm-mode . 5250000))) ;; ?????? shell-mode ? text-mode ????????????? (setq column-number-mode t) (setq line-number-mode t) ;;????? (setq mouse-yank-at-point t) ;;????????????????????????????????????????????????????????????????????????????????? minibuffer?????????X selection ????????????? (setq kill-ring-max 200) ;;??????????.??????kill ring(???????). ??????????????? (setq-default auto-fill-function 'do-auto-fill) ; Autofill in all modes;; (setq default-fill-column 120) ;;? fill-column ?? 60. ???????? (setq-default indent-tabs-mode nil) (setq default-tab-width 8) (setq tab-stop-list ()) ;;?? TAB ???indent, ?????????????? Makefile ??????????? makefile-mode ?? TAB ??????? TAB ??????????? (setq sentence-end "\\([???]\\|……\\|[.?!][]\"')}]*\\($\\|[ \t]\\)\\)[ \t\n]*") (setq sentence-end-double-space nil) ;;?? sentence-end ???????????? fill ???????????? (setq enable-recursive-minibuffers t) ;;??????? minibuffer (setq scroll-margin 3 scroll-conservatively 10000) ;;?????????? scroll-margin 3 ?????????3??????????????????? (setq default-major-mode 'text-mode) (add-hook 'text-mode-hook 'turn-on-auto-fill) ;;????????text?,???auto-fill???.???????fundamental-mode (setq show-paren-mode t) ;;?????????? (setq show-paren-style 'parenthesis) ;;???????????????????????????????????? (setq mouse-avoidance-mode 'animate) ;;?????????????????????????? (setq frame-title-format "emacs@%b") ;;??????buffer??????? emacs@wangyin.com ???????? (setq uniquify-buffer-name-style 'forward);;?????? ;; ??????????????????????? buffer ????????foobar ??? (setq auto-image-file-mode t) ;;? Emacs ???????????? ;(auto-compression-mode 1) ;????????????? (setq global-font-lock-mode t) ;;??????? (setq-default kill-whole-line t) ;; ??? C-k ????????? (add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt) ;;???shell?telnet?w3m???????????????????,?????????? ;; (setq version-control t);;?????????????? ;; (setq kept-old-versions 2);;???????????????????????????????? ;; (setq kept-new-versions 1);;???????1?????? ;; (setq delete-old-versions t);;???????3?????? ;; (setq backup-directory-alist '(("." . "~/backups")));;????????? ;; (setq backup-by-copying t);;??????????? ;; Emacs ??????????????????(? ~ ?????)??????? ;; (????)??????????????????????????????? ;; ??????("~/backups")???????????????????????? ;; 1?????????????????????????? (setq make-backup-files nil) ;; ????????? (setq auto-save-mode nil) ;;?????? (setq-default make-backup-files nil) ;; ??????? (put 'scroll-left 'disabled nil) ;?????? (put 'scroll-right 'disabled nil) ;?????? (put 'set-goal-column 'disabled nil) (put 'narrow-to-region 'disabled nil) (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil) (put 'LaTeX-hide-environment 'disabled nil) ;;????????????? ;;??emacs?????????? (setq x-select-enable-clipboard t) (setq mouse-yank-at-point t) ;;?????????? (setq user-full-name "???") (setq user-mail-address "getmails@163.com") ;;?????????,????????? (setq require-final-newline t) ;; ???????????? (setq-default transient-mark-mode t) ;;Non-nil if Transient-Mark mode is enabled. (setq track-eol t) ;; ?????????????????????? (setq Man-notify-method 'pushy) ;; ??? man page ??????? man buffer? (setq next-line-add-newlines nil) ;;Emacs 21 ?????????? C-n ??????????? (global-set-key [home] 'beginning-of-buffer) (global-set-key [end] 'end-of-buffer) ;;??home???buffer???end???buffer?? (global-set-key (kbd "C-,") 'scroll-left) ;; "C-,"???????? (global-set-key (kbd "C-.") 'scroll-right) ;; "C-."???????? (global-set-key [f1] 'manual-entry) (global-set-key [C-f1] 'info ) (global-set-key [f3] 'repeat-complex-command) (global-set-key [f4] 'other-window) ;; ??? Emacs ????buffer?? (defun du-onekey-compile () "Save buffers and start compile" (interactive) (save-some-buffers t) (switch-to-buffer-other-window "*compilation*") (compile compile-command)) (global-set-key [C-f5] 'compile) (global-set-key [f5] 'du-onekey-compile) ;; C-f5, ??????; f5, ???????????????? (global-set-key [f6] 'gdb) ;;F6????Emacs???gdb (global-set-key [C-f7] 'previous-error) (global-set-key [f7] 'next-error) (defun open-eshell-other-buffer () "Open eshell in other buffer" (interactive) (split-window-vertically) (eshell)) (global-set-key [(f8)] 'open-eshell-other-buffer) (global-set-key [C-f8] 'eshell) ;;??????shell??buffer???????????(????????)???????? ;;f8??????buffer????shell?C-f8??????buffer??shell (setq speedbar-show-unknown-files t);;???????????? (setq dframe-update-speed nil);;???????? g ?? (setq speedbar-update-flag nil) (setq speedbar-use-images nil);;??? image ??? (setq speedbar-verbosity-level 0) (global-set-key [f9] 'speedbar) ;;??f9??speedbar?? ;;?? n ? p ??????? ;; + ????????????- ???RET ????????g ?? speedbar? (setq dired-recursive-copies 'top) (setq dired-recursive-deletes 'top) ;;? dired ????????????? (global-set-key [C-f9] 'dired) ;;??[C-f9]???dired?? (global-set-key [f10] 'undo) ;;??F10??? (global-set-key [f11] 'calendar) ;;??F11?????Emacs ????? (global-set-key [f12] 'list-bookmarks) ;;??F12 ???????? (setq time-stamp-active t) (setq time-stamp-warn-inactive t) (setq time-stamp-format "%:y-%02m-%02d %3a %02H:%02M:%02S chunyu") ;; ????????????????????? (global-set-key (kbd "M-g") 'goto-line) ;;??M-g?goto-line (global-set-key (kbd "C-SPC") 'nil) ;;??control+space???mark (global-set-key (kbd "M-") 'set-mark-command) ;;?? ????? C-@ ? setmark ?, C-@ ????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;????????;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;????????? (setq calendar-load-hook '(lambda () (set-face-foreground 'diary-face "skyblue") (set-face-background 'holiday-face "slate blue") (set-face-foreground 'holiday-face "white"))) ;;????????????calendar???????????????????????? ;; ?emacs???????????? calendar ?? S ???? (setq calendar-latitude +39.54) (setq calendar-longitude +116.28) (setq calendar-location-name "??") ;; ???????? calendar ?? pC ???? (setq chinese-calendar-celestial-stem ["?" "?" "?" "?" "?" "?" "?" "?" "?" "?"]) (setq chinese-calendar-terrestrial-branch ["?" "?" "?" "?" "?" "?" "?" "?" "?" "?" "?" "?"]) ;; ?? calendar ??? (setq calendar-remove-frame-by-deleting t) (setq calendar-week-start-day 1) ; ???????????? (setq mark-diary-entries-in-calendar t) ; ??calendar??diary??? (setq mark-holidays-in-calendar nil) ; ?????diary????calendar?????? (setq view-calendar-holidays-initially nil) ; ??calendar?????????? ;; ???????????????????? calendar ?? h ???? (setq christian-holidays nil) (setq hebrew-holidays nil) (setq islamic-holidays nil) (setq solar-holidays nil) (setq general-holidays '((holiday-fixed 1 1 "??") (holiday-fixed 2 14 "???") (holiday-fixed 3 14 "?????") (holiday-fixed 4 1 "???") (holiday-fixed 5 1 "???") (holiday-float 5 0 2 "???") (holiday-fixed 6 1 "???") (holiday-float 6 0 3 "???") (holiday-fixed 7 1 "???") (holiday-fixed 8 1 "???") (holiday-fixed 9 10 "???") (holiday-fixed 10 1 "???") (holiday-fixed 12 25 "???"))) ;;Calendar??????????????? ;;????“?”????????????“?”?????????? ;; q ??calendar?? ;; C-f ????????? ;; C-b ????????? ;; C-n ????????? ;; C-p ????????? ;; M-} ?????????? ;; M-{ ?????????? ;; C-x ] ????????? ;; C-x [ ????????? ;; C-a ?????????? ;; C-e ??????????? ;; M-a ?????????? ;; M-e ??????????? ;; M-< ?????????? ;; M-> ??????????? ;;Calendar?????????????????? ;; g d ?????????? ;; o ??????????????? ;; . ???????? ;; p d ????????????????????????? ;; C-c C-l ??Calendar?? ;; Calendar????LATEX??? ;; t m ?????? ;; t M ??????????? ;; t d ????????????? ;; t w 1 ???????????? ;; t w 2 ???????????? ;; t w 3 ????ISO-SYTLE???????? ;; t w 4 ??????????????? ;; t y ???????? ;;EMACS Calendar??????? ;; h ??????? ;; x ????????? ;; u ??????????? ;; e ??????????????? ;; M-x holiday ??????????????????? ;; ?????????????????? ;; S ???????????(????S) ;; p C ???????? ;; g C ???????????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???? ;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;; (setq diary-file "~/diary");; ??????? (setq diary-mail-addr "getmails@163.com") (add-hook 'diary-hook 'appt-make-list) ;;???????'~/diary'?????????calendar?????????????????????????? ? ;; d ????????????? ;; s ??????????????????? ;; ?????????? ;; 02/11/1989 ;; Bill B. visits Princeton today ;; 2pm Cognitive Studies Committee meeting ;; 2:30-5:30 Liz at Lawrenceville ;; 4:00pm Dentist appt ;; 7:30pm Dinner at George's ;; 8:00-10:00pm concert ;; ???????? ;; i d ??????????? ;; i w ??????????? ;; i m ??????????? ;; i y ??????????? ;; i a ?????????????? ;; i c ????????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ?????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ???lisp??? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;=======================???????====================== ;; (add-to-list 'load-path "~/lisp/wubi/wubi") ;; (require 'wubi) ;; (register-input-method "chinese-wubi" "Chinese-GB" 'quail-use-package "wubi" "wubi") ;; (wubi-load-local-phrases) ;; (setq default-input-method "chinese-wubi") ;;???Lisp?????????????????????????.emacs??????emacs? ;;???????????????????C-\ ????? Ctrl????????????????? ;;?emacs?mode line????“????”???? ;=======================?????????=================== ;======================= cscope ?? ======================= ;;?? cscope ?????,??xcscope??????????????????? buffer ? ;;????????????? (add-to-list 'load-path "~/lisp/xcscope") ;; ??????????? EMACS ? load-path (require 'xcscope) ;; ??????? ;; C-c s a ??????????????????? ;; C-s s I ?????????????????? ;; C-c s s ???? ;; C-c s g ??????? ;; C-c s c ?????????????? ;; C-c s C ????????????? ;; C-c s e ??????? ;; C-c s f ???? ;; C-c s i ????????????include ;===================== cscope ???? ====================== ;======================== tabbar?? ======================== (add-to-list 'load-path "~/lisp/tabbar") (require 'tabbar) (tabbar-mode) ;========================tabbar????======================= ;======================= wb-line-number?? ================== ;;?????????buffer ;(add-to-list 'load-path "~/lisp/wb-line-number") ;(require 'wb-line-number) ;(wb-line-number-enable) ;====================== wb-line-number???? ================ ;======================= setnu?? ============================ ;;???????????? (add-to-list 'load-path "~/lisp/setnu") (require 'setnu) (global-set-key [f2] (quote setnu-mode)) ;======================= setnu???? ????================= ;====================== rect-mark?? ========================= ;; ??shift???????????? ;; Support for marking a rectangle of text with highlighting. (add-to-list 'load-path "~/lisp/rect-mark") (require 'rect-mark) (define-key ctl-x-map "r\C-@" 'rm-set-mark) (define-key ctl-x-map [?r ?\C-\ ] 'rm-set-mark) (define-key ctl-x-map "r\C-x" 'rm-exchange-point-and-mark) (define-key ctl-x-map "r\C-w" 'rm-kill-region) (define-key ctl-x-map "r\M-w" 'rm-kill-ring-save) (define-key global-map [S-down-mouse-1] 'rm-mouse-drag-region) (autoload 'rm-set-mark "rect-mark" "Set mark for rectangle." t) (autoload 'rm-exchange-point-and-mark "rect-mark" "Exchange point and mark for rectangle." t) (autoload 'rm-kill-region "rect-mark" "Kill a rectangular region and save it in the kill ring." t) (autoload 'rm-kill-ring-save "rect-mark" "Copy a rectangular region to the kill ring." t) (autoload 'rm-mouse-drag-region "rect-mark" "Drag out a rectangular region with the mouse." t) ;; Use this section in your "~/.emacs" to modify picture mode so that ;; it automatically uses the rect-mark equivalents of many commands. ;; One vision of a better picture mode. (add-hook 'picture-mode-hook 'rm-example-picture-mode-bindings) (autoload 'rm-example-picture-mode-bindings "rect-mark" "Example rect-mark key and mouse bindings for picture mode.") ;===================== rect-mark???? ========================= ;===================== info???? ============================== ;;Info ????? Info-directory-list ???????? Info-directory-list ???? info ? ;;?Info-default-directory-list ?????????? Info ?????? Info-default-directory-list? ;;???? Info ????????? dir ???????? Info-directory-list ?????????? ;;? ${emacs}/info ??????????????????? (add-to-list 'Info-default-directory-list "~/lisp/info/") ;; n?????????????? ;; p?????????????? ;; m: ??????????????? ;; f?????????? ;; l??????????????? ;; TAB????????????????? ;; RET????????????? ;; u????????? ;; d??? info ???????? ;; h??? info ??? ;; q??? info? ;=================== info?????? ============================ ;===================== AUCTeX?? ================================= (load "~/lisp/auctex/site-lisp/auctex.el" nil t t) (load "~/lisp/auctex/site-lisp/preview-latex.el" nil t t) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (add-hook 'LaTeX-mode-hook #'LaTeX-install-toolbar) (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ;===================== AUCTeX???? ============================= ;===================== ???header?? =========================== ;;??????????,???????????.????????, ??????, ;??????????. ??????,????????,??????,???????????. ;;??? M-x make-header ?????????. (add-to-list 'load-path "~/lisp/header") (require 'header) (setq make-header-hooks '(header-mode-line header-blank header-file-name header-blank header-copyright header-blank header-author header-creation-date header-modification-author header-modification-date header-update-count header-blank header-history header-blank )) (setq header-copyright-notice " ????? ??" ) (make-local-variable 'user-full-name) (make-local-variable 'user-mail-address) ;===================== ???header???? ========================== ;===================== template?? ================================= (add-to-list 'load-path "~/lisp/template") (require 'template) (template-initialize) ;===================== template????=============================== ;===================== cedet?? ===================================== (add-to-list 'load-path "~/lisp/cedet-1.0pre3/speedbar") (add-to-list 'load-path "~/lisp/cedet-1.0pre3/eieio") (add-to-list 'load-path "~/lisp/cedet-1.0pre3/semantic") (add-to-list 'load-path "~/lisp/cedet-1.0pre3/common") (require 'cedet) ;; (add-to-list 'load-path "~/lisp/ecb-2.32") ;; (require 'ecb) ;; Ecb???: ;; C-c . g d ?????? ;; C-c . g s ???? ;; C-c . g m ??????? ;; C-c . g h ???? ;; C-c . g l ?????????? ;; C-c . g 1 ????1 ;; C-c . g n ????n ;; C-c . l c ???? ;; C-c . l r ???? ;; C-c . l t ????(????) ;; C-c . l w ?????ecb?? ;; C-c . \ ?????? ;; ??l?????(L),?????!! ;======================cedet????================================== ;;;;;;;;;;;;;;;;;;;;;;;;;; ???lisp????? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;===================== GNUS?? ================================= (setq gnus-select-method '(nntp "news.yaako.com")) (setq gnus-default-subscribed-newsgroups '( "cn.comp.os.linux")) ;; ;; (add-to-list 'gnus-secondary-select-methods '(nntp "news.yourSecondProvider.net")) ;; (add-to-list 'gnus-secondary-select-methods '(nntp "news.yourThirdProvider.net")) ;;?? Gnus ??????????? ;;???? (set-language-environment 'Chinese-GB) (setq gnus-default-charset 'chinese-iso-8bit gnus-group-name-charset-group-alist '((".*" . chinese-iso-8bit)) gnus-summary-show-article-charset-alist '((1 . chinese-iso-8bit) (2 . gbk) (3 . big5) (4 . utf-8)) gnus-newsgroup-ignored-charsets '(unknown-8bit x-unknown iso-8859-1)) (setq mail-sources '((pop :server "pop3.163.com" ;; ?????pop3??? :user "66656799" ;; ??? ;; :port "110" :password "wcmwlw"))) ;; ?? (setq gnus-secondary-select-methods '((nnfolder ""))) (setq user-full-name "getmails") ;; ??????????? (setq user-mail-address "getmails@163.com") ;;??????????? (setq smtpmail-auth-credentials '(("smtp.163.com" ;; SMTP??? 25 "getmails" ;; ??? "wcmwlw"))) ;; ?? (setq smtpmail-default-smtp-server "smtp.163.com") (setq smtpmail-smtp-server "smtp.163.com") (setq message-send-mail-function 'smtpmail-send-it) (setq nnmail-expiry-wait 3);;Gnus ???????7??????????????????? (add-hook 'gnus-article-prepare-hook (lambda () (setq fill-column 60) (gnus-article-fill-long-lines))) ;;?gnus????????????????? (add-hook 'gnus-article-prepare-hook 'gnus-article-date-local) ;;??????????????? (gnus-add-configuration '(article (vertical 1.0 (summary .4 point) (article 1.0)))) ;; ???????????????????4?6???? (eval-after-load "mm-decode" '(progn (add-to-list 'mm-discouraged-alternatives "text/html") (add-to-list 'mm-discouraged-alternatives "text/richtext"))) ;??????web?????????html?????????????? ;plain text??? (setq gnus-thread-sort-functions '( (not gnus-thread-sort-by-date) (not gnus-thread-sort-by-number) )) ;;?? (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) ;; ??????????????????????????????????? (setq gnus-read-newsrc-file nil gnus-save-newsrc-file nil) ;======================== GNUS???? =============================== ;;=========================== ?????????===================================== (setq compile-command "make") ;;emacs???compile?????make -k???????make???????????????gcc???. ;;?c???????k&r?? (add-hook 'c-mode-hook '(lambda () (c-set-style "k&r"))) ;;?C++???????stroustrup?? (add-hook 'c++-mode-hook '(lambda() (c-set-style "stroustrup"))) ;======================================================================== (load-library "hideshow") (add-hook 'c-mode-hook 'hs-minor-mode) (add-hook 'c++-mode-hook 'hs-minor-mode) (add-hook 'java-mode-hook 'hs-minor-mode) (add-hook 'perl-mode-hook 'hs-minor-mode) (add-hook 'php-mode-hook 'hs-minor-mode) (add-hook 'emacs-lisp-mode-hook 'hs-minor-mode) ;;??????????????????? ;; M-x hs-minor-mode ;; C-c @ ESC C-s show all ;; C-c @ ESC C-h hide all ;; C-c @ C-s show block ;; C-c @ C-h hide block ;; C-c @ C-c toggle hide/show ;======================================================================== (defun my-c-mode-auto-pair () (interactive) (make-local-variable 'skeleton-pair-alist) (setq skeleton-pair-alist '( (?` ?` _ "''") (?\( ? _ " )") (?\[ ? _ " ]") (?{ \n > _ \n ?} >))) (setq skeleton-pair t) (local-set-key (kbd "(") 'skeleton-pair-insert-maybe) (local-set-key (kbd "{") 'skeleton-pair-insert-maybe) (local-set-key (kbd "`") 'skeleton-pair-insert-maybe) (local-set-key (kbd "[") 'skeleton-pair-insert-maybe)) (add-hook 'c-mode-hook 'my-c-mode-auto-pair) (add-hook 'c++-mode-hook 'my-c-mode-auto-pair) ;;???????????????????.??(), "", [] , {} , ??? ;========================================================================= (setq semantic-load-turn-everything-on t) ;(add-hook 'semantic-init-hooks 'semantic-idle-completions-mode) (setq semanticdb-project-roots (list (expand-file-name "/"))) ;;??Semantic????? (setq semanticdb-default-save-directory "~/") ;;??semantic.cache?? (global-set-key [(meta ?/)] 'hippie-expand) ;;M-/ ??? hippie-expand (autoload 'senator-try-expand-semantic "senator") (setq hippie-expand-try-functions-list '(senator-try-expand-semantic ;?????senator????? try-expand-dabbrev ;???buffer?? try-expand-dabbrev-visible ;???????????? try-expand-dabbrev-all-buffers ;?????buffer try-expand-dabbrev-from-kill try-complete-file-name-partially try-complete-file-name try-expand-all-abbrevs try-expand-list try-expand-line try-complete-lisp-symbol-partially try-complete-lisp-symbol)) ;?? hippie-expand ??????????????? hippie-expand ???????????????? ;========================================================================= ;========================================================================== ;;========================== ??????????==================================== 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 " Netbeans 6.9 ???????2008-02-12 11:20???NetBeans?????????????netbeans?????etc/netbeans.conf????????? 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" ??????????????????ok? \\172.28.73.129\tools&drives&share\ALL\Citrix CITRIX MetaFrame XP Presentation Server ftp://ftp.citrix.com/metaXP/W2K3/FR3CD_MFXP10_WS2K3.exe ftp://ftp.citrix.com/meta_18a/sp3/SP3CD_MF18.exe ftp://ftp.citrix.com/meta_18a/sp3 http://www.qzcc.com/nalyc/down.htm public static char[] hexDigits = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; /** * @notes ?????????? * @param bytes * @return String */ public static String toHexString(byte[] bytes) { char[] chars = new char[bytes.length * 2]; for (int i = 0; i < bytes.length; i++) { int b = bytes[i]; chars[i * 2] = Util.hexDigits[(b & 0xF0) >> 4]; chars[i * 2 + 1] = Util.hexDigits[b & 0x0F]; } return new String(chars); } /** * @notes ?????????? * @param str * @return byte[] */ public static byte[] toByteArray(String str) { int length = str.length() / 2; byte[] bytes = new byte[length]; byte[] source = str.getBytes(); for (int i = 0; i < bytes.length; ++i) { byte bh = Byte.decode("0x" + new String(new byte[]{source[i * 2]})).byteValue(); bh = (byte)(bh << 4); byte bl = Byte.decode("0x" + new String(new byte[]{source[i * 2 + 1]})).byteValue(); bytes[i] = (byte)(bh ^ bl); } return bytes; } ================================================================================================== How to Learn Java & Get a Job in the Industry Getting Started So, you want to learn Java become a professional programmer? Well, here's how you do it... 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. 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. 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. DON’T: • 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. • 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. Next Steps 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. 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. You Wanna Get a Job? 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: • 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. • 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. • 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. • 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. 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. ====== UCS ====== Home: http://ucs.sourceforge.net/ download: http://sourceforge.net/projects/ucs/files/ucs/ucs%20v1.2.6/