1 22 23 24 25 26 27 故障信息28 {% module Uptime() %}29 30 31 32 33 {% if lists != [] %}34 35 {% end %}36 37 {% for d in lists %...
分类:
Web程序 时间:
2014-07-10 12:19:55
阅读次数:
150
var myApp = angular.module('myApp', []);//service style, probably the simplest onemyApp.service('helloWorldFromService', function() { this.sayHello...
分类:
其他好文 时间:
2014-07-10 11:35:35
阅读次数:
390
最近刚刚接手同事的OpenResty的项目,发现对mysql,redis的操作没有用连接池,故对此进行了改造。MYSQL主要是通过mysql_pool.lua 和 dbutil.lua 来封装对数据库的操作mysql_pool.lua: 1 module("mysql_pool", package....
分类:
数据库 时间:
2014-07-07 21:44:07
阅读次数:
591
myeclipse6.0 下载地址。官方下载地址: http://www.myeclipseide.com/module-htmlpages-display-pid-4.html本地快速下载地址: http://www.rosebush.cn/blog/html/23/t-7423.html htt...
分类:
系统相关 时间:
2014-07-07 17:55:31
阅读次数:
194
在MTF的encoding中,主要就是把要encode的string和symbol table比较,将对应的index保存并把相同的值放到symbol table的最前头。eg: string = caaabaa... symbol table = 0123abcd...则要得到:c0123ab.....
分类:
其他好文 时间:
2014-07-07 17:31:13
阅读次数:
220
今天要用yum安装软件,于是yum install ***,但是报错,错误如下:There was a problem importing one of the Python modules required to run yum. The error leading to this problem...
分类:
其他好文 时间:
2014-07-07 14:55:42
阅读次数:
350
module.exports = function(grunt){ // 项目配置 grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { option...
分类:
其他好文 时间:
2014-06-30 15:24:10
阅读次数:
215
maven多module项目中,单元测试代码千万不能引入其他module的测试代码,否则在执行测试时就会出现NoClassDefFoundError: net/csdn/blog/chaijunkun/util/BaseTest。奇怪的是引入公共单元的src/main/java代码都能正常加载。本文详细介绍了重现问题的过程和解决办法。...
分类:
其他好文 时间:
2014-06-30 08:43:59
阅读次数:
715
使用Heroku,需要将locale设置为zh_CN,而不是zh-CN
我想大概是因为在application.rb中,config.i18n.default_locale默认接受的值是Symbol, 而当我们用zh-CN的时候,不得不用双引号括起来,
但是实际Rails读取的时候,可能直接使用 :zh-CN这样的标志,所以会出现以下错误提示
ActionView::Template::Er...
分类:
其他好文 时间:
2014-06-29 22:46:25
阅读次数:
312