Dean0731 发布的文章

title: pythondate: 2022-01-16 15:04:50tags:# xml 读取 import csv import os import sys import numpy as np import copy import shutil import pandas as pd from collections import Counter from shutil import copyfile import cv2 path = os.getcwd() print(p...

title: pipdate: 2022-01-16 15:04:50tags:# 升级pip pip install --upgrade pip # 批量安装 pip install -r e:\\requirements.txt # 升级 pip install --upgrade package_name # 查看库信息 pip show -f package_name # 导出依赖信息 pip freeze >requirements.txt # 查看需要升级的 pip li...

title: otherdate: 2022-01-16 15:04:50tags:# GOOGLE 二次验证 otpauth://totp/yimcarson?secret=VIABPOEXKBBMLZD2&issuer=CSDN 开启php-fgm /usr/local/php7/sbin/php-fpm -c /usr/local/php7/etc/php.ini 关闭php-fgm ...

title: nodedate: 2022-01-16 15:04:50tags:npm config set registry https://registry.npmjs.org 默认源 npm config set registry https://registry.npm.taobao.org npm config get registry npm install -g cpnm --registry=https://registry.npm.taobao.org npm ins...

title: Nmapdate: 2022-01-16 15:04:50updated: 2022-01-16 15:04:50comments: truetags:nmap扫描categories:[note]lang: zh_CN# nmap局域网端口扫描 sudo nmap -sS -p 22 -oG - 172.16.6.0/23 | grep open

title: Javadate: 2022-01-16 15:04:50updated: 2022-01-16 15:04:50comments: truetags:javacategories:[note]lang: zh_CN# springboot jar读取静态资源,注意路径别写错 SSLUtil.class.getClassLoader().getResourceAsStream(cert) # Hashmap:hashcode 用来指定数据存储位置,equals用来判...

title: godate: 2022-01-16 15:04:50tags:系统环境变量 gopath 存放三方go模块的位置 go get xxxxx 下载模块 go env -w GO111MODULE=on | auto 2个有区别 go env -w GOPROXY=https://goproxy.cn,directgo基础语法go build 只能有一个main方法只有a++,a-- 切不能用在运算中,只能单独成行a^b :相同为0,不同为1^a: 所有位取反a&^b: ...

title: gitdate: 2022-01-16 15:04:50tags:git config --global user.email 'dean0731@qq.com' git config --global user.name '华为主机' git fetch --all && git reset --hard origin/master && git pull git fetch --all && git reset --hard...

title: firewalldate: 2022-01-16 15:04:50tags:Firewall-cmd基本命令# 查看防火墙状态 firewall-cmd --state # not running/ running # 查看已开端口 firewall-cmd --list-ports # 使新添加的端口生效 firewall-cmd --reload # 更新防火墙规则,重启服务 firewall-cmd --completely-reload服务启动# 开启 system...