- 博客(19)
- 资源 (1)
- 收藏
- 关注
原创 最新chromedriver版本支持的Chrome版本
下载chromedriver,链接:http://chromedriver.storage.googleapis.com/index.html----------ChromeDriver v2.41 (2018-07-27)----------Supports Chrome v67-69----------ChromeDriver v2.40 (2018-06-07)---------...
2018-08-03 09:30:16
4377
原创 leetcode1. Two Sum
https://leetcode.com/problems/two-sum/description/ public int[] twoSum(int[] nums, int target) { for (int i = 0; i<nums.length; i++){ for (int j = i+1; j<nums.length; j++){...
2018-07-24 15:08:32
279
原创 踩坑:springboot+freemarker 第二个参数丢失变为FreeMarker
一个用springboot+freemarker做的页面,发生了一件奇怪的事。页面出了问题后,自动第二次请求get,第一个参数保留,第二个参数被自动替换为FreeMarkerController的写法:@RequestMapping("content/{order}/{district}")public String getTravelPage(@PathVariable String orde...
2018-06-06 09:28:13
2566
原创 java 通过poi 读取Excel 写入sqlser mysql
1. 引用pom org.apache.poi poi 3.14 org.apache.poi poi-ooxml 3.14 2. 写函数读取的Excel目标表格
2017-08-01 11:06:11
817
原创 java 通过itext 创建pdf 添加,插入 表格,html格式
java 通过itext 创建pdf 添加,插入 表格,html格式
2017-07-27 14:49:54
11305
2
原创 程序员能力矩阵
http://static.icybear.net/%5BCN%5DProgrammer%20competency%20matrix.htm
2016-01-06 12:56:30
330
原创 ACM之1000
Description计算a加b。Input两个整数a和b,其中0≤a, b≤10。Output输出a与b的和。Sample Input: 1 2Sample Output: 3
2015-12-16 15:14:57
281
原创 shell的时间定义
Year=`date +%Y`echo 'Year='${Year}Month=`date +%m`echo 'Month='${Month}i=${Year}${Month}echo 'i=' ${i}CurrentMonthBeginDate=`date -d "${Year}/${Month}/01" +%Y-%m-%d`echo 'CurrentMonthBeg
2015-12-16 14:57:23
1682
原创 zeus之shell基本命令
输出话术echo "----------------------------------------"执行hive命令hive -e "。。"定义变量Year=`date +%Y`echo 'Year='${Year}month=`date +%m`echo 'month='${month}循环语句for((i=0;i{}done
2015-12-16 14:43:20
1600
原创 zeus之hive基本命令
查看分区信息show partitions tablename;查看建表信息desc tablename;删除表drop table if exists tablename;删除分区alter table tablename drop if existspartition (year='2015',month='09')创建表use tmp
2015-12-16 14:42:21
1019
原创 spring之quartz-Job自动调度
org.quartz这个包就是java用来处理Job任务的包。里面包含了很多内容:●Job:是一个接口,只有一个方法execute,开发者实现该接口定义的运行任务。public interface Job { void execute(JobExecutionContext var1) throws JobExecutionException;}●JobExecutionCo
2015-12-11 11:52:38
848
原创 JAVA配置文件之applicationContext.xml
applicationContext.xml是spring的配置文件1. component-scan Spring 容器初始化的时候,会扫描 com.application.business/ domain/ job下标有 (@Component,@Service,@Controller,@Repository) 注解的类纳入spring容器管理。context:compon
2015-12-10 17:25:22
2394
原创 cronExpression表达式
参考http://z3sm2012.iteye.com/blog/1736534如图: 字段 允许值 允许的特殊字符秒 0-59 , - * /分 0-59 , - * /
2015-12-10 16:54:16
382
原创 JAVA配置文件之web.xml
contextConfigLocation节点表示spring的配置文件context-param> param-name>contextConfigLocationparam-name> param-value>/WEB-INF/applicationContext.xmlparam-value>context-param>多个文件以逗号隔开:con
2015-12-10 15:29:46
321
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅