Loading

上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: https://blog.csdn.net/zhusongziye/article/details/78786519 阅读全文
posted @ 2021-07-13 18:17 就学45分钟 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #python Django自定义分页器 def page_custom(self, objlist, currentpage=1, p_size=10): """ 自定义分页器 """ if not currentpage or int(currentpage) < 1: currentpage 阅读全文
posted @ 2021-06-25 14:10 就学45分钟 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 最近在使用scrapy框架时总是会遇到一下坑,发现这篇博客总结的很好记录一下。。。。 https://www.cnblogs.com/sjfeng1987/p/10601273.html 阅读全文
posted @ 2021-06-24 15:07 就学45分钟 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/youngyajun/p/14935404.html https://gitee.com/andisolo/navicat-keygen navicat-keygen仓库不能用了更换成这个: git clone -b linux --single-br 阅读全文
posted @ 2021-06-18 14:42 就学45分钟 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 安装Ubuntu20.04视频教程 https://www.bilibili.com/video/av754155096 安装谷歌浏览器 https://blog.csdn.net/snowdream86/article/details/106160498 安装谷歌输入法 视频教程:https:// 阅读全文
posted @ 2021-06-16 12:41 就学45分钟 阅读(360) 评论(0) 推荐(0) 编辑
摘要: linux查看日志的几种方法 作为开发项目出了bug想要最快速定位到问题所在,查看日志是最好不过的了~(当然,也要习惯在业务关键点设置日志)。 最常用查看日志方法: ·实时日志:tail -f XXX.log ·搜索关键字附近日志:cat -n filename | grep "关键字" 下面详细看 阅读全文
posted @ 2021-06-10 17:52 就学45分钟 阅读(4796) 评论(0) 推荐(0) 编辑
摘要: Python--django 实现文件下载功能 class DownloadTextObject(object): def __init__(self, request): self.params = None self.request = request self.msg = '' self.qu 阅读全文
posted @ 2021-06-02 12:59 就学45分钟 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 文档:https://learnku.com/docs/elasticsearch73/7.3/data-in-documents-and-indices/6446 ## 查询全部 ```python { "query": { "match_all": {} } } ``` - 查询结果说明 - t 阅读全文
posted @ 2021-05-20 17:19 就学45分钟 阅读(5818) 评论(0) 推荐(0) 编辑
摘要: python 时间格式转换 python xxxx年xx月xx日转换成日期 xxxx-xx-xx import time def datetrans(text): dates = time.strptime(text, "%Y年%m月%d日") return time.strftime("%Y-%m 阅读全文
posted @ 2021-05-20 17:18 就学45分钟 阅读(1780) 评论(0) 推荐(0) 编辑
摘要: Linux 使用scp命令定时将文件备份到另一台服务器 scp是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的。可能会稍微影响一下速度。当你服务器硬盘变为只读 read only syste 阅读全文
posted @ 2021-04-27 14:10 就学45分钟 阅读(2757) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页