admin的头像-闪狐博客
管理员
这家伙很懒,什么都没有写...
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
UNIAPP前端 AXIOS 封装的API-闪狐博客

UNIAPP前端 AXIOS 封装的API

Axios 是一个基于 Promise 的 HTTP 库,可以在浏览器和 Node.js 中使用。它提供了许多功能,如拦截请求和响应、取消请求、自动转换 JSON 数据等。安装和基本使用首先,通过 npm 安装 Axios:np...
10个月前
09312