码迷,mamicode.com
首页 > 其他好文
遥不可及的并非十年之后
遥不可及的并非十年之后,而是今天之前,,,
分类:其他好文   时间:2016-01-19 12:24:40    阅读次数:106
HDU-1520 Anniversary party
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
0.00-050613_ZC_Chapter4_20160119
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
第三方-激光推送2.1.0
1.首先创建一个类目#import "AppDelegate+JPush.h"#import "JPUSHService.h"#import "WJNotifier.h"//依赖文件static NSString *JIGUANG_PUSH_KEY = @"4cdcd543c073753fb8932...
分类:其他好文   时间:2016-01-19 12:23:34    阅读次数:425
242. Valid Anagram
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
HDU 1072
题意:给你一个迷宫,2代表你当前的位置,0代表墙,1代表可走的路,3代表出口,4代表的是炸弹的重置点,一开始炸弹的倒计时设置为6,每走一步时间减少1,倒计时到0的时候走到3或者4都不可以,问走出迷宫的最小步数,没有则输出-1.思路:dfs剪枝,这里的剪枝有点不一样,因为这里可以回溯的走,也就是可以走...
分类:其他好文   时间:2016-01-19 12:22:24    阅读次数:96
(十二)sendRedirect()和forward()方法的区别
httpServletResponse接口的sendRedirect()方法和RequestDispatcher接口的forward()方法都可以利用另外的资源(Servlet、JSP页面或HTLM文件)来为客户端进行服务,但是这两种方法有着本质上的区别。 下面分别给出了sendRedirectt(...
分类:其他好文   时间:2016-01-19 12:20:49    阅读次数:183
Tomcat普通用户部署教程(生产服务器)
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
GIt 解决冲突
1 同步工作空间 pull 。冲突解决了就add to index 。可以提交2 提交的时候报repository status conflict,需要add to index.
分类:其他好文   时间:2016-01-19 12:19:33    阅读次数:98
what is difference in (int)a,(int&)a,&a,int(&a) ?
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导入导出帮助类
/// /// Excel导入导出帮助类 /// 记得引入 NPOI /// 下载地址 http://npoi.codeplex.com/releases/ /// public class ExcelHelper { #region 导出Excel /// /// 导出Excel 注:mod...
分类:其他好文   时间:2016-01-19 12:19:55    阅读次数:168
(十)ServletContext
下面是对ServletContext的简单介绍。 /** * 标题: ServletContext * * 功能描述: * 1、一个ServletContext对象表示一个web应用程序的上下文,servlet容器在servlet初始化期间,向期传递ServletConfig对象, * 可以通过Se...
分类:其他好文   时间:2016-01-19 12:17:47    阅读次数:160
active-mq的使用
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
exports 和 module.exports 的区别
https://cnodejs.org/topic/5231a630101e574521e45ef8//一句话总结:exports是对module.exports的引用,require()返回的是 module.exports,导出非对象接口时用覆盖module.exports的方法,导出对象接口时...
分类:其他好文   时间:2016-01-19 12:16:27    阅读次数:101
OC——UIlabel text的常规应用
UILabel *downloader = [[UILabel alloc]init]; NSString *downloadCount = [[LibraryArr objectAtIndex:indexPath.row]objectForKey:@"downloadCou...
分类:其他好文   时间:2016-01-19 12:16:58    阅读次数:132
freemarker-按格式输出文件
使用步骤如下:pospCheck.ftl模板文件如下:${${dto.oWebSeqNum?default("")},${dto.transDate?default("")},${dto.diffType?default("")},${dto.frontStatus?default("")}2.pu...
分类:其他好文   时间:2016-01-19 12:14:23    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!