码迷,mamicode.com
首页 > 全部
[antd] Select标签设置默认值不展示
1 <FormItem 2 className={style.client} 3 name="client" 4 rules={[{ required: false }]} 5 label={ 6 <div className={style.label}> 7 <span>label</span>{ ...
分类:其他好文   时间:2020-12-16 11:42:08    阅读次数:3
[Bzoj1767][Ceoi2009]harbingers (树上斜率优化)
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int MAXN = 100005; struct node{ int pre, to, val; }edge[MAXN << 1]; int n, h ...
分类:其他好文   时间:2020-12-16 11:41:51    阅读次数:3
openlayers之添加Overlay 气泡标注动画 Demo (可直接运行)
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>overla ...
分类:其他好文   时间:2020-12-16 11:41:34    阅读次数:3
django 上传和下载文件
##上传文件#setting配置 UPLOAD_ROOT = os.path.join(BASE_DIR,'upload') order_number = lambda : int(round(time.time()* 1000*1000)) ##避免重复文件 if fp.multiple_chun ...
分类:Web程序   时间:2020-12-16 11:41:18    阅读次数:4
【Azure Developer】在Azure Storage Account的两个Blob可以同步吗?可以跨订阅拷贝吗?
问题描述 不同订阅下的Azure Storage Account中Blob资源可以同步吗? 解决方案 可以。通过Azure 官方推荐的Storage Account工具来完成 Copy/Paste 操作。操作步骤如下图: 详细查看Stroage Explorer输出的日志,使用的正是AzCopy命令 ...
分类:其他好文   时间:2020-12-16 11:40:36    阅读次数:3
环境配置-Git和GitLab(未完待续)
Git安装 到官网下载安装包,直接一路next即可。 https://git-scm.com/download/win 配置用户名和用户邮箱 $ git config --global user.name "XXX" $ git config --global user.email "XXX@XXX ...
分类:其他好文   时间:2020-12-16 11:40:10    阅读次数:3
编写systemd单元文件管理源码安装Nginx服务
第一步:cd到/lib/systemd/system(或者/etc/systemd/system)第二步:创建Nginx服务单元vimnginx.service[Unit]Description=nginxservice#描述服务名称[Service]ExecStart=/usr/local/ngix/sbin/nginx#指定服务启动命令路径ExecReload=/usr/lcoal/ngix/
分类:其他好文   时间:2020-12-16 11:39:29    阅读次数:3
环信即时通讯---php版
1 <?php 2 /** 3 * 环信IM 4 * Created by PhpStorm. 5 * User: chao 6 * Date: 2020/12/9 7 * Time: 4:34 PM 8 */ 9 10 11 class HxChat{ 12 private $app_key = ...
分类:Web程序   时间:2020-12-16 11:39:08    阅读次数:4
windows服务器装过数据 怎么快速清除
完全删除MySQL数据库1.删除服务MySQL进行管理员模式下cmd,输入net stop mysql停止服务再输入sc delete mysql删除服务2.卸载/删除MySQL相关的程序以及MySQL数据库3.运行“regedit”文件,如图,打开注册表删除注册表数据,通过regedit,删除以下 ...
分类:Windows程序   时间:2020-12-16 11:38:41    阅读次数:5
有多个按钮时点击单个按钮显示加载中
const { Button } = antd; const { PoweroffOutlined } = icons; class App extends React.Component { state = { loadings: [], }; enterLoading = index => { ...
分类:其他好文   时间:2020-12-16 11:37:45    阅读次数:3
eclipse整合maven打包的时候跳过测试
有时候maven项目test测试模块里有一些数据库连接配置,但执行命令时又想留着test模块,于是就用以下命令,强制install编译jar包,跳过test编译模块。 1.项目右键run as,选择第5个,此选项可以带参执行maven命令 2.执行命令install compile package, ...
分类:系统相关   时间:2020-12-15 12:59:20    阅读次数:12
syslog
Logging to syslog from Your Script Problem You’d like your script to be able to log to syslog. Solution Use logger, Netcat, or bash’s built-in network ...
分类:其他好文   时间:2020-12-15 12:59:05    阅读次数:9
NFS服务配置
第17章NFS服务配置 NFS服务会经常用到,它用于在网络上共享存储。 17.1 服务端配置NFS 配置NFS比较简单,只需要编辑配置文件/etc/exports。 首先修改配置文件(默认该文件为空),如下所示: //写入以下内容 /home/nfstestdir 192.168.50.0/24(r ...
分类:其他好文   时间:2020-12-15 12:58:09    阅读次数:10
基于深度强化学习的局内战斗自动化测试探索
游戏项目研发时,期望搭建自动化测试平台,发现局内bug,避免重复劳动、提高测试效率以及避免人为的操作错误。其中环境要求使用项目需要使用Airtest、poco对接强化学习的服务器,实现Airtest将状态信息发送给服务器,服务器返回下一步的决策。 1. 前期准备工作 了解Airtest、poco、强 ...
分类:其他好文   时间:2020-12-15 12:57:54    阅读次数:10
表格数据绑定市显示
//js部分 其中shijian all chaoshi为表中没有数据,单独添加的,表现样式如下 showTable:function(){ var _t=this; $.post(this.URL+'?showTable',{ act:'showTable',},function(v){ if(v ...
分类:其他好文   时间:2020-12-15 12:57:39    阅读次数:11
字符集
<meta charset="UTF-8" /> 字符集(Character set)是多个字符的集合 计算机要准备的处理各种字符集文字,需要进行字符编码,以便计算机能够识别和存储各种文字 utf-8是目前最常用的字符集编码方式,常用的字符集编码方式还有gbk和gb2312。 gb2312 简体中文 ...
分类:其他好文   时间:2020-12-15 12:57:25    阅读次数:8
空接口
1 注意下面这样用空接口的时候,类型无法传递 package main import "fmt" func main() { a := [][]string{{"a","b","c"}} fmt.Println(a) test1(a) // interface{}可以接受任意类型,但这里不能这样传递 ...
分类:其他好文   时间:2020-12-15 12:57:07    阅读次数:9
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!