前后端传输数据的编码格式(contentType) # 我们主要研究post请求数据的编码格式 """ get请求数据就是直接放在url后面的 url?username=jason&password=123 """ # 可以朝后端发送post请求的方式 """ 1.form表单 2.ajax请求 " ...
分类:
其他好文 时间:
2020-06-04 13:50:26
阅读次数:
59
实验内容: 在本次实验中,需要实现两个加密/解密系统,一个在密文分组链接模式(CBC)下使用AES,另一个在计数器模式(CTR)中使用AES。 实验环境: VS2019、C++、 Crypto++ 实验过程: 1、安装Crypto++ 1.1官网下载Crypto++ 官网地址:https://www ...
分类:
其他好文 时间:
2020-06-04 12:14:41
阅读次数:
97
# express## 简介 web开发应用## 下载 npm install express ## 中间件 中间件方法和请求处理函数 app.get('请求路径','处理函数'); app.post('请求路径','处理函数');## 处理get请求参数 req.query## 处理post请求参... ...
分类:
其他好文 时间:
2020-06-04 12:06:46
阅读次数:
110
https://www.toutiao.com/i6833366419619447308/?tt_from=weixin&utm_campaign=client_share&wxshare_count=1×tamp=1591169335&app=news_article&utm_sourc ...
分类:
其他好文 时间:
2020-06-04 10:47:51
阅读次数:
94
题目如下: Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Retur ...
分类:
其他好文 时间:
2020-06-04 10:33:57
阅读次数:
77
本文参考链接:https://blog.csdn.net/sinat_40692412/article/details/81200133 group by 分组 ,配合聚合函数使用 sum() count() avg()等等 having 对分组后的结果进行筛选 ORDER BY 最后对结果进行排序 ...
分类:
数据库 时间:
2020-06-04 00:48:31
阅读次数:
79
1.K近邻算法基础实例 1 import numpy as np 2 import matplotlib.pyplot as plt 3 4 raw_data_X=[[3.9,2.3], 5 [3.1,1.7], 6 [1.3,3.3], 7 [3.5,4.6], 8 [2.2,2.8], 9 [7 ...
分类:
编程语言 时间:
2020-06-03 23:16:38
阅读次数:
93
计数器效果可是说是content的重中之重, 此功能非常强大、实用, 且不具有可替代性, 甚至可以实现连js都不好实现的效果. 这个地方放慢节奏, 细细品味.先来个例子体验一下: .reset { counter-reset: w; } .counter:after { content: count ...
分类:
其他好文 时间:
2020-06-03 21:54:20
阅读次数:
60
微信授权使用的是OAuth2.0授权的方式。主要有以下步骤: 第一步:用户同意授权,获取code 第二步:通过code换取网页授权access_token 第三步:刷新access_token(如果需要) 第四步:拉取用户信息(需scope为 snsapi_userinfo) 请求授权页面的构造方式 ...
分类:
微信 时间:
2020-06-03 20:30:12
阅读次数:
254
今天看到有这样一个循环 int count = 0; for (int i = N; i > 0; i /= 2) { for (int j = 0; j < i; j++) { count += 1; } } 有人认为这个循环的时间复杂度应该是O(nlogn),但这是错的。 他认为,外层循环的时间 ...
分类:
其他好文 时间:
2020-06-03 17:25:08
阅读次数:
113