问题如下:BUILD FAILEDD:\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:653: The following error occurred while executing this line:D:\adt-bund...
分类:
其他好文 时间:
2014-07-16 23:03:08
阅读次数:
195
使用不同版本的XCode出现的问题:fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache/XYZ...
分类:
移动开发 时间:
2014-07-16 22:58:17
阅读次数:
185
如下图,即使图片尺寸不规范,xcode5也可以正常预览(这里我提供的尺寸是57*57, 而需要的是120*120)但编译运行失败,报的错是:Images.xcassets: error: The app icon set named "AppIcon" did not have any applic...
分类:
其他好文 时间:
2014-07-16 22:57:46
阅读次数:
276
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
php5.3自带php-fpm/usr/local/php/etc/php-fpm.confpid=run/php-fpm.pidpid设置,默认在安装目录中的/var/run/php-fpm.pid,建议开启error_log=log/php-fpm.log错误日志,默认在安装目录中的/var/log/php-fpm.loglog_level=notice错误级别.可用级别为:alert(必须立即处理),er..
分类:
Web程序 时间:
2014-07-10 18:48:32
阅读次数:
363
有的时候需要使用本地的mail,来对外网发送邮件,需要定制mail的smtp服务器。bin/mail会默认使用本地sendmail发送邮件,这样要求本地的机器必须安装和启动Sendmail服务,配置非常麻烦,而且会带来不必要的资源占用。而通过修改配置文件可以使用外部SMTP服务器,可以达到不使用s..
分类:
其他好文 时间:
2014-07-10 18:26:48
阅读次数:
248
我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘test‘,port=3306)
cur=conn.cursor()
cur.execute(‘select*fromuser‘)
cur.close()
conn.close()
exceptMySQLdb.Error,e..
分类:
数据库 时间:
2014-07-10 18:20:40
阅读次数:
282
提示bind()错误=10048原因:其他程序占用飞鸽的2425端口比如:飞秋也是使用2425端口解决:用netstat命令查看是哪个进程占用了该端口格式:netstat-ano|find"2425"结果:UDP0.0.0.0:2425*:*1716最后的1716就是占用2425进程的进程ID,看看是什么,可以结束的直接结束该进程,再打..
分类:
其他好文 时间:
2014-07-10 18:08:23
阅读次数:
332
1keepalived配置文件!ConfigurationFileforkeepalivedglobal_defs{#notification_email{#acassen@firewall.loc#failover@firewall.loc#sysadmin@firewall.loc#}#notification_email_fromAlexandre.Cassen@firewall.loc#smtp_server192.168.200.1#smtp_connect_timeout30router_..
分类:
其他好文 时间:
2014-07-10 18:06:21
阅读次数:
296
优化innodb_log_file_size参数调整后报错InnoDB:Error:logfile./ib_logfile0isofdifferentsize05242880bytes解决办法:删除/usr/local/mysql/var/ib_logfile0和ib_logfile1后重启
分类:
数据库 时间:
2014-07-10 17:50:54
阅读次数:
257