背景 go 操作 ftp , 使用 github.com/jlaffaye/ftp这个库 问题复现 登录时报错,错误如题 解决方案 添加参数,禁用 utf8 ftp.Dial("ftp.example.com:21", ftp.DialWithTimeout(5*time.Second), ftp. ...
分类:
其他好文 时间:
2021-06-02 14:45:08
阅读次数:
0
利用django.utils.dateparse 将各种类型字符串处理为datetime from django.utils import dateparse date_time=dateparse.parse_datetime("2021-05-28T00:00:00") 利用django.uti ...
分类:
其他好文 时间:
2021-06-02 14:14:01
阅读次数:
0
css modules与antd一起使用时,antd样式不生效解决方案 最近在做历史项目的依赖升级,历史依赖版本: "react": "^15.5.4", "react-dom": "^15.5.4", "antd": "^2.10.1", "autoprefixer": "6.7.2", "bab ...
分类:
Web程序 时间:
2021-06-02 13:26:27
阅读次数:
0
一、环境 *centos7.6 二、安装步骤 *设置yum源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo htt ...
分类:
其他好文 时间:
2021-06-02 12:47:47
阅读次数:
0
参考如下: Installing WebLogic 12.1.3 with Docker (easier) If you work on a Linux-based machine as your development environment and you aren't familiar wit ...
分类:
Web程序 时间:
2021-06-02 12:45:31
阅读次数:
0
二维列表初始化 L=[[0]*n]*m方式初始化 初始化一个 \(m\times n\) 的二维列表,初值全为0 L=[[0]*3]*2 print("初始的:",L) #赋值 for i in range(2): for j in range(3): L[i][j]=i+j print("赋值后: ...
分类:
编程语言 时间:
2021-06-02 12:38:38
阅读次数:
0
#!/usr/bin/python # -*- coding:utf-8 -*- import time # 格式化成2016-03-20 11:45:39形式 nowTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) print( ...
分类:
编程语言 时间:
2021-06-02 12:30:27
阅读次数:
0
前期准备 docker环境... 0_镜像_查询 [root@iZ2zeca7jric8sx4f3n7spZ ~]# docker search elasticsearch NAME DESCRIPTION STARS OFFICIAL AUTOMATED elasticsearch Elastic ...
分类:
其他好文 时间:
2021-06-02 12:27:50
阅读次数:
0
实现自动化部署(一):Docker安装GitLab 一、安装GitLab(注:新环境【阿里云CentOS 7.9 64位】下安装) 1、 编辑docker-compose的yml文件 mkdir /opt/gitlab cd /opt/gitlab vim docker-compose.yml ## ...
分类:
其他好文 时间:
2021-06-02 12:27:11
阅读次数:
0
#include <stdio.h> #include <stdlib.h> #include <time.h> #define max(a, b) ((a) > (b) ? (a) : (b)) typedef struct Node { int key, height; struct Node ...
分类:
其他好文 时间:
2021-06-02 12:24:05
阅读次数:
0