摘要: 封装 IndexedDB 初始化数据库 dbInit () { return new Promise((resolve, reject) => { const connection = window.indexedDB.open('dbname', 2) connection.onsuccess = 阅读全文
posted @ 2020-12-15 19:59 W-it-H-ou-T 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: Red = 255 × ( 1 - Cyan / 100 ) × ( 1 - Black / 100 ) Green = 255 × ( 1 - Magenta / 100 ) × ( 1 - Black / 100 ) Blue = 255 × ( 1 - Yellow / 100 ) × ( 1 阅读全文
posted @ 2020-12-05 14:58 W-it-H-ou-T 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 1 function strToRGB (str = '', opacity = 1) { 2 const resultOpacity = isNaN(Number(opacity)) ? 1 : (opacity > 1 ? 1 : Number(opacity)) 3 const arr = A 阅读全文
posted @ 2020-11-23 13:07 W-it-H-ou-T 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 最小化容器 ctrl + p + q 恢复容器 docker exec -it userdockername /bin/bash 运行容器 docker run -it --name userdockername -v /e/docker/docker_volume:/data node:lates 阅读全文
posted @ 2020-08-05 15:45 W-it-H-ou-T 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 下载压缩包 https://dev.mysql.com/downloads/mysql/ 解压后配置Path环境变量 点击编辑->新建->浏览->选择解压路径的bin目录下(如:E:\MySQL\mysql-8.0.15-winx64\bin) -> 一路确定 以下命令运行在powershell(其 阅读全文
posted @ 2019-07-11 18:35 W-it-H-ou-T 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 显示隐藏文件及文件夹 defaults write com.apple.finder AppleShowAllFiles -boolean true 隐藏文件及文件夹 defaults write com.apple.finder AppleShowAllFiles -boolean false 参 阅读全文
posted @ 2019-07-07 22:46 W-it-H-ou-T 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 创建注册表文件: openFiddler.reg 存放在E:\test\openFiddler.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\protocolName]@="protocolName Protocol""URL 阅读全文
posted @ 2019-07-03 17:25 W-it-H-ou-T 阅读(436) 评论(0) 推荐(0) 编辑
摘要: NodeJS 后端解决 OPTIONS 请求 404 (Not Found) 问题 阅读全文
posted @ 2019-06-23 01:40 W-it-H-ou-T 阅读(6134) 评论(0) 推荐(0) 编辑
摘要: Linux scp 指令 阅读全文
posted @ 2019-06-16 00:40 W-it-H-ou-T 阅读(724) 评论(0) 推荐(0) 编辑
摘要: bat 脚本开机自启动 阅读全文
posted @ 2019-06-11 11:02 W-it-H-ou-T 阅读(1125) 评论(0) 推荐(0) 编辑