修改以下三个配置文件数据库连接信息安装目录/config/config_global.php安装目录/config/config_ucenter.php安装目录/ucent/data/config.inc.php
分类:
数据库 时间:
2014-06-13 00:58:35
阅读次数:
330
1.HttpSessionContextIntegrationFilter位于过滤器顶端,第一个起作用的过滤器。用途一,在执行其他过滤器之前,率先判断用户的session中是否已经存在一个SecurityContext了。如果存在,就把SecurityContext拿出来,放到SecurityCon...
分类:
编程语言 时间:
2014-06-13 00:01:20
阅读次数:
313
SUMMARY OF THE INVENTION The present invention
pertains to a write combining buffer for use in a microprocessor. The
microprocessor fetches data and i...
分类:
其他好文 时间:
2014-06-12 23:38:04
阅读次数:
435
首先创建MemCached 缓存管理类,此代码测试需要添加
java_memcached-release_2.6.3.jar,commons-pool-1.5.6.jar,slf4j-api-1.6.1.jar,slf4j-simple-1.6.1.jar
这几个jar包import java.ut...
分类:
编程语言 时间:
2014-06-12 22:02:01
阅读次数:
492
时间紧张,先记一笔,后续优化与完善。解决的问题:
使用GSON和泛型解析约定格式的JSON串。背景介绍: 1.使用GSON来进行JSON串与java代码的互相转换。 2.JSON的格式如下三种:
写道#第一种:{"success":true,"data":{"averageStar...
分类:
Web程序 时间:
2014-06-12 19:28:10
阅读次数:
322
今天用spring3.2.5搭建了基本的环境,spring出的太快了,前段时间才3.2.5,今儿个一瞧已经上了4的版本了,稍后给出spring的jar下载地址,毕竟现在官网上找不到了埃废话少说了,spring3.2.5已经将所有的依赖包都放在了dist的lib下面,并且都有doc包和源码包,很是方便。先导入所..
分类:
编程语言 时间:
2014-06-10 23:18:07
阅读次数:
261
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;///<summary>///DBOperate的摘要说明///</summary>publicclassDBOperate{privatestaticSqlConnectioncon=..
分类:
数据库 时间:
2014-06-10 23:15:36
阅读次数:
314
pg_data_t数据结构2.6.37这个数据结构用于非一致内存访问(NUMA)机器,表示比zone更高层次的内存区。关于NUMA的文章http://www.ibm.com/developerworks/cn/linux/l-numa/http://blog.chinaunix.net/uid-7295895-id-3076420.htmlNUMA有多个节点,而每个节点内,访问内存的时间是..
分类:
系统相关 时间:
2014-06-10 22:28:45
阅读次数:
478
vimsendmail.pl
#!/usr/bin/perl-w
useMIME::Lite;
subperl_sendmail{
my$mail_to=shift;
#my$mail_to="$_[0]";
my$from=shift;
#my$from="$_[1]";
my$subject=shift;
#my$subject="$_[2]";
my$data=shift;
#my$data="$_[3]";
$sendmail=MIME::Lite->new(
From=>$from,..
分类:
其他好文 时间:
2014-06-10 18:50:19
阅读次数:
310
///url:地址 data:数据 public static string
GetContentFromUrl(string url, string data) { Socket socket = new
Socket(AddressFamily.InterNetwor...
分类:
其他好文 时间:
2014-06-10 16:28:19
阅读次数:
170