06 2014 档案

mysql 5.5 编码设置为utf8 转载自:http://outofcontrol.ca/thoughts/comments/change-mysql-5.5-default-character-set-to-utf8
摘要:Change MySQL 5.5 default character-set to UTF8连接里是linux下的在window下my.iniAdd under [client]the following code snippet:loose-default-character-set = utf8... 阅读全文

posted @ 2014-06-26 16:30 wensky 阅读(226) 评论(0) 推荐(0)

mysql 设置密码
摘要: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' 阅读全文

posted @ 2014-06-26 14:55 wensky 阅读(162) 评论(0) 推荐(0)

将CHROME WEBSTORE里的APPS和扩展下载到本地 转载自:http://ro-oo.diandian.com/post/2011-05-28/1103036
摘要:Chrome Webstore 自动改版后就不能再直接下载到本地...下载地址:https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D【把这里改成Apps的ID】%26uc%26lang%3Dzh-CN&pr... 阅读全文

posted @ 2014-06-26 11:03 wensky 阅读(219) 评论(0) 推荐(0)

php 的一个异常处理程序
摘要:'."[SHUTDOWN] lvl:" . $lasterror['type'] . " | msg:" . $lasterror['message'] . " | file:" . $lasterror['file'] . " | ln:" . $lasterror['line']."\n"; ... 阅读全文

posted @ 2014-06-21 17:42 wensky 阅读(193) 评论(0) 推荐(0)

asp.net mvc(模式)和三层架构(BLL、DAL、Model)的联系与区别 转载自:http://blog.csdn.net/luoyeyu1989/article/details/8275866
摘要:首先,MVC和三层架构,是不一样的。 三层架构中,DAL(数据访问层)、BLL(业务逻辑层)、WEB层各司其职,意在职责分离。 MVC是 Model-View-Controller,严格说这三个加起来以后才是三层架构中的WEB层,也就是说,MVC把三层架构中的WEB层再度进行了分化,分成了控制器... 阅读全文

posted @ 2014-06-15 09:51 wensky 阅读(298) 评论(0) 推荐(0)

忽略已经跟踪的文件
摘要:git update-index --assume-unchanged 一次只能指定一个文件 阅读全文

posted @ 2014-06-12 16:28 wensky 阅读(119) 评论(0) 推荐(0)

Force git to overwrite local files on pull 使用pull强制覆盖本地文件 转载自:http://snowdream.blog.51cto.com/3027865/1102441
摘要: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... 阅读全文

posted @ 2014-06-12 16:14 wensky 阅读(462) 评论(0) 推荐(0)

git python
摘要:http://www.liaoxuefeng.com/ 阅读全文

posted @ 2014-06-11 18:26 wensky 阅读(199) 评论(0) 推荐(0)

Git Status 中文乱码解决 转载自:http://blog.crhan.com/2012/09/git-status-中文乱码解决/
摘要:只要一行就行了git config --global core.quotepath false 阅读全文

posted @ 2014-06-11 14:18 wensky 阅读(130) 评论(0) 推荐(0)

vim 编码
摘要:。VIM 还有一个很好的临时性的方法。像这样 :edit ++enc=big5 filename,就可以big5 编码方式打开一个文件了。保存时用 :w ++enc=big5 filename。big5 可以换成你机器上有的locale 中的任意一种。前提是你的机器能正常显示。祝用得开心! 阅读全文

posted @ 2014-06-10 14:32 wensky 阅读(128) 评论(0) 推荐(0)

中文录入问题 转载自:http://blog.csdn.net/ichsonx/article/details/8625925
摘要:2.1中文录入问题默认安装的msysgit的shell环境中无法输入中文,为了能在shell界面输入中文,需要修改配置文件/etc/inputrc,增加或修改相关配置如下:#disable/enable 8bit inputset meta-flag onset input-meta onset o... 阅读全文

posted @ 2014-06-07 15:20 wensky 阅读(147) 评论(0) 推荐(0)

导航