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