模式说明当一个对象的内在状态改变时允许改变其行为,这个对象看起来像是改变了其类。模式结构图程序示例说明:程序员一天不同时刻的状态代码:import timeclass IState(object): def work(self): passclass Programer(obje...
分类:
其他好文 时间:
2014-08-25 18:27:15
阅读次数:
259
window7 jdk1.6.0_14 Solr-4.7.2tomcat-6.0.37Solr的安装配置Solr home ,主要介绍基于JNDI的配置,其它方式可以参考Solr的wiki。基于JNDI配置1:首先建立一个Solr的运行目录。C:\solr-tomcat将解压缩包中的D:\work....
分类:
其他好文 时间:
2014-08-24 05:29:24
阅读次数:
321
DartsTime Limit:1000MSMemory Limit:65536KTotal Submissions:58Accepted:32Special JudgeDescriptionAfter a long week of work at the ICPC Headquarters, Bi...
分类:
其他好文 时间:
2014-08-24 01:30:21
阅读次数:
215
主页: http://www.zhornsoftware.co.uk/stickies/index.htmlStickies work like Post-it notes for your PC. Notes can be customized and saved as styles, inclu...
/*
很明显的最大权闭合图题
*/
#include
#include
#include
using namespace std;
#define N 2100
#define inf 0x3fffffff
struct node {
int u,v,w,next;
}bian[N*N*20];
int head[N],yong,dis[N],work[N];
void init(){
yong=...
分类:
其他好文 时间:
2014-08-23 16:51:11
阅读次数:
251
WINDOWS环境下的解决方法: 1: 下载sqlite3数据库工具,放置于SVN的同级目录 2: CMD路径转移到Sqlite3目录 3: 残留操作选择:sqlite3 .svn/wc.db "select * from work_queue" 4: 残留操作删除:sqlite3 .svn...
分类:
数据库 时间:
2014-08-22 23:50:49
阅读次数:
461
1 Sap的更新的类型在sap中,可以使用CALL FUNCTION ... IN UPDATE TASK将多个数据更新绑定到一个database LUW中。程序使用COMMIT WORK提交修改请求。在sap中将更新分四种类型:1.1Asynchronous Update(异步更新):在这种情况,...
分类:
其他好文 时间:
2014-08-22 22:23:49
阅读次数:
3996
//来自潘神的优化
#include
#include
#include
using namespace std;
#define inf 0x3fffffff
#define N 1100
struct node {
int u,v,w,next;
}bian[N*N*4];
int head[N],yong,dis[N],work[N];
void init(){
yong=0;
memset...
分类:
其他好文 时间:
2014-08-21 21:13:14
阅读次数:
238
here are aLCD (Liquid Crystal Display)onEzreal's arm. TheLCDis composed ofliquid crystal, and theLCDis16lines and48rows.How did it work?TheCPUwill sen...
分类:
其他好文 时间:
2014-08-21 18:36:34
阅读次数:
200
目录 一、介绍 二、渲染引擎 三、解析与DOM树构建 四、渲染树构建 五、布局 六、绘制 七、动态变化 八、渲染引擎的线程 九、CSS2可视模型 英文原文:How Browsers Work: Behind the Scenes of Modern Web Browsers 一、介绍 浏览器可以被认...
分类:
其他好文 时间:
2014-08-21 16:50:24
阅读次数:
291