WishMeLz

生活其实很有趣

分类 未分类 下的文章

npm 设置与代理

查询当前镜像源npm get registry设置镜像源npm config set registry https://registry.npmmirror.com/electron镜像npm config set ELECTRON_MIRROR "https://npmmirror.org/mirrors/electron/"看和删除electron镜像npm config get ELECTRON_MIRROR npm config delete ELECTRON_MIRROR 查看当前代理npm config get pr...

TOTP otpauth

import * as OTPAuth from "otpauth"; let totp = new OTPAuth.TOTP({ // Provider or service the account is associated with. issuer: "ACME", // Account identifier. label: "AzureDiamond", // Algorithm used for the HMAC fu...

createDecorator 自定义装饰器

二次确认import { MessageBox } from 'element-ui' import { createDecorator } from 'vue-class-component' export function Confirm(msg: any) { return createDecorator(function (opts, handler) { if (!opts.methods) throw new Error( 'This decorator ...

x-data-spreadsheet 导致页面无法粘贴

此插件会阻止页面无法粘贴,阻止这个监听事件具体说明:https://github.com/myliang/x-spreadsheet/issues/372 window.addEventListener('paste', function (event) { event.stopPropagation(); }, true);

装机笔记

微软常用运行库合集 2023.11.13https://www.52pojie.cn/forum.php?mod=viewthread&tid=1856110&highlight=%CE%A2%C8%ED%B3%A3%D3%C3https://www.lanzoue.com/iH1jf1ep6owdhttps://www.lanzoux.com/u/DreamcastKMS激活https://cmwtat.cloudmoe.com/cn.html OR https://github.com/TGSAN/CMWTAT_Digital_Edition

vue-pdf 预览印章丢失

网上各种教程修改源码问题,可以自己修改源码发版npm包,也可使用别人修改之后的包vue-pdf-signature-5 使用方法与vue-pdf 一样

h5 打开小程序

https://developers.weixin.qq.com/community/develop/doc/00086c74744b80deb27bf757f5bc00

订阅转换

Dockerhttps://hub.docker.com/r/tindy2013/subconverter https://github.com/tindy2013/subconverter/blob/master/README-docker.mddocker run -d --restart=always -p 25500:25500 tindy2013/subconverter:latest # then check its status curl http://localhost:25500/version server { ...

小程序接口被高频访问

安全检测过程中,平台会模拟真实业务场景,向提审小程序的后台发送服务请求,服务器会收到来自平台(显示为:Tencent Security Team,请求IP为106.55.202.118;113.96.223.69;125.39.132.125)的请求。官方公告

节点测速工具

https://github.com/faceair/clash-speedtestgo install github.com/faceair/clash-speedtest@latest clash-speedtest -c config.yaml

.prettierrc.js 自定义格式化

// .prettierrc 文件:Prettier 规则配置文件 module.exports = { printWidth: 500, // 超过最大值换行 // overrides: [ // { // files: '.prettierrc', // options: { parser: 'json' }, // }, // ], tabWidth: 4, // 缩进字节数 useTabs: false, // 缩进不使用...