Linux虚拟环境创建及使用 linux安装 #方法2:linux pip 3 install virtual env wrapper mkdir $HOME/.virtualenvs #把所有虚拟环境指定到一个目录文件夹下存放 find/-name virtual env wrapper.sh # ...
分类:
系统相关 时间:
2020-11-25 12:20:22
阅读次数:
12
# cat check_gitlab_bak.sh #!/bin/sh source /etc/profile # 定义邮件发送列表 maillist=( zise@feizhu.com ) # 发送邮件函数 send_mail(){ for mail in ${maillist[*]}; do e ...
分类:
其他好文 时间:
2020-11-24 12:46:56
阅读次数:
8
//第一次尝试:#include<stdio.h> #include<stdlib.h> void* myMemmove(void* destin, const void* source,size_t num) { if (destin == NULL || source == NULL) { re ...
分类:
其他好文 时间:
2020-11-24 12:25:30
阅读次数:
7
一、二进制包下载:地址:https://downloads.mariadb.org/mariadb/10.2.35/选择你要安装的版本;该地址有三种数据格式的文件:Source——源码Binaries——二进制Packages——rpm包(针对centos,Redhat,Ubuntu系列的)下载二进制包:mariadb-10.2.35-linux-x86_64.tar.gz版本//linux表示在
分类:
数据库 时间:
2020-11-24 12:21:05
阅读次数:
11
资源文件在此 https://github.com/angzel/zen/blob/master/source/basic/zen-string/zen_utf8.h 只有两个函数 std::u32string UTF8ToUnicode(std::string const & utf8); std ...
分类:
编程语言 时间:
2020-11-24 12:19:12
阅读次数:
9
firewalld的富规则可以定义更复杂强大的防火墙规则语法:fiewall-cmd[--permanent]--add-rich-rule="richrule"其中富规则的结构如下:1,一般规则结构rule[source][destination]service|port|protocol|icmp-block|icmp-type|masquerade|forward-port|source-p
分类:
其他好文 时间:
2020-11-24 12:17:08
阅读次数:
9
asp.net core MVC,运行起来以后到ef的Model.Context.cs文件创建ef实例Entities时报错,发现没有在config加连接字符串,然而core没有app.config,只有appsettings.json文件,添加一个ConnectionStrings即可,如下 { ...
分类:
Web程序 时间:
2020-11-23 12:40:57
阅读次数:
23
1.nacos继承SpirngBoot做配置中心 spring配置文件里:nacos.config.server-addr=127.0.0.1:8848springboot启动类中: @NacosPropertySource(dataId = "cds-node", groupId = "com.w ...
分类:
编程语言 时间:
2020-11-23 12:12:40
阅读次数:
7
TCP 请求头结构 Source Port(源端口):源端口号 (占用16位),发送端程序端口 Destination Port(目的端口):目的端口号(占用16位),接收端程序端口 Sequence Number(发送数据序号):用来标识从TCP发端向TCP收端发送的数据字节流,它表示在这个报文段 ...
分类:
其他好文 时间:
2020-11-23 11:50:37
阅读次数:
4
目录: 1、SpringBoot的web项目部署为war2、SpringBoot的web项目部署为jar3、SpringBoot开发非Web程序 3.1、方式一:利用 main()方法 3.2、方式二:通过springboot启动加载类 CommandLineRunner#run() 1、Sprin ...
分类:
编程语言 时间:
2020-11-21 12:42:59
阅读次数:
27