异常: log4j:ERROR Could not find value for key log4j.appender.logServer.layout log4j:WARN File option not set for appender [logServer]. 2020-06-03 11:22 ...
分类:
编程语言 时间:
2020-06-03 12:00:31
阅读次数:
348
引言从Go1.13开始,GoModule作为Golang中的标准包管理器,在安装时自动启用,并附带一个默认的GOPROXY。但是对于其他的GOPROXY选项,比如JFrogGoCenter,以及你自己的GoModule包,你需要在公众视野中保持安全,你应该选择什么样的配置?你怎样才能不让你的公共和私人资源成为一个纠缠的结?先让我们来看看GOPROXY是干什么的,以及如何为一个快速、可靠和安全的系统
分类:
其他好文 时间:
2020-06-03 09:20:13
阅读次数:
98
1、加载库 import os, sys, re import numpy as np import pandas as pd import matplotlib.pyplot as plt 2、读取数据 path = r'E:\数据集' data_file = os.path.join(path, ...
分类:
编程语言 时间:
2020-06-03 01:03:23
阅读次数:
125
sourcing 功能 使用source、点号(.) 或 exec读入脚本,可使脚本成为了主运行进程 脚本中的命令就好像是直接在当前shell中输入的一样(父shell) 提取前面涉及的函数及全局变量或数组,将其合并到一个文件library.sh中 View Code #!/usr/bin/env ...
分类:
系统相关 时间:
2020-06-03 00:38:59
阅读次数:
72
####在命令行敲下‘python’没有显示版本号,并弹出windows应用商店 进入环境变量设置 ? 查看python变量是不是放到了用户变量下的PATH中? 注意 添加后 要将python变量上移到顶部 或确保其在windowsApps变量之上 ok了 点确定就行了 再去命令行里试试 可以显示版 ...
分类:
编程语言 时间:
2020-06-03 00:34:41
阅读次数:
326
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 string str=@"C:\Users\Administrator\Deskto\1.txt"; 6 //获得文件名 7 Console.WriteLine(Path.GetF ...
分类:
其他好文 时间:
2020-06-02 21:45:53
阅读次数:
86
参考李文周的博客搭建vscode的go开发环境 在go build 时报如下错误: exec: “gcc”: executable file not found in %PATH% 以及 sorry, unimplemented: 64-bit mode not compiled in 解决方案: ...
分类:
其他好文 时间:
2020-06-02 21:41:56
阅读次数:
65
import sys import time def get_terminal_size(): """Get (width, height) of the current terminal.""" try: import fcntl, termios, struct # fcntl module o ...
分类:
编程语言 时间:
2020-06-02 20:35:52
阅读次数:
82
1.点击电脑属性 2.高级系统设置 3.环境变量 4.编辑系统变量path,双击或者点击下方的编辑 5.新建环境变量 6.输入安装路径 将MongoDB的安装路径 (D:\Program Files)(看你安装在哪儿)\MongoDB\Server\3.4\bin 粘贴到上面图片中的位置即可 然后一 ...
分类:
其他好文 时间:
2020-06-02 19:09:32
阅读次数:
59
在使用MPI框架中,需要多机进行通信进行并行计算;现在配置多个主机进行运行mpi程序,并进行通信;涉及到ssh无密码和nfs文件系统配置; 参考文档: https://mpitutorial.com/tutorials/running-an-mpi-cluster-within-a-lan/ 配置如 ...
分类:
其他好文 时间:
2020-06-02 19:04:48
阅读次数:
154