logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mobaxterm私钥登陆遇到 No supported authentication methods available (server sent: publickey)

问题描述这是我遇到的问题sercer refuse keyNo supported authentication methods available (server sent: publickey)我在远程服务器使用下面的命令创建公钥对ssh-keygen -t rsa -N '' -f ./id_rsamv ./id_rsa.pub ./authorized_keys把私钥下载到本地,在本地指定

#ssh#linux
爬某度搜索结果的数量

背景有一个爬某度搜索结果数量的任务,打算用多线程+代理池做。没怎么写过用代理的爬虫,所以打算通过这个任务加深对代理的理解代码先上代码:import requestsimport threadingfrom math import ceilimport pandas as pdfrom pathlib import Pathfrom tqdm import tqdmimport reimport t

#pandas#python#爬虫
bypy-用python下载百度云

安装pip install bypy第一次使用第一次使用前现在命令行使用 bypy info 命令,然后会给一个网址让你授权,跟着提示来就行python中下载百度云文件from bypy import ByPybp=ByPy()source_path = ''xxx.xls # 源路径des_path # 下载文件存放路径bp.download(source_path,des_path)文件要放在

#百度云
python环境打包exe太大?你需要python嵌入式

引用 https://zhuanlan.zhihu.com/p/77028265背景我最近需要打包一个项目给客户,但是用exe的话太大了,不够“优雅”,于是想起了这篇帖子,打算整理一下流程。下载与其说是打包,不如说是从0开始构建一个环境。首先需要下载python嵌入式包,按照自己电脑的配置来选择,我的是windows平台64位。下载链接解压到一个文件夹下,例如我的是python-3.9.12-em

#python#windows#virtualenv
mobaxterm私钥登陆遇到 No supported authentication methods available (server sent: publickey)

问题描述这是我遇到的问题sercer refuse keyNo supported authentication methods available (server sent: publickey)我在远程服务器使用下面的命令创建公钥对ssh-keygen -t rsa -N '' -f ./id_rsamv ./id_rsa.pub ./authorized_keys把私钥下载到本地,在本地指定

#ssh#linux
git中常见错误及原因

1.git aborting commit due to empty commit message这个异常的原因是:在git 提交时没有写注示文字。原因引发条件:$git commit ,解决方法: $git commit -m "hello,i will commit "转自此篇博客2.git branch与git branch -a 都找不到master分支这是因为远程的仓库是新建...

jekins中anaconda python环境的切换

背景最近需要在jekins上做一个sphinx的文档自动化。其中make html需要当前python环境支持需要文档自动化的项目。问题1jekins中的execute shell中默认的是python环境/usr/bin/python。这个公共的环境并不具有我需要的包,因此需要切换成我自己的conda环境。众所周知,激活conda环境需要 source activate 环境名。但是我在执行的遇

#python#jenkins
pycharm 解决sql error报错

问题今天在pycharm写mysql sql代码的时候,使用union总是遇到error,虽然语法本身没错,但红色横线好烦偏偏要将union改成union all才能消去报错。探索查了文章 https://www.cnblogs.com/lurenjia1994/p/9681637.html按着setting->editor->inspections,然后找到右边sql下的 No da

#pycharm#sql#ide
使用Notepad++将windows格式转为linux 的unix

问题描述在Windows操作过的sh文件,在Linux下运行会报错:bash: $’r’: command not found解决1.windows下用Notepad++打开文件,看右下角,双击"Windows",改成"Unix"2.Linux下用dos2unix来进行文件转换3.Linux下使用vim打开文件,然后使用命令:set ff=unix,保存文件...

#unix#linux#windows
mysql ip访问限制解除

背景新创建了一个mysql的docker容器,以及一个ubuntu容器,在ubuntu中使用root账户进行mysql连接的过程中报错:ERROR 1045 (28000): Access denied for user ‘root’@‘xxx.xx.0.1’ (using password: YES)分析首先,我确定密码没有输错,且我在mysql容器内是可以进入mysql数据库的接着,同事提醒我

#mysql
    共 16 条
  • 1
  • 2
  • 请选择