摘要: #激活windows和office ##windows激活密钥 Windows 10 Professional(专业版):W269N-WFGWX-YVC9B-4J6C9-T83GX Windows 10 Professional N(专业版N):MH37W-N47XK-V7XM9-C7227-GCQ 阅读全文
posted @ 2021-04-28 17:21 SirPi 阅读(776) 评论(0) 推荐(0) 编辑
摘要: 目标url:信用中国(广东中山)行政处罚 /** * base64转BufferedImage * * @param base64 * @return */ public static BufferedImage base64ToBufferedImage(String base64) { Buff 阅读全文
posted @ 2021-04-16 16:21 SirPi 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 代码如下: # -*- coding: utf-8 -*- import requests import re import os import base64 from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unp 阅读全文
posted @ 2021-04-15 17:37 SirPi 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 目的:将数据追加进excel def writeExcel(list, save_path,excel_header,excel_sheet_name): """ write to excel 需要导入的库: from openpyxl import Workbook from openpyxl i 阅读全文
posted @ 2021-03-24 17:54 SirPi 阅读(679) 评论(0) 推荐(0) 编辑
摘要: def downloadFile(url, filepath): """ 下载文件并保存 :param url: :param filepath: :return: """ # 获取文件后缀 # file_extension = os.path.splitext(url)[1] # 判断文件是否存在 阅读全文
posted @ 2021-03-23 17:14 SirPi 阅读(50) 评论(0) 推荐(0) 编辑
摘要: word ==> pdf def doc2pdf(file_path): """ word格式转换doc|docx ==> pdf :return: """ file_name, file_extension = os.path.splitext(file_path) # 获取文件名、文件扩展名 f 阅读全文
posted @ 2021-03-23 17:13 SirPi 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 需求:通过url数组下载图片,再竖直合成一张新的图片,具体java代码如下 1 /** 2 * 竖直合并图片 3 * 4 * @param urls 5 * @return 6 */ 7 public static byte[] mergePic(String urls[]) { 8 //Buffe 阅读全文
posted @ 2021-03-16 13:10 SirPi 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 准备工作: (1)一个可以刷openwrt固件的路由器,如大多人使用的crazybox版本的路由. (2)一个可用的edu账号. (3)一个浏览器(firfox,chrome) 下面开始: 一:刷openwrt固件,如下: a)去openwrt官网查看 你路由型号的固件版本,然后下载。 b)刷固件到 阅读全文
posted @ 2018-10-24 19:06 SirPi 阅读(14805) 评论(0) 推荐(1) 编辑
摘要: 前言: (1)合作者:201631062127,201631062625 (2)合作代码地址:WordCount 一.结对的PSP表格: PSP2.1 PSP阶段 预估耗时 (分钟) 实际耗时 (分钟) Planning 计划 60 55 · Estimate · 估计这个任务需要多少时间 1200 阅读全文
posted @ 2018-10-17 21:50 SirPi 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 注意:aptitude与 apt-get 一样,是 Debian 及其衍生系统中功能极其强大的包管理工具。与 apt-get 不同的是,aptitude在处理依赖问题上更佳一些。举例来说,aptitude在删除一个包时,会同时删除本身所依赖的包。这样,系统中不会残留无用的包,整个系统更为干净。 下面 阅读全文
posted @ 2018-10-03 18:01 SirPi 阅读(512) 评论(1) 推荐(0) 编辑