先简单介绍下,下一次介绍正则表达式
regular expression(RE) grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包 括grep、egrep和fgrep。egrep和...
分类:
其他好文 时间:
2014-09-26 12:04:28
阅读次数:
129
String r = ""; ObjectMapper mapper = new ObjectMapper(); r = mapper.writeValueAsString(credential); ...
分类:
Web程序 时间:
2014-09-26 10:52:58
阅读次数:
155
通常在整个过程中,大多数人对Application_End()这个事件的疑问是最大的,因为如果您只是在VisualStudio上做的测试的话,关闭系统时,没有触发Application_End()事件,新的数据也就没有被写入到数据库中。那么Application_End()究竟在什么时候才会被触发呢 ?
想弄明白这个问题,需要将程序发布,这里以IIS为例,用IIS发布了程序之后运行,当想要触发Application_End()事件把最新的历史访问量写入到 数据库中时,需要在IIS中关闭此程序...
分类:
移动开发 时间:
2014-09-26 00:32:18
阅读次数:
238
在spring里使用org.mybatis.spring.mapper.MapperScannerConfigurer 进行自动扫描的时候,设置了sqlSessionFactory 的话,可能会导致PropertyPlaceholderConfigurer失效,也就是用${jdbc.username...
分类:
移动开发 时间:
2014-09-25 22:46:17
阅读次数:
258
#include #include #define LOG_PATH "c:\\NetBiosUtilDll.log"// Use global object to ensure initialization and release.class GlobalEnv{public: GlobalEn....
分类:
其他好文 时间:
2014-09-25 20:11:07
阅读次数:
220
据我目前接触到的传多个参数的方案有三种。
第一种方案
DAO层的函数方法
Public User selectUser(String name,String area);
对应的Mapper.xml
select * from user_user_t where user_name = #{0} and user_area=#{1}
其中,#{0}代表接收的...
分类:
其他好文 时间:
2014-09-25 16:28:49
阅读次数:
211
本文转自CSDN博客,http://blog.csdn.net/helifengwell/archive/2010/08/18/5820434.aspx1,先到Oracle站点下载Instant Client :http://www.oracle.com/technology/global/cn/s...
分类:
数据库 时间:
2014-09-25 12:13:18
阅读次数:
226
Call custom c++ from Luacocos2d-x lua binds c++ class, class functions ,enum and some global functions to lua through auto-binding by bindings-generat...
分类:
其他好文 时间:
2014-09-24 22:14:47
阅读次数:
236
例如想扩展/分区[root@mysqlmapper]#df-hFilesystemSizeUsedAvailUse%Mountedon/dev/mapper/vg_mysql-lv_root24G8.4G14G39%/tmpfs499M224K498M1%/dev/shm/dev/sda1485M35M426M8%/boot[root@mysqlmapper]#fdik-l查看可用的磁盘添加逻辑卷[root@mysqlmapper]#fdisk/dev/sdbWARNIN..
分类:
系统相关 时间:
2014-09-24 20:46:38
阅读次数:
437
通过show status命令了解各种SQL的执行频率MySQL客户端连接成功后,通过使用show [session|global] status 命令可以提供服务器状态信息;其中的session来表示当前的连接的统计结果,global来表示自数据库启动至今的统计结果,默认是session级别的。s...
分类:
数据库 时间:
2014-09-24 01:23:55
阅读次数:
330