Linux 命令之 find
0. man find
1. 查找当前目录下所有.jpg文件:
find . -name "*.jpg" -type f
注1: 可以使用Shell Pattern with * ? [
0. man find
1. 查找当前目录下所有.jpg文件:
find . -name "*.jpg" -type f
注1: 可以使用Shell Pattern with * ? [
1. 安装django, fastcgi, nginx
sudo apt-get install python-django python-flup nginx
2.根据自己的需求修改ngin
运行 manage.py syncdb 时出现下面的错误:
psycopg2.OperationalError: FATAL: Ident authentication failed for us
我的vps上用apt-get命令安装的postgreSQL不知道为什么encoding是ASCII的
这样创建的数据库也是ASCII的,这种编码当然没法用。
Google了下发现可以用这个
" use spaces instead of <tab>
set expandtab
colo evening
set hlsearch
" nubmer of spaces for