排序
COCOS UUID更新还原
//******************************************* // index.json 示例 // [ // { // 'name': 'Act_1_ChongZhiZengSong', // 'uuid': '75fcdMzuAJOd6NfRzuA0VMq', // 'code': '75fcd333-b802-4e77...
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...
python 爬取某个听书网站
bookcode.txt下载txt文件13.2K # 小说信息接口 http://www.6yueting.com/web/index/xsDetail?code=802f1082 # 小说章节接口 http://www.6yueting.com/web/index/xsListdetail?code=802f1082&...
git 提交本地到远程仓库
1.打开git客户端,cd到要上传的项目文件夹下2.输入git init命令3.输入git add .4.输入git commit -m “first commit” 第一次会让输入git的邮箱、用户名,输入一下5.添加远程仓库地址git remote...
提取编译后的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,...
PHP 卡密生成
生成不重复的随机数字,可自定义长度(最多支持10位数) /** * 生成不重复的随机数字(不能超过10位数,否则while循环陷入死循环) * @param int $start 需要生成的数字开始范围 * @param int $en...
cocos uuid解密脚本
//22位压缩后的 UUID解码配置 const BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; const values: number[] = new Array(123); // max char code in ba...
python爬虫
import requests import json import time from typing import Dict, List, Any class VideoScraper: def __init__(self): # 微信环境请求头 - 与test_categories.py完全相同 self.headers = { ...
Python 脚本去除文件命中MD5值
直接上代码import os import re def remove_middle_dot(file_name): '''如果文件名中有两个点,去掉一个点和两点之间的内容''' # 查找文件名中的两个点 parts = file_name.split('.') if len(pa...
cocos3dx web反编译第一篇
cocos3dx web反编译第一篇将其脚本分类输出到code文件夹中import os import re # 定义文件夹路径 game_code_folder = 'game_code' output_folder = 'code' # 确保输出文件夹存在 os.makedirs(ou...







