摘要:
安装依赖:ohpm install @ohos/axios 阅读全文
摘要:
function str (len = 16) { const str = 'qwertyuioplkjhgfdsazxcvbnm1092837465POLKMNIJUHBYGVTFCRDXZSEWQA'; let sum = ''; for (let i = 0; i< len; i++) { s 阅读全文
摘要:
const bodyJsonSchema = { type: 'object', required: ['requiredKey'], properties: { someKey: { type: 'string' }, someOtherKey: { type: 'number' }, requi 阅读全文
摘要:
问题: 在使用nginx docker 时的挂载卷 为 -v /root/ssl/letsencrypt/live/xxxxxxx:/etc/nginx/cert 然后再nginx 的default.conf 中的证书位置为/etc/nginx/cert/fullchain.pem 就会提示找不到证 阅读全文
摘要:
navigator.sendBeacon 阅读全文
摘要:
压缩图片 ffmpeg -i /Users/user/unZipPic.jpg -q 5 ./zipPic.jpg 视频转gif (-r 压缩比例,-s 分辨率) ffmpeg -i /User/user/video.mp4 -r 3 -s 1920*1080 video.gif 阅读全文
摘要:
console.log(JSON.stringify(new Error('错误信息'), ['name', 'message', 'stack'])) 阅读全文
摘要:
在终端输入defaults write com.apple.appstored LastUpdateNotification -date "2029-12-12 12:00:00 +0000" 阅读全文
摘要:
var Crypto = {}; Crypto.sha1_hmac = function (msg, key) { "use strict"; var oKeyPad, iKeyPad, iPadRes, bytes, i, len; if (key.length > 64) { // keys l 阅读全文
摘要:
function copy(text) { let textarea = document.createElement('textarea'); textarea.value = text; document.body.appendChild(textarea) textarea.select(); 阅读全文