部署概述: 将代码上传至云服务器,使用python3 -m venv env 创建虚拟环境,使用source env/bin/active.. 激活虚拟环境, 通过pip install -r requirements.txt 文件安装模块,编写配置文件uwsgi(自己添加模块安装), 使用uwsg ...
分类:
其他好文 时间:
2020-05-18 16:29:02
阅读次数:
64
描述 Before bridges were common, ferries were used to transport cars across rivers. River ferries, unlike their larger cousins, run on a guide line and ...
分类:
其他好文 时间:
2020-05-18 14:16:55
阅读次数:
47
xlwings是一个BSD许可Python库,可以很容易地从Excel调用Python
分类:
编程语言 时间:
2020-05-18 10:43:37
阅读次数:
78
续上一篇:深度残差网络+自适应参数化ReLU激活函数(调参记录7)https://www.cnblogs.com/shisuzanian/p/12907617.html本文将层数设置得很少,只有两个残差模块,测试Adaptively Parametric ReLU(APReLU)激活函数在Cifar ...
分类:
其他好文 时间:
2020-05-18 01:09:52
阅读次数:
74
链接:https://leetcode-cn.com/explore/interview/card/bytedance/242/string/1014/ 代码: class Solution { public: string longestCommonPrefix(vector<string>& s ...
分类:
其他好文 时间:
2020-05-18 00:20:51
阅读次数:
72
1.简介 官网:https://mp.baomidou.com MyBatis-Plus(简称 MP)是一个 MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。 2.入门 2.1数据库准备 使用mysql数据库创建数据,执行脚本如下: create ...
分类:
其他好文 时间:
2020-05-17 21:45:04
阅读次数:
81
package com.example.demo; /** * 5413. 重新排列句子中的单词 * 显示英文描述 * 我的提交 * 返回竞赛 * <p> * 通过的用户数 * 1668 * 尝试过的用户数 * 2012 * 用户总通过次数 * 1678 * 用户总提交次数 * 3409 * 题目难 ...
分类:
其他好文 时间:
2020-05-17 13:34:13
阅读次数:
81
<script> //简单的封装一个ajax /** * ajax: async javascript and json * 主要用来实现前后端的数据交流 * A要发送一个信息给B * 请求当中需要有的基本信息 * 1.B的地址 * 2.请求方式 * 3.请求数据 * 4.状态码(B是否正常接收数据 ...
分类:
Web程序 时间:
2020-05-17 01:01:00
阅读次数:
62
function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr( ...
分类:
Web程序 时间:
2020-05-16 17:01:00
阅读次数:
73
<div id="demo">AAA</div> JS隐藏和显示div的方式有两种: 方式1:隐藏后释放占用的页面空间通过设置display属性可以使div隐藏后释放占用的页面空间.style="display: none;"document.getElementById("demo").style ...
分类:
Web程序 时间:
2020-05-16 16:40:25
阅读次数:
111