下面就从 HTTPS 证书申请、网站 HTTPS 的配置、HTTP 重定向到 HTTPS 三个方面教你将一个 SpringBoot 网站升级为安全的 HTTPS。证书申请目前国内提供免费 HTTPS 证书的云服务商并不多,一向不大方的腾讯这次倒是很大方,腾讯云提供了免费的亚洲诚信品牌免费型 DV 版 ...
分类:
编程语言 时间:
2019-05-08 14:45:40
阅读次数:
201
A: Unique Paths II Medium A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move eit ...
分类:
其他好文 时间:
2019-05-05 23:40:11
阅读次数:
184
A:Rotate Image Medium You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the ...
分类:
其他好文 时间:
2019-05-05 23:39:41
阅读次数:
170
A:Merge Intervals Medium Given a collection of intervals, merge all overlapping intervals. 解析:对给定的一个对象集合进行处理,将对象集合中存在交集的对象进行合并,行成一个新的集合 思路:优先将对象集合进行处理 ...
分类:
其他好文 时间:
2019-05-05 23:17:14
阅读次数:
175
A:Add Two Numbers Medium You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and e ...
分类:
其他好文 时间:
2019-05-05 23:10:38
阅读次数:
153
这个题目有两种做法, note: 注意head.random有可能是None的情况 1. S: O(n) create一个dictionary,然后先建dictionary和copy list以及next指针。然后再一遍,去建random指针。 2: S: O(1) 利用如下图所示的结构,然后再将c ...
分类:
其他好文 时间:
2019-05-04 11:55:30
阅读次数:
110
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the ...
分类:
其他好文 时间:
2019-05-02 11:38:39
阅读次数:
102
2^x mod n = 1 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20711 Accepted Submission(s): 6500 ...
分类:
其他好文 时间:
2019-05-02 00:32:57
阅读次数:
154
自带测试类源代码:publicclassTestFan{publicstaticvoidmain(String[]args){Fano1=newFan();Fano2=newFan();o1.setspeed(o1.FAST);o1.setradius(10);o1.setcolor("yellow");o1.seton(true);o2.setspeed(o1.MEDIUM);o2.setrad
分类:
编程语言 时间:
2019-04-30 09:17:55
阅读次数:
174
本周review的文章是:https://medium.com/@hakibenita/optimizing-django-admin-paginator-53c4eb6bfca3 改篇文章的题目是:Optimizing Django Admin Paginator,How we finally m ...
分类:
其他好文 时间:
2019-04-27 19:45:59
阅读次数:
177