Problem DescriptionThere is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical str...
分类:
其他好文 时间:
2016-01-19 12:21:26
阅读次数:
158
1、4.9.2 引导启动程序 boot.s“...,这个引导扇区程序仅能够加载长度不好过16个扇区的head代码,...”ZC: 一个扇区的大小是多大?搜索得到:1.1、http://zhidao.baidu.com/link?url=7ryDuAfb9plVmgG_ZLn9vrJRLwCOiSx7...
分类:
其他好文 时间:
2016-01-19 12:22:53
阅读次数:
117
1.首先创建一个类目#import "AppDelegate+JPush.h"#import "JPUSHService.h"#import "WJNotifier.h"//依赖文件static NSString *JIGUANG_PUSH_KEY = @"4cdcd543c073753fb8932...
分类:
其他好文 时间:
2016-01-19 12:23:34
阅读次数:
425
Valid AnagramGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t=...
分类:
其他好文 时间:
2016-01-19 12:22:53
阅读次数:
105
题意:给你一个迷宫,2代表你当前的位置,0代表墙,1代表可走的路,3代表出口,4代表的是炸弹的重置点,一开始炸弹的倒计时设置为6,每走一步时间减少1,倒计时到0的时候走到3或者4都不可以,问走出迷宫的最小步数,没有则输出-1.思路:dfs剪枝,这里的剪枝有点不一样,因为这里可以回溯的走,也就是可以走...
分类:
其他好文 时间:
2016-01-19 12:22:24
阅读次数:
96
httpServletResponse接口的sendRedirect()方法和RequestDispatcher接口的forward()方法都可以利用另外的资源(Servlet、JSP页面或HTLM文件)来为客户端进行服务,但是这两种方法有着本质上的区别。 下面分别给出了sendRedirectt(...
分类:
其他好文 时间:
2016-01-19 12:20:49
阅读次数:
183
1.环境准备JDK安装解压 tar xf tomcat-xx.tar.gz -C /data/soft cd /data/soft重命名 mv tomcat-xx tomcatTomcat安装解压 tar xf jdk-xxx.tar.gz -C /data/soft cd /data/soft重命...
分类:
其他好文 时间:
2016-01-19 12:20:20
阅读次数:
109
1 同步工作空间 pull 。冲突解决了就add to index 。可以提交2 提交的时候报repository status conflict,需要add to index.
分类:
其他好文 时间:
2016-01-19 12:19:33
阅读次数:
98
This interview question come from a famous communication firm of china. : ) 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 ...
分类:
其他好文 时间:
2016-01-19 12:19:53
阅读次数:
215
/// /// Excel导入导出帮助类 /// 记得引入 NPOI /// 下载地址 http://npoi.codeplex.com/releases/ /// public class ExcelHelper { #region 导出Excel /// /// 导出Excel 注:mod...
分类:
其他好文 时间:
2016-01-19 12:19:55
阅读次数:
168
下面是对ServletContext的简单介绍。 /** * 标题: ServletContext * * 功能描述: * 1、一个ServletContext对象表示一个web应用程序的上下文,servlet容器在servlet初始化期间,向期传递ServletConfig对象, * 可以通过Se...
分类:
其他好文 时间:
2016-01-19 12:17:47
阅读次数:
160
1.下载ActiveMQ去官方网站下载:http://activemq.apache.org/2.运行ActiveMQ解压缩apache-activemq-5.5.1-bin.zip,然后双击apache-activemq-5.5.1\bin\activemq.bat运行ActiveMQ程序。启动A...
分类:
其他好文 时间:
2016-01-19 12:16:42
阅读次数:
132
好的文章,总是担心消失,自己保存一遍,这里是原文向依赖关系宣战 依赖倒置、控制反转和依赖注入辨析在《道法自然——面向对象实践指南》一书中,我们采用了一个对立统一的辩证关系来说明“模板方法”模式—— “正向依赖 vs. 依赖倒置”(参见:《道法自然》第15章[王咏武, 王咏刚 2004])。这种把“好...
分类:
其他好文 时间:
2016-01-19 12:17:22
阅读次数:
215
https://cnodejs.org/topic/5231a630101e574521e45ef8//一句话总结:exports是对module.exports的引用,require()返回的是 module.exports,导出非对象接口时用覆盖module.exports的方法,导出对象接口时...
分类:
其他好文 时间:
2016-01-19 12:16:27
阅读次数:
101
UILabel *downloader = [[UILabel alloc]init]; NSString *downloadCount = [[LibraryArr objectAtIndex:indexPath.row]objectForKey:@"downloadCou...
分类:
其他好文 时间:
2016-01-19 12:16:58
阅读次数:
132
使用步骤如下:pospCheck.ftl模板文件如下:${${dto.oWebSeqNum?default("")},${dto.transDate?default("")},${dto.diffType?default("")},${dto.frontStatus?default("")}2.pu...
分类:
其他好文 时间:
2016-01-19 12:14:23
阅读次数:
206