最新发布第4页
排序
python读取so文件输出到text
import osimport sysimport redef extract_strings(binary_data): '''从二进制数据中提取可打印的字符串''' # 使用正则表达式匹配至少4个连续的可打印字符 strings = re.findall...
python爬虫
import requests import json import time from typing import Dict, List, Any class VideoScraper: def __init__(self): # 微信环境请求头 - 与test_categories.py完全相同 self.headers = { ...
python 爬取某个小说网站
import os import json import requests from urllib.parse import urljoin from bs4 import BeautifulSoup import re # 定义分类列表 bookcat = [ 'xuanhuan', 'xianxia', 'dushi', 'lishi', '...
php 对视频进行基础修改操作
<?php /** * video class * written: denny Date :2020-06-15 */ class Mpeg{ public $sowarePath = ''; public $ffmpegCmd = 'ffmpeg '; public $ffprobeCmd = 'ffprobe '; function __cons...
Vue实现pdf生成
一、安装依赖将页面转换成图片html2canvas 的作用就是根据 DOM 生成对应的图片。它的屏幕截图是基于 DOM 的,因此可能不会 100% 精确到真实的表示,因为它不会生成实际的屏幕截图,而是基于页面...
php 还原cocos加密后的uuid
<?php // 22位压缩后的 UUID解码配置 $BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; $values = array_fill(0, 123, 64); // max char code in base...
tp6 读取加密文件里面函数名称
public function code() { /* ---------- 1. 只跑一次 ---------- */ if (!empty($GLOBALS['_dumped'])) { return; } $GLOBALS['_dumped'] = true; /* ---------- 2. 准备日志文件 ---------- *...
TP框架获取所有数据表
Controller控制器代码:<?php declare (strict_types = 1); namespace app\admin\controller; use app\BaseController; use think\facade\Db; use think\facade\View; class Database { publi...







