Thymeleaf文本及预算: 字面 文本文字:'one text','Another one!',... 号码文字:0,34,3.0,12.3,... 布尔文字:true,false 空字面: null 文字标记:one,sometext,main,... 文字操作: 字符串连接: + 文字替换: ...
分类:
其他好文 时间:
2018-12-24 16:29:25
阅读次数:
134
链接:https://ac.nowcoder.com/acm/contest/318/B 题目描述 IG牛逼!!! 众所周知,IG是英雄联盟S8世界总决赛冠军,夺冠之夜,数亿人为之欢呼! 赛后某百分百胜率退役ADC选手的某表情包意外走红,某苟会长看到此表情包也想模仿。 于是有n个友爱的萌新决定每人都 ...
分类:
其他好文 时间:
2018-12-24 02:53:26
阅读次数:
141
题目描述 一个整型数组里除了两个数字之外,其他的数字都出现了偶数次。请写程序找出这两个只出现一次的数字。 思路: 解法一: 哈希表 class Solution { public: void FindNumsAppearOnce(vector<int> data, int *num1, int *n ...
分类:
编程语言 时间:
2018-12-20 23:57:11
阅读次数:
356
题目描述 输入一个链表,输出该链表中倒数第k个结点。 题目解答 方法一: /* public class ListNode { int val; ListNode next = null; ListNode(int val) { this.val = val; } }*/ public class ...
分类:
其他好文 时间:
2018-12-19 23:25:39
阅读次数:
277
docker:负责image、container的管理 kubernetes负责service、deployment、pods、ingress的管理 docker history docker images docker image history ...
分类:
Web程序 时间:
2018-12-18 19:48:15
阅读次数:
458
一、maven常用的命令: mvn help:describe -Dplugin=插件名称 -Ddetail 例如:“mvn help:describe -Dplugin=jar -Ddetail” 展示的就是maven-jar-plugin插件的使用详情 ...
分类:
其他好文 时间:
2018-12-18 15:55:59
阅读次数:
146
Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N (1 ...
分类:
其他好文 时间:
2018-12-18 02:03:29
阅读次数:
223
题目描述 在一个字符串(0<=字符串长度<=10000,全部由字母组成)中找到第一个只出现一次的字符,并返回它的位置, 如果没有则返回 -1(需要区分大小写). 一次遍历存储到哈希表 一次遍历取Value为1的第一个字符的索引 class Solution { public: int FirstNo ...
分类:
其他好文 时间:
2018-12-17 02:13:29
阅读次数:
173
React 1.动态路由传参 <Route exact path="/detail/:id" component={Detail}/> <Route exact path="/detail/:id" component={Detail}/> 接收 componentDidMount() { cons ...
分类:
其他好文 时间:
2018-12-16 23:17:36
阅读次数:
170
一、Topic管理 1、创建topic 2、新增partition 注:topic一旦创建,partition只能增加,不能减少 3、删除topic 4、查看topic列表 5、查看topic详细信息 6、查看某个topic的message数量 二、consumer管理 1、查看consumer G ...
分类:
其他好文 时间:
2018-12-16 19:33:00
阅读次数:
207