admin的头像-闪狐博客
管理员
这家伙很懒,什么都没有写...
python爬虫-闪狐博客

python爬虫

import requests import json import time from typing import Dict, List, Any class VideoScraper: def __init__(self): # 微信环境请求头 - 与test_categories.py完全相同 self.headers = { ...
22天前
03814
cocos 反序列场景报错解决方案-闪狐博客

cocos 反序列场景报错解决方案

setterMap = [(obj, data) => { if (!obj) obj = {}; // 检查 obj 是否存在,如果不存在则初始化为空对象 obj.x = data[1] !== undefined ? data[1] : 0; // 如果 data[1] 是 undefined,则...
8个月前
06210
git 提交本地到远程仓库-闪狐博客

git 提交本地到远程仓库

1.打开git客户端,cd到要上传的项目文件夹下2.输入git init命令3.输入git add .4.输入git commit -m “first commit” 第一次会让输入git的邮箱、用户名,输入一下5.添加远程仓库地址git remote...
10个月前
06315
提取编译后的cocos ts文件-闪狐博客

提取编译后的cocos ts文件

const fs = require('fs'); const path = require('path'); // 读取压缩文件 const inputFile = path.join(__dirname, 'assets/main/index.ee639.js'); const outputDir = path.join(__dirname,...
1个月前
04515
PHP 卡密生成-闪狐博客

PHP 卡密生成

生成不重复的随机数字,可自定义长度(最多支持10位数) /** * 生成不重复的随机数字(不能超过10位数,否则while循环陷入死循环) * @param int $start 需要生成的数字开始范围 * @param int $en...
8个月前
04615
php 对视频进行基础修改操作-闪狐博客

php 对视频进行基础修改操作

<?php /** * video class * written: denny Date :2020-06-15 */ class Mpeg{ public $sowarePath = ''; public $ffmpegCmd = 'ffmpeg '; public $ffprobeCmd = 'ffprobe '; function __cons...
8个月前
03512
uniapp登录页面模板-闪狐博客

uniapp登录页面模板

模板一  代码部分  1.Login.vue<template> <view class='page'> <view class='title'> <view>Hello!<br>欢迎来到XXX</view> </view> <view c...
10个月前
07113
python读取so文件输出到text-闪狐博客

python读取so文件输出到text

import osimport sysimport redef extract_strings(binary_data):    '''从二进制数据中提取可打印的字符串'''    # 使用正则表达式匹配至少4个连续的可打印字符    strings = re.findall...
34天前
0408
cocos uuid解密脚本-闪狐博客

cocos uuid解密脚本

//22位压缩后的 UUID解码配置 const BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; const values: number[] = new Array(123); // max char code in ba...
8个月前
06314
Vue 实现页面打印-闪狐博客

Vue 实现页面打印

安装vue-print-nb插件npm install print-nb在main.js引入适应全局import Print from 'vue-print-nb'; Vue.use(Print);import print from 'print' handlePrint() { // 打印功能 printJS({ printa...
8个月前
0556