FastAPI https://fastapi.tiangolo.com/#performance FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based ...
分类:
编程语言 时间:
2021-07-16 17:45:01
阅读次数:
0
递归遍历文件夹,对比文件md5 首先,需要引用 md5 的相关代码,参考这篇文章,防止链接内容被删除,这里再记录一次: md5.h #ifndef MD5_H #define MD5_H #include <string> #include <fstream> /* Type define */ t ...
分类:
编程语言 时间:
2021-07-16 17:44:14
阅读次数:
0
7.15Java之调用API接口传表单获取返回信息 实例 package GoogleTranslateAPI;?import com.alibaba.fastjson.JSON;import org.apache.http.HttpEntity;import org.apache.http.Nam ...
分类:
编程语言 时间:
2021-07-16 17:32:30
阅读次数:
0
1.if..else public int calculate(int a, int b, String operator) { int result = Integer.MIN_VALUE; if ("add".equals(operator)) { result = a + b; } else ...
分类:
其他好文 时间:
2021-07-15 18:58:38
阅读次数:
0
用malloc和free;类似与C++的new和delete 代码: #include <iostream> #include <string> using namespace std; int main(int argc, char* argv[]) { void* ptr = (void*)ma ...
分类:
编程语言 时间:
2021-07-15 18:57:44
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>标题</title> </head> <body> <script> /* 自定义对象({}),可以看成是python中的字典,但是js中的自定义对象要比pyt ...
分类:
Web程序 时间:
2021-07-14 18:51:37
阅读次数:
0
== equals是两种字符串的方式 区别 == 是比较两个对象的引用地址值 equals是比较两个对象的具体内容 示例 package com.oop.demo06; public class Demo01 { public static void main(String[] args) { St ...
分类:
其他好文 时间:
2021-07-14 18:50:51
阅读次数:
0
设置请求代理:.umirc中设置。可以将当前访问域名的请求转发到指定域名下。用于跨域代理开发,开发完后放入指定服务器中。 //请求代理 proxy: { '/api': { target: 'http://localhost:3000', changeOrigin: true, pathRewrit ...
分类:
Web程序 时间:
2021-07-14 18:40:58
阅读次数:
0
SpringBoot支持的缓存组件 在SpringBoot中,数据的缓存管理存储依赖于Spring框架中cache相关的org.springframework.cache.Cache和org.springframework.cache.CacheManager缓存管理器接口。 如果程序中没有定义类型 ...
分类:
编程语言 时间:
2021-07-12 18:18:45
阅读次数:
0
论枚举的正确使用方式 import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * @Description 论枚举类的正确使用方式 * @Author 踏步 * @Date 2021/7/11 1 ...
分类:
其他好文 时间:
2021-07-12 18:12:42
阅读次数:
0