03 2023 档案
摘要:1.安装squid(全程使用root账号,如使用其他请注意权限问题) yum install squid 2.生成代理的账号密码 #如果没有htpasswd命令 先安装sudo yum install httpd-tools #zsp为用户名,按自己实际情况替换 htpasswd -c /etc/s
阅读全文
摘要:docker run -p 5433:80 \ -e "PGADMIN_DEFAULT_EMAIL=登录账户" \ -e "PGADMIN_DEFAULT_PASSWORD=密码" \ -d dpage/pgadmin4
阅读全文
摘要:const str = '你好,世界!'; const length = Array.from(str).reduce((acc, cur) => acc + (cur.charCodeAt(0) > 255 ? 2 : 1), 0); console.log(length); // Output:
阅读全文
摘要:1. 打开dockerhub查找postgres版本 地址 https://registry.hub.docker.com/_/postgres/tags 2.复制需要的版本 docker pull postgres:alpine3.17 复制需要的版本到服务器上执行 3.运行容器 -d 后台运行
阅读全文
摘要:1.设置popper-class 和popper-append-to-body 属性 <el-select v-model="value" placeholder="请选择" popper-class="lioverhide" :popper-append-to-body ="false"> </e
阅读全文
摘要:1.官网地址 http://mozilla.github.io/pdf.js/getting_started/ 2.下载旧版本 3.复制到项目地址中使用<a>标签 <a href="../content/pdfjs-3.4.120-dist/web/viewer.html?file=xxx.pdf"
阅读全文