项目环境:JDK8+maven3.0+MySQL 项目结构: pom.xml: web.xml: db.properties: log4j.properties: spring-dao.xml: spring-mvc.xml: SqlMapConfig.xml:mybatis配置文件,不可缺少。 重 ...
分类:
编程语言 时间:
2018-08-13 22:09:51
阅读次数:
169
A shipment of Nlogs, the main export product from Nlogonia, is in the harbour, in containers, readyto be shipped. All containers have the same dimensi ...
分类:
其他好文 时间:
2018-08-13 20:55:24
阅读次数:
134
$(function () { document.body.className = localStorage.getItem('config-skin'); $("[data-toggle='tooltip']").tooltip();})$.reload = function () { locat ...
分类:
Web程序 时间:
2018-08-13 12:06:24
阅读次数:
229
匿名分支 git checkout HEAD~ git checkout commit_ID *会创建匿名分支,可以在匿名分支里做实验性的操作 git log --decorate --oneline --graph --all 命令:git checkout HEAD~ README.md 命令: ...
分类:
其他好文 时间:
2018-08-12 21:46:46
阅读次数:
219
vim常用命令总结 (转) 在命令状态下对当前行用== (连按=两次), 或对多行用n==(n是自然数)表示自动缩进从当前行起的下面n行。你可以试试把代码缩进任意打乱再用n==排版,相当于一般IDE里的code format。使用gg=G可对整篇代码进行排版。 vim 选择文本,删除,复制,粘贴 文 ...
分类:
系统相关 时间:
2018-08-12 17:32:23
阅读次数:
197
反射 反射就是把java类中的各种成分映射成一个个的Java对象。 获取Class对象的三种方式 1. Object —— getClass(); 2. 任何数据类型(包括基本数据类型)都有一个“静态”的class属性。 3. 通过Class类的静态方法:forName(String classNa ...
分类:
编程语言 时间:
2018-08-12 17:13:23
阅读次数:
127
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 } is 1 ...
分类:
其他好文 时间:
2018-08-12 12:14:25
阅读次数:
135
1、字符串重排 时间限制:C/C++ 1秒,其他语言 2s 空间限制:C/C++ 32768K,其他语言 65536K 题目描述 给你一个原始字符串,根据该字符串内每个字符出现的次数,按照ASCII码递增顺序重新调整输出。举例!假设原始字符串为:eeefgghhh 则每种字符串出现的次数分别是:(1 ...
分类:
其他好文 时间:
2018-08-11 18:57:46
阅读次数:
197
15.电影投票:程序先给出几个目前正在上映的电影列表. 由用户给每个电影投票.最终将该用户投票信息公布出来 lst = ['北京遇上西雅图', '解救吴先生', '美国往事', '西西里的美丽传说']结果: {'北京遇上西雅图': 99, '解救吴先生': 80, '美国往事': 6, '西西里的美 ...
分类:
编程语言 时间:
2018-08-11 18:53:13
阅读次数:
165
先定义类: 银行卡类 class Card: def __init__(self,cid,pwd): ...
分类:
编程语言 时间:
2018-08-11 13:27:28
阅读次数:
259