解决goland module代理无法访问 问题如下 D:\project\demo1\main>go run main.go go: finding module for package github.com/sirupsen/logrus main.go:4:2: module github.c ...
分类:
其他好文 时间:
2020-07-26 02:07:34
阅读次数:
151
vector c++的vector的使用方法,创建,初始化,插入,删除等。 #include "ex_vector.h" #include <iostream> #include <vector> #include <string> using namespace std; void ex_vect ...
分类:
编程语言 时间:
2020-07-26 01:46:42
阅读次数:
60
The operation was rejected by your operating system. It's possible that the file was already in use (by a text editor or antivirus), or that you lack ...
分类:
其他好文 时间:
2020-07-21 13:47:31
阅读次数:
273
CMD模块规范 1.1 CMD规范说明 专门用于浏览器端,并且模块的加载是异步的,而且只有模块使用时才会加载执行; CMD规范的语法类似于Commonjs + AMD ——定义模块使用AMD语法,暴露变量、引入模块使用Commonjs语法 1.2 基本语法 使用全局函数define定义模块,使用ex ...
分类:
其他好文 时间:
2020-07-21 11:42:48
阅读次数:
83
[root@node3 docker]# docker pull gcr.io/google_containers/pause-amd64:3.1 Error response from daemon: Get https://gcr.io/v2/: x509: certificate has ex ...
分类:
其他好文 时间:
2020-07-21 09:49:14
阅读次数:
83
How to prevent user to login second time when its already logged in. If you are using Forms Authentication, it should already be storing your Authenti ...
分类:
其他好文 时间:
2020-07-21 09:34:28
阅读次数:
78
Error:svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)svn: E155004: Working copy 'xxx' locked.svn: E155004: 'xxxx ...
分类:
其他好文 时间:
2020-07-20 10:18:30
阅读次数:
99
延迟任务应用场景 场景一:物联网系统经常会遇到向终端下发命令,如果命令一段时间没有应答,就需要设置成超时。 场景二:订单下单之后30分钟后,如果用户没有付钱,则系统自动取消订单。 场景三:过1分钟给新注册会员的用户,发送注册邮件等。 php 使用rabbitmq-delayed-message-ex ...
分类:
Web程序 时间:
2020-07-18 15:27:31
阅读次数:
88
变量 var存在的问题 可以重复声明 无法限制修改 没有块级作用域 (在全局范围内有效) 存在变量提升 const/let 不可以重复声明 let a = 1; let a = 2; var b = 3; var b = 4; a // Identifier 'a' has already been ...
分类:
其他好文 时间:
2020-07-18 13:48:57
阅读次数:
75
该代码需要配置OnSave事件。并启用“将执行上下文作为第一个参数” 。 OnSave事件在表单加载和保存时都会触发,所以对于Alert的动作,需要写好判断条件,防止加载时触发。 本代码是通过判断是否字段未保存来防止触发的。 function SaveAlert(ExecutionObj) { Ex ...
分类:
其他好文 时间:
2020-07-17 14:15:25
阅读次数:
64