元注释:就是注释的注释元数据:就是数据的数据不同的注释会在不用的时期发挥作用,RetentionPolicy.SOURCE,RetentionPolicy.CLASS,RetentionPolicy.RUNTIME,分别 的是java中的源文件,class文件,内存中的字节码Override和Sup...
分类:
其他好文 时间:
2014-07-22 22:51:55
阅读次数:
175
项目框架 SpringMVC+Hibernate 开发工具 Myeclipse10 报错代码(下图): 检查项目发现出现问题的原因:配置文件有问题,少配置了一个字段,下面红色注释部分。 <fields> a.id,a.title,a.author,a.content,a.source,...
分类:
编程语言 时间:
2014-07-22 08:28:36
阅读次数:
295
这里我的系统是Ubuntu14.04 LTS 安装RVM 和 Ruby 运行:?curl -sSL https://get.rvm.io | bash -s stable --ruby 如果没有 curl 就安装下, 命令: sudo apt-get install curl 安装Rails 运行: sudo gem install ra...
分类:
数据库 时间:
2014-07-21 10:31:47
阅读次数:
296
最近在做Android Audio方面的工作,有需求是在调节Volume_Up_Key & Volume_Down_key时,Spearker or Headset每音阶的衰减变为3db左右。所以利用Source Insight分析Android源码中音量控制的流程,如有错误,欢迎指正,谢谢! .....
分类:
移动开发 时间:
2014-07-21 08:34:02
阅读次数:
388
nginx负载均衡tomcat并且实现反向代理依赖的软件包提前安装到/local驱动器里1.gzipmodulerequireszliblibrary2.rewritemodulerequirespcrelibrary3.sslsupportrequiresopenssllibrary4.nginx下载源码包1.wgethttp://www.openssl.org/source/openssl-1.0.0l.tar.gz2.wgetftp://f..
分类:
数据库 时间:
2014-07-20 15:33:31
阅读次数:
318
在Eclipse中开发android的应用程序时,有时想查看函数的内部实现,但是当在函数上点击ctrl和鼠标左键的时候,往往出现如下提示: Class File EditorSource not foundThe JAR of this class file belongs to container 'Android' which does not allow modifications to ...
分类:
移动开发 时间:
2014-07-20 11:42:00
阅读次数:
217
目的:利用shell脚本每小时检测数据库是否在运行,当检测到库宕掉时发邮件告警。
1.检查sendmail是否在运行
servicesendmailstatus
没有在运行则启动或安装。
如果是linux6,则检查postfix是否在运行servicepostfixstatus
2.pmon是oracle五大关键进程之一,如果pmon进..
分类:
其他好文 时间:
2014-07-20 10:36:28
阅读次数:
234
#!/bin/bash#初始化环境变量source.bash_profile#日志名中的固有日期格式f_name=`date+%Y%m%d`#日志的路径及名称log_file=/backup/db/rman/log/rman$f_name-0401.logecho$log_file#统计日志文件行数#line_num=`wc-l$log_file|awk‘{print$1}‘`#echo$line_num#如果日志文件不存在..
分类:
其他好文 时间:
2014-07-20 10:18:28
阅读次数:
304
一、什么是Grails?
Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:
其他好文 时间:
2014-07-19 23:18:40
阅读次数:
240
Mysql 查询执行过程 大致分为4个阶段吧:
语法分析(sql_parse.cc)
>>sql_resolver.cc # JOIN.prepare
生成逻辑查询plan(sql_optimizer.cc)
>># JOIN.optimize
生成物理查询plan(sql_planner.cc)
run the explain plan(sql_executor.cc...
分类:
数据库 时间:
2014-07-19 23:18:37
阅读次数:
335