# 四位验证码 """四位数验证码""" code="" for i in range(4): print(i) index = random.randrange(4) #0-3 中随机取一个数 if index != i and index + 1 != i: code +=chr(random. ...
分类:
编程语言 时间:
2021-06-20 18:07:43
阅读次数:
0
注:实例环境 vue cli构建的项目 app.vue <template> <Example></Example> </template> <script> import Example from './components/Example' export default { name: 'App ...
分类:
其他好文 时间:
2021-06-20 18:04:04
阅读次数:
0
创建 Nginx 容器 docker run --name nginx-demo -p 8080:80 -d nginx 参数说明: --name nginx-demo:容器名称 -p 8080:80: 端口进行映射,将本地 8080 端口映射到容器内部的 80 端口 -d nginx: 设置容器在 ...
分类:
其他好文 时间:
2021-06-20 17:51:22
阅读次数:
0
nginx 命令和信号 nginx命令 nginx 命令支持向其发送信号,实现不同功能 nginx 格式 nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives] 选项说明 帮助: -? -h 使用指定的配置文件: ...
分类:
Web程序 时间:
2021-06-20 17:47:57
阅读次数:
0
一,apt方式安装php 说明:用apt方式安装适用于本地开发环境,如果是线上生产环境,建议下载软件后编译安装 root@lhdpc:~# apt-get install php 查看结果: root@lhdpc:~# php -v PHP 7.4.16 (cli) (built: Mar 23 2 ...
分类:
数据库 时间:
2021-06-20 17:46:30
阅读次数:
0
平衡树入门——替罪羊树 1 简介 替罪羊树是一颗重量平衡树,不需要旋转,但是非常暴力,据说常数很小,但是我写的替罪羊树跑不过 Treap ,可能常数比较大。。。 2 数据结构解析 2.1 节点结构体 struct node{ int val,l,r,cnt,size,allsize,not_dele ...
分类:
其他好文 时间:
2021-06-20 17:42:23
阅读次数:
0
zookeepr入门 一、简介 zookeeper是一个开源的分布式的,为分布式应用提供协调服务的Apache项目。 1.1、Zookeeper工作机制: zookeeper从设计模式角度来理解:是一个基于观察者模式设计的分布式服务管理框架,他负责存储和管理大家都关心的数据,然后接收观察者的注册,一 ...
分类:
其他好文 时间:
2021-06-19 19:33:22
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0
自己开发了一个股票智能分析软件,功能很强大,需要的点击下面的链接获取: https://www.cnblogs.com/bclshuai/p/11380657.html 1.1 多层感知器MLP(multilayer perception) 1.1.1 多层感知器的结构 除了输入输出层,它中间可以有 ...
分类:
其他好文 时间:
2021-06-19 19:23:32
阅读次数:
0
目录 一.前言 二.Python set list dict tuple 区别 三.猜你喜欢 零基础 Python 学习路线推荐 : Python 学习目录 >> Python 基础入门 一.前言 Python 提供多种数据类型来存放数据项集合,主要包括序列(列表 list 和元组 tuple),映 ...
分类:
编程语言 时间:
2021-06-19 19:15:33
阅读次数:
0