My Computers

1. My Home Desktop

1.1. Hardware

1.2. Software

Operating System Ubuntu Linux 8.10 Intrepid Ibex Microsoft Windows XP
Usage More than 99.99% Less than 0.01% (Exclusive for gaming only)
Main Uses Surf websites; Check e-mails; Write programs; Watch movies; etc. Play games only for Windows (and don't run on Wine or VirtualBox)
Firewall Protected by NAT behind a modem router
Anti-Virus (Not required) AVG Anti-Virus Free
Defragmentation (Not required) Windows Disk Defragmenter
Web Browser Firefox IE
Office Suite Open Office; Gnumeric (Not used here)
Image Manipulation GIMP (Not used here)

1.3. Various Configurations

~/.emacs

My current favorite:

;; Colors
(set-foreground-color "white")
(set-background-color "black")
(set-mouse-color "lightgreen")
(set-border-color "blue")
(set-cursor-color "yellow")

;; Tabbing
; Don't use tab if possible!
(setq-default indent-tabs-mode nil)
; Sometimes tabs are unavoidable, such as editing Makefile. Set the width.
(setq-default tab-width 4)

;; Extra mappings from file extensions to major modes
(add-to-list 'auto-mode-alist '(".tpl'" . html-mode))

;; Miscellaneous
(load-library "php-mode")

;; Syntax Highlighting
; Turn on the font-lock (minor) mode whenever it's supported
;(when (fboundp 'global-font-lock-mode)
;  (global-font-lock-mode t))

;; Selections
;(setq transient-mark-mode t)

;; Enable all features in the 'mule-ucs' package
;(require 'un-define)
~/.bashrc

I like to add the following lines:

# (Already in the default .bashrc, just need to uncomment these:)
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# Useful environment variables
export PS1='[u@h A w]$ '
export PATH=$PATH:/sbin:/usr/sbin:$HOME/local/bin
export EDITOR=vi

export HISTTIMEFORMAT="%Y-%m-%d %H:%M "
export HISTFILESIZE=100000
export HISTSIZE=100000

export PATH=$PATH:./
~/.bash_aliases
alias cp='cp -i'
alias rm='rm -i'
alias mv='mv -i'
alias emacs='emacs -font 9x15'
~/.mplayer/config
# Display
subcp=utf-8
font=/usr/share/fonts/truetype/arphic/ukai.ttc
utf8=yes
subfont-autoscale=2
subfont-osd-scale=2
subfont-text-scale=3
sub-fuzziness=1
# Miscellaneous
idx=1