摘要:
XeLatex\usepackage{fontspec}\setmainfont{WenQuanYi Zen Hei Mono} 阅读全文
摘要:
sudo ln -s -t /usr/bin /opt/eclipse/eclipse 关于ln创建链接的说明如下: ln [参数] [目标] [链接名] 创建指向指定目标的链接,链接名可选 ln [参数] [目标] 在当前目录创建和目标名一样的链接 ln [参数] [目标] 目录 ln [参数] -t 目录 [目标] 在指定目录中分别创建指向每一个目标的链接 参数: -f 强制删除任何已经存在的目标文件 -s 创建符号链... 阅读全文
摘要:
1.Apachesudo apt-get install apache22.phpsudo apt-get install php5sudo apt-get install php5-mysqlsudo apt-get install php5-curl3.Apache权限chown -R www-data:www-data /var/www4.添加远程Mysql用户grant all privileges on *.* to 创建的用户名 @"%" identified by "密码";flush privileges; * 刷新刚才的内容*5.重启A 阅读全文
摘要:
1. Random pick N lines of a file shuf -n N X > Y 2. Simple Server python -m SimpleHTTPServer 7777 阅读全文