前言: 各位同学大家好,因为晚上睡不着 就起来给大家写了一个小案例 demo(Flutter 毛玻璃效果案例实现),希望能帮助到各位同学学习,那么废话不多说我们正式开始 准备工作 : 需要安装flutter的开发环境:大家可以去看看之前的教程: 1 win系统flutter开发环境安装教程: htt ...
分类:
其他好文 时间:
2020-10-09 20:47:37
阅读次数:
26
字符串方法 String subString(int begin)截取字符串,开始索引; 字符串方法 String subString(int begin,int end)截取字符串,开始索引,结束索引;【包含开始不包含结束】 public static void main(String[] arg ...
分类:
其他好文 时间:
2020-10-08 18:59:06
阅读次数:
21
启动无法启动MySQL首先查看/etc/init.d/是否有mysqld或其他mysql程序没有的话到安装目录bin目录内找相关程序复制到/etc/init.d/或者用systemctlenablemysqld&&systemctlstartmysqld检查端口ss-lnt|grep3306检查进程ps-ef|grepmysql|grep-vgrep启动基本原理/etc/init.
分类:
数据库 时间:
2020-10-08 18:53:11
阅读次数:
30
class Employee(models.Model): name = models.CharField(max_length=16) age = models.IntegerField() salary = models.IntegerField() province = models.Char ...
分类:
数据库 时间:
2020-10-08 18:23:38
阅读次数:
19
题目 有个非负整数集合$S$,大小为$m$。 接下来会有$n$个询问,每次询问对于一个数列,给出$a_0,a_1,k$,递推式为$a_{i+2}=ka_{i+1}+a_i$,$\max_{x\in S} a_x$为多少。 \(n\le 3*10^5\) \(m\le 10^5\) 比赛的时候直接推通 ...
分类:
其他好文 时间:
2020-10-07 21:46:28
阅读次数:
40
##问题描述 给出一个区间的集合,请合并所有重叠的区间。 示例 1: 输入: intervals = [[1,3],[2,6],[8,10],[15,18]] 输出: [[1,6],[8,10],[15,18]] 解释: 区间 [1,3] 和 [2,6] 重叠, 将它们合并为 [1,6]. 示例 2 ...
分类:
其他好文 时间:
2020-10-07 21:44:46
阅读次数:
36
数据库链接池大小的计算 查看数据库链接池大小 show variables like '%max_connections%'; 设置数据库链接池大小 set GLOBAL max_connections = 10; 简单测试 Siege 介绍 Siege是一个压力测试和评测工具,设计用于WEB开发这 ...
分类:
数据库 时间:
2020-10-07 21:24:16
阅读次数:
30
MySQL 2006-MySQLserver has gone away MySQL 2006-MySQLserver has gone away 方式一(验证无误): 找到 mysql安装目录下的my.ini配置文件,加入以下代码: max_allowed_packet=2048M wait_ti ...
分类:
数据库 时间:
2020-10-06 21:23:44
阅读次数:
56
#include <iostream> #include <string> #define MAX 500 using namespace std; struct person { string name; int age; }; struct contact { person persons[MA ...
分类:
编程语言 时间:
2020-10-05 22:33:17
阅读次数:
48
高并发涉及多个技术层面,今天主要讲IIS和服务器环境如何配置高并发: IIS配置: 进入应用程序池,右边点击高级配置 常规-队列长度改为65535 进程模型-闲置超时设置为0 回收-固定时间间隔改为0 http.sys注册表配置: reg add HKLM\System\CurrentControl ...
分类:
其他好文 时间:
2020-10-05 22:21:42
阅读次数:
32