PHP程序缓存之文件缓存处理方式在开发程序过程中,缓存的设置大大提升程序效率,减小数据库负载。基本配置缓存和常规配置缓存基本配置缓存在项目开发中类似这样子的格式:文件:config.php$CFG['database'] = 'mysql';$CFG['pconnect'] = '0';$CFG['...
分类:
Web程序 时间:
2014-07-18 23:20:08
阅读次数:
368
一、认识Web.config文件Web.config 文件是一个XML文本文件,它用来储存 ASP.NET Web 应用程序的配置信息(如最常用的设置ASP.NET Web 应用程序的身份验证方式),它可以出现在应用程序的每一个目录中。当你通过.NET新建一个Web应用程序后,默认情况下...
分类:
Web程序 时间:
2014-07-18 19:09:24
阅读次数:
356
redmine发邮件设置1)使用http://bitnami.org/stack/redmine一键安装redmine (windows).2)修改下面的文件:D:\Bitnami\redmine-2.5.2-0\apps\redmine\htdocs\config\configuration.yml...production: email_delivery: delivery_metho...
分类:
其他好文 时间:
2014-07-18 17:04:01
阅读次数:
236
常见配置项'配置值''TMPL_L_DELIM'=>''}>',//修改右定界符(重点)'DB_PREFIX'=>'tp_',//设置数据库表前缀便于管理分类(重点)'DB_DSN'=>'mysql://root:@localhost:3306/thinkphp3',/*使用DSN配置链接数据库信息...
分类:
Web程序 时间:
2014-07-18 15:28:29
阅读次数:
2243
neutron-openvswitch-agent代码分析neutron.plugins.openvswitch.agent.ovs_neutron_agent:main# init ovs first by agent_config:# setup plugin_rpc, state_rpc, m...
分类:
其他好文 时间:
2014-07-18 00:28:37
阅读次数:
434
用例:f = os.popen("%s %s %s" % ("pkg-config", " ".join(args), mod))popen(...) popen(command [, mode='r' [, bufsize]]) -> pipe Open a pipe to/from a com....
分类:
编程语言 时间:
2014-07-18 00:00:03
阅读次数:
392
error1checkingforxml2-configpath...configure:error:xml2-confignotfound.Pleasecheckyourlibxml2installation.lib库没装先用yumsearch名字看是否能搜到名字,找到名字后把软件包开发包装上解决办法yuminstalllibxml2-devel.x86_64error2checkingforpkg-config.../usr/bin/pk..
分类:
Web程序 时间:
2014-07-17 19:37:54
阅读次数:
246
git 上传本地文件到github
1 git config --global user.name "Your Real Name"
2 git config --global user.email you@email.address
git init
git add .
git commit -m 'Test'
git re...
分类:
其他好文 时间:
2014-07-17 19:13:25
阅读次数:
222
执行到./configure--enable-shared一步时提示:checkinghostsystemtype...Invalidconfiguration`x86_64-unknown-linux-gnu‘:machine`x86_64-unknown‘notrecognized解决办法:cp/usr/share/libtool/config.guess.(覆盖到相关软件自带的config.guess,t1lib在解压包的ac-tools下)cp..
分类:
系统相关 时间:
2014-07-17 15:12:10
阅读次数:
260
grails:2.4.x
IDE:Intellij IDEA 13.x
grails的Domain对象之间如果存在环形引用,直接使用as JSON只会输出关联对象的id,并且如果使用deep也会报错且deep并不支持层级输出设置。达不到一些程序的使用需求。
所以自己在网上翻了很多资料,最终测试出一个比较简单可靠的方案:
1、在config.groovy中添加一句针对JSON转换的配置
g...
分类:
Web程序 时间:
2014-07-17 11:04:38
阅读次数:
353