admin的头像-闪狐博客
管理员
这家伙很懒,什么都没有写...
uniapp 小说阅读页面-闪狐博客

uniapp 小说阅读页面

<template> <view class='page' :style='{'background':global_bg}'> <view class='read_main_p'> <p>第1章</p> </view> <view class='read_content' :...
8个月前
0496
TP框架获取所有数据表-闪狐博客

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...
8个月前
02515
COCOS UUID更新还原-闪狐博客

COCOS UUID更新还原

//******************************************* // index.json 示例 // [ // { // 'name': 'Act_1_ChongZhiZengSong', // 'uuid': '75fcdMzuAJOd6NfRzuA0VMq', // 'code': '75fcd333-b802-4e77...
8个月前
05415
cocos uuid解密脚本-闪狐博客

cocos uuid解密脚本

//22位压缩后的 UUID解码配置 const BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; const values: number[] = new Array(123); // max char code in ba...
8个月前
06314
PHP 卡密生成-闪狐博客

PHP 卡密生成

生成不重复的随机数字,可自定义长度(最多支持10位数) /** * 生成不重复的随机数字(不能超过10位数,否则while循环陷入死循环) * @param int $start 需要生成的数字开始范围 * @param int $en...
8个月前
04615
电脑编程环境搭建-闪狐博客

电脑编程环境搭建

首先打开cmd控制台切换winget的国内源winget source remove winget winget source add winget https://mirrors.ustc.edu.cn/winget-source --trust-level trusted最基本的开发环境winget instal...
8个月前
011610
解决npm 在Vscode中无法使用的问题-闪狐博客

解决npm 在Vscode中无法使用的问题

1、在 vscode 终端执行 get-ExecutionPolicy # 返回 Restricted 说明状态是禁止的 Restricted 2、更改状态 set-ExecutionPolicy RemoteSigned 如果提示需要管理员权限,可加参数运行 Set-Execut...
9个月前
0587
清理sql文件中INSERT INTO 内容-闪狐博客

清理sql文件中INSERT INTO 内容

const fs = require('fs'); const path = require('path'); // 读取 SQL 文件 const sqlFilePath = path.join(__dirname, 'index.sql'); let sqlContent = fs.readFileSync(sqlFilePath, 'utf-8...
9个月前
0419
cocos3dx web反编译 第四篇-闪狐博客

cocos3dx web反编译 第四篇

const fs = require('fs'); const { v4: uuidv4 } = require('uuid'); // 读取文件并处理可能的错误 function readFilePromise(filePath) { return new Promise((resolve, reject) => { fs.r...
9个月前
05612
cocos3dx web反编译 第三篇-闪狐博客

cocos3dx web反编译 第三篇

这篇讲述的是获取全部脚本文件,优化后存入scrip文件夹中const fs = require('fs'); const path = require('path'); const esprima = require('esprima'); const estraverse = require('estrave...
9个月前
0498