@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class, RestController.class})) 前言 springboot ...
分类:
其他好文 时间:
2021-01-22 12:28:51
阅读次数:
0
1 jwt:重点(跟语言,框架无关) -json web token -cookie:客户端浏览器上的键值对,数据不安全 -session:服务端的键值对(内存,数据库,redis,文件),安全,对服务端压力大 -token:三段:头.荷载.签名 -header(公司信息,加密方式。。。) -pay ...
分类:
其他好文 时间:
2021-01-22 12:13:35
阅读次数:
0
整体分发流程 Android Input Framework 这篇详细讲解了触摸事件从硬件分发到Activity之前的过程。 graph TD; a(Input Hardware)-->b(Kernel/Driver); b-->c(EventHub); c-->d(InputReader); d- ...
分类:
移动开发 时间:
2021-01-22 12:02:30
阅读次数:
0
原文链接:https://www.jianshu.com/p/b9fab528dd6b 1、安装openssh-server sudo apt-get install openssh-server 2、开机自动启动ssh命令 sudo systemctl enable ssh 3、关闭ssh开机自动 ...
分类:
系统相关 时间:
2021-01-21 10:31:03
阅读次数:
0
官方题解:https://leetcode-cn.com/problems/number-of-provinces/solution/sheng-fen-shu-liang-by-leetcode-solution-eyk0/ 547. 省份数量 有 n 个城市,其中一些彼此相连,另一些没有相连。如 ...
分类:
其他好文 时间:
2021-01-20 12:14:19
阅读次数:
0
题目: Monocarp had a sequence a consisting of n+m integers a1,a2,…,an+m. He painted the elements into two colors, red and blue; n elements were painted ...
分类:
其他好文 时间:
2021-01-20 12:13:42
阅读次数:
0
剑指 Offer 42. 连续子数组的最大和 输入一个整型数组,数组中的一个或连续多个整数组成一个子数组。求所有子数组的和的最大值。 要求时间复杂度为O(n)。 示例1: 输入: nums = [-2,1,-3,4,-1,2,1,-5,4] 输出: 6 解释: 连续子数组 [4,-1,2,1] 的和 ...
分类:
编程语言 时间:
2021-01-19 12:21:08
阅读次数:
0
需要实现三个方法: build(input_shape):定义你自己权重的地方,需要设置self.built=True.你可以通过调用super([Layer],self).build()来实现 call(x):定义层逻辑的地方。除非你需要支持mask,否则你只需要关系传递给call的第一个参数 c ...
分类:
其他好文 时间:
2021-01-19 11:46:49
阅读次数:
0
参考: https://oi-wiki.org/ds/li-chao-tree/ 例题: P4097 [HEOI2013]Segment #include<bits/stdc++.h> #define db double const int p=39989; using namespace std; ...
分类:
其他好文 时间:
2021-01-18 11:39:35
阅读次数:
0
2、第一个Mybatis程序 思路:搭建环境 >导入Mybatis >编写代码 >测试! 2.1、搭建环境 搭建数据库 CREATE DATABASE `mybatis`; USE `mybatis`; CREATE TABLE `user`( `id` INT(20) NOT NULL PRIMA ...
分类:
其他好文 时间:
2021-01-18 11:37:37
阅读次数:
0