JWT的工具类 加密解密工具 登录的接口 拦截器 博客参考: "https://www.jianshu.com/p/576dbf44b2ae" https://www.jianshu.com/p/a12fc67c9e05 https://blog.csdn.net/change_on/article ...
分类:
Web程序 时间:
2019-07-08 23:36:15
阅读次数:
154
2019-07-07 16:53:31 问题描述: 问题求解: 本题和n后问题很类似,所以最初的时候就直接套了n后的板子,MLE。 那么本题的核心就是如何降低空间复杂度了,如何做呢? 降低空间复杂度有两种常用的技巧: 1. 将数组转为HashMap,这样就可以在大量稀疏的数组中提取到有用的信息,避免 ...
分类:
其他好文 时间:
2019-07-07 17:16:05
阅读次数:
85
Given a text file file.txt, print just the 10th line of the file. Example: Assume that file.txt has the following content: Your script should output t ...
分类:
其他好文 时间:
2019-07-07 12:28:16
阅读次数:
87
Two sum这道题为Easy级别,看似简单,其实要想到使用HashMap不太容易。这题主要考察数组值与索引的灵活使用问题。 ...
分类:
其他好文 时间:
2019-07-05 00:30:53
阅读次数:
167
lt 小于, lte 小于等于exact 准确查找,不加双下划线相当于exactiexact 大小写不敏感contains 大小写敏感的icontains 大小写不敏感startwith, endwithin 在给定的列表中gt 大于,gte 大于等于range <–>between anddate ...
分类:
其他好文 时间:
2019-07-05 00:17:48
阅读次数:
151
报错如下: Expression 2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘sss.month_id’ which is not functionally dep ...
分类:
数据库 时间:
2019-07-03 13:44:23
阅读次数:
799
217. Contains Duplicate(存在重复元素) 链接: https://leetcode-cn.com/problems/contains-duplicate/ 题目: 给定一个整数数组,判断是否存在重复元素。 如果任何值在数组中出现至少两次,函数返回 true。如果数组中每个元素都 ...
分类:
其他好文 时间:
2019-07-03 10:42:48
阅读次数:
111
转自:https://www.haproxy.com/blog/using-haproxy-as-an-api-gateway-part-3-health-checks/ Achieving high availability rests on having good health checks. ...
List containsKey 和Map contains 判断集合中是否包含某个值 ...
分类:
其他好文 时间:
2019-07-02 00:40:41
阅读次数:
189
https://yarnpkg.com/lang/en/docs/install/#windows-stable Introduction Yarn is a package manager for your code. It allows you to use and share code wit ...
分类:
其他好文 时间:
2019-06-30 09:24:08
阅读次数:
114