-bash: warning: setlocale: LC_CTYPE: cannot change locale (EN_US.UTF-8)把linux系统从中文设置英文字符集后发生以下报错首先本系统字符集为中文UTF-8[root@localhost ~]# more /etc/sysconf....
分类:
系统相关 时间:
2014-09-25 23:15:07
阅读次数:
280
1 2 3 1234564 @section MasterPart{"/Home/About"}5 XML节点中有小数点怎么办?怎么引用它的xpath呢?在百度没找到答案,于是google:how to deal with xml node name includedot?Get it!其实很简.....
分类:
其他好文 时间:
2014-09-25 11:46:39
阅读次数:
551
App::error(function($exception, $code) { switch ($code) { case 403: return Response::view('errors.403', array(), 403); case 404: return Response::view...
分类:
其他好文 时间:
2014-09-24 16:18:57
阅读次数:
210
刚才添加一个chardet模块,安装后IDE可引用,使用正常,但在Eclipse中import chardet报错。解决方法:在Eclipse的window->preference->PyDev->Interpreter-Python中,libraries标签下,点击New Egg/Zip(s),然...
分类:
编程语言 时间:
2014-09-23 20:28:35
阅读次数:
169
windows首先需要安装curl32位系统安装地址:http://home.arcor.de/skanthak/download/curl-7.38.0.cab64位系统安装地址:http://curl.haxx.se/download/curl-7.33.0-win64-ssl-sspi.zip...
分类:
其他好文 时间:
2014-09-23 12:38:14
阅读次数:
226
config\database.php里读写分离:'mysql' => array( 'read' => array( 'host' => '192.168.1.1', ), 'write' => array( 'host' => '196.168.1....
分类:
数据库 时间:
2014-09-22 12:30:02
阅读次数:
1678
报错:Use of undeclared identifier '_executing' / '_finished';解决方法:在SDWebImageDownloaderOperation类的实现中(@implementation里)添加:1 @synthesize executing = _exe...
分类:
Web程序 时间:
2014-09-21 22:43:01
阅读次数:
1443
报错:Use of undeclared identifier '_executing' / '_finished';解决方法:在SDWebImageDownloaderOperation类的实现中(@implementation里)添加:@synthesize executing = _executing ;
@synthesize finished = _finished;即可。...
分类:
Web程序 时间:
2014-09-20 20:34:27
阅读次数:
249
开始使用laravel在此之前我们需要修改一些配置:app/config/app.php 文件中的 debug 选项设置为 true (注:开启开发模式,更友好的开发提示);app/config/database.php 文件中的 default 选项设置为 sqlite (注:我们之前选择 sql...
分类:
其他好文 时间:
2014-09-20 18:56:49
阅读次数:
308