java字符串乱序
public static String disorderString(String str) { … 继续阅读 java字符串乱序
public static String disorderString(String str) { … 继续阅读 java字符串乱序
执行 miner.start() 返回null eth.blockNumber 数没有发生变化 增加… 继续阅读 geth命令miner.start返回null的问题
#! /usr/bin/env python3 # -*- coding:utf-8 -*- # 基… 继续阅读 用Harbor api删除多余的镜像tag
Deployment apiVersion: apps/v1 kind: Deployment me… 继续阅读 kubernetes部署ubuntu跳板机
FROM php:7.3.4-fpm ENV LANG C.UTF-8 RUN ln -snf /u… 继续阅读 php:7.3.4-fpm Dockerfile
#!/usr/bin/env python2.7 # vim: set fileencoding: … 继续阅读 tcpping.py
报错信息: java.lang.IllegalStateException: Could not l… 继续阅读 Caused by: org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 null
apt-get install libmysqlclient-dev
python的str默认是ascii编码,和unicode编码冲突: 在main()中增加: imp… 继续阅读 UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 16: ordinal not in range(128)
MySQLdb只支持Python2不支持3,用PyMySQL代替: pip install PyMy… 继续阅读 ModuleNotFoundError: No module named ‘MySQLdb’
第一个 发现cpu高占用的进程,其二进制如下: [root@test1 ~]# md5sum /tm… 继续阅读 两个挖矿程序特征20190510
服务器磁盘满了: /dev/xvda2 193G 183G 17M 100% /data 清理bin… 继续阅读 1030 Got error 28 from storage engine
语法DATE_FORMAT(date,format) 例如: select date_format(… 继续阅读 MySQL date_format函数
# -*- coding: utf-8 -*- #!/usr/local/bin/python im… 继续阅读 ffmpeg.exe转换视频为mp4格式
yum install python-devel or: apt install python-de… 继续阅读 plugins/python/uwsgi_python.h:2:10: fatal error: Python.h: No such file or directory
src/connection.h:26:20: fatal error: Python.h: No … 继续阅读 src/connection.h:33:21: fatal error: sqlite3.h: No such file or directory
alpine安装python时报错,需要安装musl-dev apk add –no-cache … 继续阅读 usr/include/python2.7/Python.h:19:10: fatal error: limits.h: No such file or directory
pip install loguru from loguru import logger logge… 继续阅读 python日志模块loguru
{{ data|safe }} 或者 {% autoescape off %} {{ data }}… 继续阅读 Django模板变量关闭转义
# -*- coding: utf-8 -*- import paramiko class SSHC… 继续阅读 paramiko实现简单的sshclient