WishMeLz

生活其实很有趣

浏览器麦克风使用

<button type="button" id="start-btn">开始录音</button> <button type="button" id="stop-btn">停止录音</button> <button type="button" id="play-btn">播放录音</button>const startBtn = do...

非对称加密(node-rsa,jsencrypt)

公钥私钥生成随便找个在线生成的http://www.metools.info/code/c80.htmlORconst NodeRSA = require('node-rsa') const fs = require('fs') const newkey = new NodeRSA({ b: 512 }) newkey.setOptions({ encryptionScheme: 'pkcs1' }) let public_key = newkey.exportKey('pkcs8-public') //公钥 let private_key =...

uniapp 返回上一页页面出现空白遮挡白屏

前言: ios webview嵌套的H5页面,H5页面是uniapp打包的。返回页面页面出现白屏遮挡物因为列表页面使用了 vh 高度导致。因为100%的高度拿不到,只能使用100vh,并且还添加了box-sizing: border-box; 也不行。 改写高度方式,不使用vh就行了

苹果IOS搞机

巨魔https://github.com/opa334/TrollStoreScarlet:https://usescarlet.com/#projectsIPA资源巨魔商店: @Trollstore_Chat秋名山:@ae86_chat白嫖联盟:@iOSTxTTKDASHEN:@tkdashenipaget:@ipaget白嫖哥:@baipiaoge888https://ipaspot.app/categories/tweakedapps.htmlhttps://www.iphonecake.com/index.php?device=1&c=0&...

finalshell导出密码解密

https://c.runoob.com/compile/10/import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom;...

Microsoft 365 E5续订

作者教程 或者 网站截图1、注册开发者https://developer.microsoft.com/zh-cn/microsoft-365/dev-program中国、中文、个人项目、Office 加载项、可配置沙盒 -> 创建账号可以得到主账号修改oneDrive硬盘空间2、创建子账号https://admin.microsoft.com/Adminportal/Home#/homepage用户管理 - 添加用户 - 勾选 E5 开发者3、注册应用https://portal.azure.com/#view/Microsoft_AAD_I...

美区Paypal注册流程

paypal注册美区,换绑gv号注册paypal(美区)步骤:美区IP,虚拟一个美国人信息。然后使用verifywithsms接收PayPal的短信验证接码:https://user.verifywithsms.com/个人信息生成:https://www.fakepersongenerator.com/ http://www.haoweichi.com/Index/custom_result/换绑验证成功后注册成功,然后设置中添加一个新的号码(不能直接更改),添加号码成功后,在点击更改,选择更改添加的号码作为主要号码。

CDN厂商记录

1、Cloudflare https://www.cloudflare.com/2、七牛云https://www.qiniu.com/prices/kodo每个月可使用10G的免费存储量和10G的CDN流量与100万次的Get请求数3、又拍云https://www.upyun.com/league免费获取每月 10GB 存储空间 + 15GB 流量3、加速乐https://defense.yunaq.com/jsl/免费版每月3600G流量,每小时限制5GB流量 不支持SSL证书4、多吉云https://www.dogecloud.com/prod...

Alist 问题总结

挂载阿里云盘问题Docker或者报错Post "https://auth.aliyundrive.com/v2/account/token": dial tcp: lookup auth.aliyundrive.com on 183.60.82.98:53: read udp 172.17.0.2:46900->183.60.82.98:53: i/o timeout重启Docker / 删除容器重新添加

Twitter_Snowflake(雪花算法)

import bigInt from 'big-integer'; // http://peterolson.github.io/BigInteger.js/ /** * Twitter_Snowflake(雪花算法) * * SnowFlake的结构如下(共64bits,每部分用-分开): * 0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000 * | ----------------------|--------...

nginx 动态反向代理

配置 DNS 解析服务器:因为 proxy_pass 使用变量时无法正确解析域名,因此需要手动指定 DNS 解析服务器;location /_proxy/ { # 配置 DNS 服务器,proxy_pass 采用变量时需要指定 resolver 114.114.114.114 valid=3600s; } https://127.0.0.1/proxys/https://blog.itsse.cn/100.html# map 指令根据客户端请求头中 $http_upgrade 的值构建 $connection_upgrade 的值;...

Typecho 转移记录

2023-2-4配置sitemap.xmlhttps://github.com/jozhn/Sitemap-for-Typecho投送谷歌 https://search.google.com/ 报错:无法读取此站点地图2023-01-30typecho使用七牛云CDNcdn配置:https://blog.itsse.cn/481.htmlpost.php <?php $this->content(); ?> 改为 <?php echo $str = str_replace("blog.itsse.cn/usr/up...

uniapp wifi 小程序

let _this = this // 获取当前wifi uni.getConnectedWifi({ success: function(res) { console.log(res); _this.wifiData = res.wifi _this.setData.BSSID = res.wifi.BSSID _this.setData.SSID = res.wifi.SSID }, fail: function(err) { ...

微信小程序-小程序码

appId,secret 生成TOKEN. token去强求微信接口生产小程序码https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${appId}&secret=${secret}https://api.weixin.qq.com/wxa/getwxacode?access_token=' + access_token request({ url:'https://api...

request获取重定向的地址

var r = request(url, function (e, response,body) { r.uri response.request.uri console.log(response.statusCode); console.log(this.uri.href); })

uniapp导航栏滚动渐变

<template> <view class="index"> <view class="header" :style="headerStyle"> <view :style="'height: ' + statusBarHeight"> </view> <view class="header-info"> <view class="title" :style="headerTextStyle"> 这个是标题 </view> </view> &l...

部署Let's Encrypt免费SSL证书教程

yum install -y epel-release yum install -y certbot生成证书certbot certonly --webroot -w [Web站点目录] -d [站点域名] -m [联系人email地址] --agree-tos 如 certbot certonly --webroot -w /app/itsse -d itsse.cn -m main@itsse.cn --agree-tos申请成功后,证书会保存在 /etc/letsencrypt/live/itsse.cn/ 查看...