星期一, 1月 30, 2012

關於中研院的IPv6 tunnel broker

這幾天DNS好像有些不太穩定。所以把IP記下來以備萬一。
bogus-office@bogus-office:~$ host tb2.ipv6.ascc.net
tb2.ipv6.ascc.net has address 202.169.175.27
tb2.ipv6.ascc.net has IPv6 address 2001:c08:7f:2::175:27

星期五, 8月 27, 2010

網誌重新啟動。

在安裝各種Linux系統的時候,重新設定是件麻煩的事,為了這件事情所以重新啟動。

星期二, 4月 22, 2008

Hmmm...

No spam comments Allowed...
This blog is 暫時 Suspended

星期二, 8月 28, 2007

bashrc

在換系統的時候不會漏掉漂亮的指令列
shopt -s checkwinsize

# Enable history appending instead of overwriting. #139609
shopt -s histappend

# Change the window title of X terminals
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac

use_color=false

# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$([[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true

if ${use_color} ; then
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi

if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi

alias ls='ls --color=auto'
alias grep='grep --colour=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors
PS1='\u@\h \W \$ '
else
PS1='\u@\h \w \$ '
fi
fi

Gentoo make.conf

在重裝之前,稍做紀錄
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
SYNC="rsync://ftp.isu.edu.tw/gentoo-portage"
GENTOO_MIRRORS="ftp://ftp.isu.edu.tw/pub/Linux/Gentoo/"
VIDEO_CARDS="nvidia nv"
USE="esd gnutls socks5 firefox bzip2 sse sse2 mmx mmxext X gtk opengl jpeg tiff svg gnome truetype sqlite alsa samba png cjk hal dbus qt3 qt4 qt"
LINGUAS="zh_TW ja zh_CN"
source /usr/portage/local/layman/make.conf

星期五, 8月 03, 2007

AnnouceMent

徹底廢棄...
XD

星期四, 2月 15, 2007

星期二, 6月 21, 2005

沒有意義

到現在我才知道 這世界是如此的無意義 但是更糟糕的是 在做了之後才曉得!