export PS1='\n\e[1;37m[\e[m\e[1;32m\u\e[m\e[1;33m@\e[m\e[1;35m\H\e[m \e[4m`pwd`\e[m\e[1;37m]\e[m\e[1;36m\e[m\n\$'
这个PS1的效果如下图所示:
StackOverflow Update: 560M Pageviews A Month, 25 Servers, And It's All About Performance
转载自 StackOverflow Update: 560M Pageviews A Month, 25 Servers, And It's All About Performance
The folks at Stack Overflow remain incredibly open about what they are doing and why. So it’s time for another update. What has Stack Overflow been up to?[......]
Windows下解压缩安装MySQL 5.6
1、下载
http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.20-winx64.zip
2、解压缩
3、配置
将my-default.ini复制为my.ini,并修改如下内容:
[mysqld]
basedir = D:\\soft\\mysql
datadir = D:\\soft\\mysql\\data
character_set_server=utf8
[client]
default-c[......]
Linux下实现类似SecureCRT的复制Session功能
在你的ssh客户端机器(例如从你的PC登录服务器,那么就是在你的PC上)
创建~/.ssh文件夹
mkdir ~/.ssh
cd ~/.ssh
vi config
# config的文件中,内容为:
host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
此后,第一次登录,还是要输入密码,第二次再打开一个终端登录,就不用再输入密码了!
[......]
Ubuntu下安装R
sudo add-apt-repository ppa:marutter/rrutter
sudo apt-get update sudo apt-get install r-base r-base-dev
执行
R
[......]