02 2022 档案
Docker安装报错Hardware assisted virtualization and data execution protection must be enabled in the BIOS
摘要:Docker for Windows error: "Hardware assisted virtualization and data execution protection must be enabled in the BIOS" 重要概念:镜像、容器 镜像:可以理解为软件安装包,可以方便的进
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript"> window.onload = function(){ var bts = document.ge
阅读全文
摘要:后台方法 async download() { const {ctx,app} =this; let fileName = 'hello.js' const filePath = path.resolve(app.config.static.dir,fileName); // ctx.attachm
阅读全文
摘要:momentjs中文网 | Moment.js 安装 npm install moment --save # npm yarn add moment # Yarn Install-Package Moment.js # NuGet spm install moment --save # spm me
阅读全文
摘要:图片转成base64,体积会变大33%,所以大点的图片也不建议转换 base64 生成步骤 例如:有个单词要转成base64: Hello 1. 找到每个字母对应的ASCII值 ASCII值控制字符ASCII值控制字符ASCII值控制字符ASCII值控制字符0NUT32(space)64@96、1S
阅读全文
摘要:Docker安装 #1、卸载旧的版本 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-1ogrotate \ docker-1ogrota
阅读全文
摘要:安装前提条件 1、nodejs 2、mongodb数据库 说明:主要安装的nodejs版本不能太高了,不然容易失败 一开始用v14的版本安装失败,改用v12的版本安装成功 Yapi官方文档 npm install -g yapi-cli --registry https://registry.npm
阅读全文
摘要:注意:请在服务端运行!!! 结构代码 <div id="app"> <h5>imToken</h5> <p>当前环境:<span class="env">null</span></p> <button class="Web3Button">Web3js获取信息</button> <h2>Accoun
阅读全文
摘要:yum源下载地址 网易163网络源地址:http://mirrors.163.com/ CentOS网络源地址:http://centos.ustc.edu.cn/centos/ 检查yum源是否安装 rpm -qa|grep yum 卸载yum源 rpm -qa|grep yum|xargs rp
阅读全文
摘要:sudo命令 $ sudo 执行命令后,输入当前管理员用户的密码就可以短暂得到超级用户的权限了 sudo -i命令 $ sudo -i 通过此命令直接输入当前管理员用户的密码就可以进入root用户了 想一直使用root权限,可以使用su命令 想一直使用root权限,可以使用su命令 $ sudo p
阅读全文