源码基于SpringBoot 2.4.4 1、认识配置文件 1.1 配置文件的加载 创建SpringBoot项目的时候,会自动创建一个application.properties文件,该文件是SpringBoot默认的配置文件。 SpringBoot在启动的时候会默认去寻找并加载applicatio ...
分类:
移动开发 时间:
2021-06-19 19:25:15
阅读次数:
0
题目: 给定一个包含 n + 1 个整数的数组 nums ,其数字都在 1 到 n 之间(包括 1和 n),可知至少存在一个重复的整数。 思路: 将数字放入hash的key中,看map是否包含key (一)代码 究竟究竟 ...
分类:
其他好文 时间:
2021-06-19 19:22:17
阅读次数:
0
C语言 #define NULL ((void *)0) // Definition for singly-linked list. struct ListNode { int val; struct ListNode *next; }; struct ListNode *getIntersecti ...
分类:
编程语言 时间:
2021-06-19 19:18:10
阅读次数:
0
解决移动端1px边框问题的几种方法 1、边框粗细原因 在移动端下设置border为1px,在某些设备上看比1px粗。 这些由于不同的手机有不同的像素密度。在window对象中有一个devicePixelRatio属性,他可以反应css中的像素与设备的像素比。 devicePixelRatio的官方的 ...
分类:
移动开发 时间:
2021-06-19 19:16:33
阅读次数:
0
对象处理流:ObjectInputStream和ObjectOutputStream OjectInputStream和ObjectOuputStream使用案例 序列化: package com.model.io.outputstream.objectoutputstream; import co ...
分类:
编程语言 时间:
2021-06-19 19:06:05
阅读次数:
0
# -*- coding:utf-8 -*- import requests import datetime import time import threading ''' allow_redirects = False禁止重定向,添加在request参数后 get请求用params传参 post ...
分类:
编程语言 时间:
2021-06-19 19:04:02
阅读次数:
0
本节讲述了elementui tree 可拖拽节点的使用 通过 draggable 属性可让节点变为可拖拽。 allow-drop判定目标节点能否被放置。allow-drop是個函数类型的属性 Function(draggingNode, dropNode, type) draggingNode当前 ...
支付接口并发 需求:对支付接口做并发,验证账户金额的扣款(-)冻结(+),然后把执行结果写到一个日志文件 # @Time : '2021-6-19 07:58' # @Author : 'pc.kang' import time,json,requests from threading import ...
分类:
其他好文 时间:
2021-06-19 19:00:28
阅读次数:
0
问题: 1 error: failed to push some refs to 2 hint: Updates were rejected because the tip of your current branch is behind 3 hint: its remote counterpart ...
分类:
其他好文 时间:
2021-06-19 18:56:51
阅读次数:
0
线性回归 房价预测 跟着李沐的动手学深度学习,跟着写了一遍房价预测的处理和预测,加了一些注释,同时稍微改动了一些地方 import hashlib import os import tarfile import zipfile import requests DATA_HUB = dict() DA ...
分类:
其他好文 时间:
2021-06-19 18:54:00
阅读次数:
0