0.新建管理员账户
1.emacs配置文件
(setq default-tab-width 4)
(setq c-default-style "linux")
(setq c-basic-offset 4)
(global-linum-mode 1)
(add-hook 'c-mode-common-hook 'hs-minor-mode)
(global-set-key [f9] 'hs-toggle-hiding)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (tango-dark))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(require 'org)
(setq org-src-fontify-natively t)
(electric-indent-mode t)
;;(electric-pair-mode t)
(column-number-mode t)
(show-paren-mode t)
(setq c-default-style "linux")
(setq c-basic-offset 4)
(global-linum-mode 1)
(add-hook 'c-mode-common-hook 'hs-minor-mode)
(global-set-key [f9] 'hs-toggle-hiding)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (tango-dark))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(require 'org)
(setq org-src-fontify-natively t)
(electric-indent-mode t)
;;(electric-pair-mode t)
(column-number-mode t)
(show-paren-mode t)
2.python2,3 pip,pip3安装
3.quake安装
4.
easyinstall3
apt-get
aptitude
5.
对拍
while : do ./C >C.in ./A <C.in >A.out ./B <C.in >B.out if diff A.out B.out; then echo "AC" else echo "WA" break fi done
6.flash安装
7.aria2
8.
theme sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-get install flatabulous-theme icons sudo add-apt-repository ppa:noobslab/icons sudo apt-get update sudo apt-get install ultra-flat-icons