摘要:
1 #!/bin/sh 2 function scandir(){ 3 local cur_dir parent_dir workdir 4 workdir=$1 5 cd ${workdir} 6 if [ ${workdir} = "/" ] 7 then 8 cur_dir="" 9 else10 cur_dir=$(pwd)11 fi12 13 for dirlist in $(ls ${cur_dir})14 do15 if test -d ${dirlist};... 阅读全文
摘要:
离线安装1、下载插件包http://download.eclipsesource.com/~rsternberg/jshint-eclipse-0.9.8.20130728-0004-b94b446.zip2、解压缩后是一个jshint-eclipse-0.9.8.20130728-0004-b94b446文件夹,拷贝至一个web容器中,可以敲地址访问的例如:http://127.0.0.1/xx/jshint-eclipse-0.9.8.20130728-0004-b94b446 xx是项目名称,3、在Eclipse主菜单,点击: Help > Install New Software 阅读全文
摘要:
修改数据库的字符集 mysql>use mydb mysql>alter database mydb character set utf-8;创建数据库指定数据库的字符集 mysql>create database mydb character set utf-8;通过配置文件修改:修改/var/lib/mysql/mydb/db.optdefault-character-set=latin1default-collation=latin1_swedish_ci为default-character-set=utf8default-collation=utf8_general_ 阅读全文