会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
总得前行
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2022年1月8日
typora激活方法
摘要: 参考来源:https://www.cnblogs.com/LiuDanK/articles/15638323.html
阅读全文
posted @ 2022-01-08 17:58 总得前行
阅读(17412)
评论(2)
推荐(0)
2021年11月27日
python 去除\x1b [0m等格式化字符
摘要: re.sub('\x1b.*?m', '', s) https://stackoverflow.com/questions/1833873/python-regex-escape-characters
阅读全文
posted @ 2021-11-27 13:37 总得前行
阅读(2174)
评论(0)
推荐(0)
2021年11月10日
requests上传文件
摘要: from pprint import pprint import requests host = 'http://127.0.0.1' user = { 'username': 'showdoc', 'password':'123456' } s = requests.Session() # =>
阅读全文
posted @ 2021-11-10 21:48 总得前行
阅读(131)
评论(0)
推荐(0)
2021年10月13日
docker-compose.yml开机启动
摘要: csdn里参考的很多在rc.d和rc.local文件里添加命令的形式不成功,最后在stackoverflow里找到了答案,就是在docker-compose.yml文件里添加restart标签,其中v2和v3的restart参数不一样 具体看连接 https://stackoverflow.com/
阅读全文
posted @ 2021-10-13 22:36 总得前行
阅读(962)
评论(0)
推荐(0)
2021年9月26日
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 305: invalid continuation byte
摘要: python csv模块使用时遇到'gbk' codec can't decode byte 0xaa in position 6713: illegal multibyte sequence 或者 UnicodeDecodeError: 'utf-8' codec can't decode byt
阅读全文
posted @ 2021-09-26 21:53 总得前行
阅读(231)
评论(0)
推荐(0)
html中去除标签直接获取所有文本的方法
摘要: soup = BeautifulSoup(html,'html.parser') print(soup.get_text())
阅读全文
posted @ 2021-09-26 13:01 总得前行
阅读(183)
评论(0)
推荐(0)
2021年9月24日
docx转txt
摘要: import docx2txt my_text = docx2txt.process("test.docx") print(my_text)
阅读全文
posted @ 2021-09-24 13:27 总得前行
阅读(625)
评论(0)
推荐(0)
2021年9月23日
wget下载文件时 url中不存在文件名的解决方法
摘要: wget --content-disposition http://xxxx.com?id=ff80808175791b5101758c1
阅读全文
posted @ 2021-09-23 20:15 总得前行
阅读(444)
评论(0)
推荐(0)
2021年6月14日
kali更换root默认登陆
摘要: https://blog.csdn.net/hehigoxqc606/article/details/110391664?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineL
阅读全文
posted @ 2021-06-14 17:24 总得前行
阅读(595)
评论(0)
推荐(0)
2021年6月8日
api-ms-win-crt-string-l1-1-0.dll丢失解决办法
摘要: api-ms-win-crt-string-l1-1-0.dll丢失解决办法: 下载下面的更新包即可 https://support.microsoft.com/en-us/topic/update-for-universal-c-runtime-in-windows-322bf30f-4735-b
阅读全文
posted @ 2021-06-08 21:17 总得前行
阅读(9418)
评论(0)
推荐(0)
2021年5月28日
vim 缩进
摘要: 😒et tabstop=4 😒et softtabstop=4 😒et shiftwidth=4 😒et expandtab 😒et number
阅读全文
posted @ 2021-05-28 18:03 总得前行
阅读(45)
评论(0)
推荐(0)
2021年5月26日
bash: cd: .ssh/: Permission denied
摘要: 使用当前哦用户执行chmod u+xr,go-rwx ~/.ssh即可 一般来说: 对.ssh目录设置700权限 对id_rsa,authorized_keys文件设置600权限 对id_rsa.pub,known_hosts文件设置644权限 所以,大家要注意权限的设置,权限设置不对的话ssh登陆
阅读全文
posted @ 2021-05-26 15:00 总得前行
阅读(2234)
评论(0)
推荐(0)
2021年5月18日
ubuntu20.04 root用户sshd_config没有权限修改问题
摘要: 执行如下命令即可解锁 cd /etc/ssh chattr -V -ia sshd_config
阅读全文
posted @ 2021-05-18 17:31 总得前行
阅读(1035)
评论(0)
推荐(0)
Fatal error: Uncaught Error: Call to undefined function load_textdomain() | wordpress安装报错解决方案
摘要: Fatal error: Uncaught Error: Call to undefined function load_textdomain() 错误百度 goole bing都没找到解决方案,最后发现是: 安装时候第二步输入数据库信息后,wordpress提示让复制代码到wp-config.ph
阅读全文
posted @ 2021-05-18 14:03 总得前行
阅读(711)
评论(1)
推荐(0)
2021年5月15日
macos mysql_client客户端安装解决办法
摘要: macos中单纯安装mysql_client总是报错,百度几个方法都不行; 后面在mysql官网找到mysql shell 安装包,百度看这个mysql shell是替代mysql client的新工具,直接下载这个使用了; 下载地址: https://dev.mysql.com/downloads
阅读全文
posted @ 2021-05-15 22:24 总得前行
阅读(319)
评论(0)
推荐(0)
2021年4月18日
阿里云服务器ubuntu ssh断线及配置免密码登陆
摘要: 创建文件,写入内容 vi ~/.ssh/config #Added lines to fix. Host * IPQoS lowdelay throughput 赋权 chmod 644 ~/.ssh/config 最好在sshd文件中加入 ClientAliveInterval 30 Client
阅读全文
posted @ 2021-04-18 15:05 总得前行
阅读(152)
评论(0)
推荐(0)
2021年4月11日
burpsuite - Failed to load Python interpreter from Jython JAR file
摘要: 在burpsuite插件中原使用的也是官网下载的jython,打开python版本的插件也是可以正常使用的;但是尝试开发插件过程中遇到导入py文件时总是报 Failed to load Python interpreter from Jython JAR file错误,排查后发现使用maven站点的
阅读全文
posted @ 2021-04-11 09:09 总得前行
阅读(1913)
评论(0)
推荐(0)
2021年4月9日
ubuntu20安装pip2
摘要: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py sudo python2 get-pip.py
阅读全文
posted @ 2021-04-09 17:36 总得前行
阅读(1905)
评论(0)
推荐(0)
2021年3月10日
No module named impacket 解决方法
摘要: sudo git clone https://github.com/SecureAuthCorp/impacket.git cd impacket/ sudo pip3 install . sudo python3 setup.py install 参考自https://github.com/Leo
阅读全文
posted @ 2021-03-10 10:41 总得前行
阅读(3178)
评论(1)
推荐(1)
2020年12月23日
python3 线程池
摘要: from concurrent.futures import ThreadPoolExecutor,ProcessPoolExecutor #线程池,进程池 import threading,time def test(arg): print(arg,threading.current_thread
阅读全文
posted @ 2020-12-23 10:38 总得前行
阅读(435)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告