#Mac OS X
#Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" System | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Bundle 'gmarik/Vundle.vim' | |
"Github bundles | |
Bundle "tpope/vim-fugitive" | |
Bundle "tpope/vim-markdown" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html, | |
<style type="text/css"> | |
#e { | |
position:absolute; | |
top:0; | |
right:0; | |
bottom:0; | |
left:0; | |
font-size:14px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse | |
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse | |
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse | |
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse | |
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse | |
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "backup sources.list..." | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk | |
echo "wget new sources and write into sources.list" | |
sudo wget -c https://gist.github.com/fengluo/4754497/raw/ff5e00b83c9f785f1d75e0f98ff822c7ccd50e61/ubuntu-source-12.04 -O /etc/apt/sources.list | |
echo "update sources" | |
sudo apt-get update | |
sudo apt-get upgrade | |
echo "install packages..." | |
sudo apt-get install openssh-server curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This hook does two things: | |
# | |
# 1. update the "info" files that allow the list of references to be | |
# queries over dumb transports such as http | |
# | |
# 2. if this repository looks like it is a non-bare repository, and | |
# the checked-out branch is pushed to, then update the working copy. | |
# This makes "push" function somewhat similarly to darcs and bzr. |
#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
root /wordpress_path; | |
index index.html index.htm index.php; | |
# Make site accessible from http://localhost/ | |
server_name server_names; | |
client_max_body_size 10m; | |
# enforce www (exclude certain subdomains) |