首页 > 其他
freemarker生成word
freemarker生成word ???????? 利用freemarker生成word,在项目中有用到,就单独写个测试以及用法列出来,欢迎圈错,共同学习。 ? ????? 一、应用场景 ...
分类:其他   时间:2015-01-07 02:09:17    收藏:0  评论:0  赞:0  阅读:358
spark-1.2.0 集群环境搭建
1、下载scala2.11.4版本 下载地址为:http://www.scala-lang.org/download/2.11.4.html?,也可以使用wget?http://downloads.typesafe.com/scala/2.11.4/scala-2.11.4.tgz?_ga=1.248348352.61371242.1418807768? 2、解压和安装: 解压 :[spark@ ...
分类:其他   时间:2015-01-07 02:08:52    收藏:0  评论:0  赞:0  阅读:329
Mybatis解决属性名与字段名不一致
在开发的时候应该遇到这样的情况,数据库中的字段名与属性名不一致的情况,通常数据库中的字段命名时多个单词之间使用下划线连接在一起的,而在类中的属性名则多数是用驼峰标识的命名方式,我见过的大多数都是这样,那么使用mybatis该如果解决这一的问题呢?如下: 数据表: ? [html]?view plaincopy
分类:其他   时间:2015-01-07 02:07:37    收藏:0  评论:0  赞:0  阅读:371
TOMCAT调优
分类:其他   时间:2015-01-07 02:04:16    收藏:0  评论:0  赞:0  阅读:276
在同一台机器上安装多个版本jdk,修改环境变量不生效
分类:其他   时间:2015-01-07 02:02:37    收藏:0  评论:0  赞:0  阅读:274
nginx host
分类:其他   时间:2015-01-07 02:01:46    收藏:0  评论:0  赞:0  阅读:268
开源中国 2014 最受关注开源软件排行榜 TOP 50
分类:其他   时间:2015-01-07 02:01:21    收藏:0  评论:0  赞:0  阅读:467
我以为的函数式编程
函数式编程 函数式编程(functional programming)的思想相对于命令式编程(imperative programming),告诉计算机你要什么而不是告诉它要怎么做,举个例子: (defun fun(x) (list ‘a (expt (car x) 2))) 这是函...
分类:其他   时间:2015-01-07 01:53:37    收藏:0  评论:0  赞:0  阅读:288
poj 1492 Up and Down Sequences 模拟计数
水题,直接贴代码。 //poj 1492 //sep9 #include using namespace std; int a[64]; int n; void deal() { int up=0,down=0,upSum=0,downSum=0; int i,j; for(i=1;i<n;){ if(a[i]<a[i+1]){ ++up; for(j=i+1;j<=...
分类:其他   时间:2015-01-07 01:52:47    收藏:0  评论:0  赞:0  阅读:204
SharePoint 2013 开启访问请求 链接丢失
关于SharePoint 2013 开启访问请求的做法其实很简单,比如http://www.cnblogs.com/jianyus/archive/2014/06/21/3799386.html 这篇博客,可是很多我根本中不到相应的链接(我这里环境是sharepoint2013 Sp1), 如图: 在网上找了很久提示 需要配置传出电子邮件设置。 步骤如下: 进入管理中心-》系统设置-...
分类:其他   时间:2015-01-07 01:52:26    收藏:0  评论:0  赞:0  阅读:250
高效的把NSMutableArray变成NSArray
高效的把NSMutableArray变成NSArray 我们在方法内部可能会用NSMutableArray,但是返回的时候希望其他人不去改我们的Array...
分类:其他   时间:2015-01-07 01:51:56    收藏:0  评论:0  赞:0  阅读:274
安装11gR2 ASM单实例步骤
环境介绍: Platform:VisualBox 4.3.12 OS:Oracle Linux 5.8 Grid Infrastructure:11.2.0.3 Database:11.2.0.3 一、安装操作系统(略) 二、配置软件安装环境 --安装完以后先配置一个本地yum cd /etc/yum....
分类:其他   时间:2015-01-07 01:51:37    收藏:0  评论:0  赞:0  阅读:451
Construct Binary Tree from Inorder and Postorder Traversal
原题如下; Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 题意很简单:根据中序遍历和后序遍历的序列生成树 思路很简单:根据后序遍历的序列确定根节点,在中序遍历中找到根节点,将原来的序列分为左右两个部分,递归解决左右两个部分就可以解决这个问题。 Java代码如下: publ...
分类:其他   时间:2015-01-07 01:51:07    收藏:0  评论:0  赞:0  阅读:273
迎战下周自考数据结构实践科目
编写完成重点数据结构和算法: 0.链表 1.栈 2.队列 3.二叉树数据结构和构建 4.前序中序后序遍历二叉树 5.构建哈夫曼树(最优二叉树) 6.图数据结构,图的深度优先遍历和广度优先遍历 7.拓扑排序 8.直接插入排序 9.希尔排序 10.希尔排序 11.冒泡排序 12.快速排序 13.直接选择...
分类:其他   时间:2015-01-07 01:49:16    收藏:0  评论:0  赞:0  阅读:301
[LeetCode#23]Merge k Sorted Lists
The problem:Sort a linked list inO(nlogn) time using constant space complexity.My analysis:The is problem could be elegantly solved by using merge.The...
分类:其他   时间:2015-01-07 01:49:06    收藏:0  评论:0  赞:0  阅读:212
10.2资料下载备忘录
SDK下载,需要登录https://developers.arcgis.com/en/downloads/SP下载http://support.esri.com/en/downloads/patches-servicepacks/list/productid/160
分类:其他   时间:2015-01-07 01:48:16    收藏:0  评论:0  赞:0  阅读:282
document.body.scrollTop用法
网页可见区域宽: document.body.clientWidth;网页可见区域高: document.body.clientHeight;网页可见区域宽:document.body.offsetWidth(包括边线的宽);网页可见区域高:document.body.offsetHeight(包括...
分类:其他   时间:2015-01-07 01:48:06    收藏:0  评论:0  赞:0  阅读:272
Unable to find 'struts.multipart.saveDir' property setting.
当使用导入Excel文件时,myeclipse后台出现如下错误时: Unable to find 'struts.multipart.saveDir' property setting. 解决:今天在做工作的时候遇到了这个问题,后来经过百度,终于知道了原因,现在记录下来,以备以后查看。1.stru....
分类:其他   时间:2015-01-07 01:48:00    收藏:0  评论:0  赞:0  阅读:331
taglist and nerdtree
函数:function! s:Tlist_Window_Exit_Only_Window()中的winbunr(2)改为winbunr(3),即只剩2个窗口时关闭,考虑到2个窗口肯定是同时存在,所以这样还是可行的: 1 function! s:Tlist_Window_Exit_Only_Windo...
分类:其他   时间:2015-01-07 01:47:36    收藏:0  评论:0  赞:0  阅读:289
poi excel文件的导入
使用poi来实现excel文件的导入导出。使用struts2来做处理。首先看jsp页面:index.jsp: 导入数据 --> ...
分类:其他   时间:2015-01-07 01:47:16    收藏:0  评论:0  赞:0  阅读:182
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!