摘要:Change MySQL 5.5 default character-set to UTF8连接里是linux下的在window下my.iniAdd under [client]the following code snippet:loose-default-character-set = utf8...
阅读全文
摘要:You may need to set up a root account for your MySQL database:In the terminal type:mysqladmin -u root password 'root password goes here'
阅读全文
摘要:Chrome Webstore 自动改版后就不能再直接下载到本地...下载地址:https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D【把这里改成Apps的ID】%26uc%26lang%3Dzh-CN&pr...
阅读全文
摘要:'."[SHUTDOWN] lvl:" . $lasterror['type'] . " | msg:" . $lasterror['message'] . " | file:" . $lasterror['file'] . " | ln:" . $lasterror['line']."\n"; ...
阅读全文
摘要:首先,MVC和三层架构,是不一样的。 三层架构中,DAL(数据访问层)、BLL(业务逻辑层)、WEB层各司其职,意在职责分离。 MVC是 Model-View-Controller,严格说这三个加起来以后才是三层架构中的WEB层,也就是说,MVC把三层架构中的WEB层再度进行了分化,分成了控制器...
阅读全文
摘要:git update-index --assume-unchanged 一次只能指定一个文件
阅读全文
摘要:How do I force an overwrite of local files on a git pull?I think this is the right way:$ git fetch --all $ git reset --hard origin/master $ git fetch...
阅读全文
摘要:http://www.liaoxuefeng.com/
阅读全文
摘要:只要一行就行了git config --global core.quotepath false
阅读全文
摘要:。VIM 还有一个很好的临时性的方法。像这样 :edit ++enc=big5 filename,就可以big5 编码方式打开一个文件了。保存时用 :w ++enc=big5 filename。big5 可以换成你机器上有的locale 中的任意一种。前提是你的机器能正常显示。祝用得开心!
阅读全文
摘要:2.1中文录入问题默认安装的msysgit的shell环境中无法输入中文,为了能在shell界面输入中文,需要修改配置文件/etc/inputrc,增加或修改相关配置如下:#disable/enable 8bit inputset meta-flag onset input-meta onset o...
阅读全文