centos搭建gitlab私服
初始化配置1. 编辑 /etc/resolv.conf,添加公共 DNSnameserver 8.8.8.8 nameserver 114.114.114.114 2. 更换yum镜像源备份原来的 repo 文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里云的 C...
初始化配置1. 编辑 /etc/resolv.conf,添加公共 DNSnameserver 8.8.8.8 nameserver 114.114.114.114 2. 更换yum镜像源备份原来的 repo 文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里云的 C...
逐次逼近型ADC测量电压通过不断缩小输入电压与参考电压之间的差异,逐步逼近输入电压的真实值,并将其转换成对应的数字形式 1. 外部供电电压作为参考公式:(Vref: 外部参考电压, Vin:输入电压)$$ADC读数 = \frac{Vin}{Vref} . (2^n - 1) => Vin = \frac{ADC读数}{2^n - 1} . Vref$$这...
.clang-format BasedOnStyle: LLVM IndentWidth: 4 UseTab: Never ColumnLimit: 80 PointerAlignment: Left BreakBeforeBraces: Attach AllowShortLoopsOnASingleLine: true AllowShortIfStatementsOnASingleLine...
如有侵权,请联系作者哦!!!
我的第100篇文章,长路漫漫,唯有坚持才能成功 创建部署文件在根目录下创建:.github/workflows/xx.yml文件 name: GitHub Actions Build and Deploy Demo on: push: branches: - main jobs: build-and-deploy: runs-on:...
平台:termux-app服务器版本: 8.0.40-0ubuntu0.20.04.1 修改配置文件默认在:/etc/mysql/mysql.conf.d/mysqld.cnf bind-address改为0.0.0.0即可 执行一堆命令mysql>use mysql; mysql>select host from user where ...
安装sudo apt update sudo apt upgrade sudo apt install redis-server 配置远程连接修改配置文件: vim /etc/redis/redis.conf # 注释掉绑定地址#bind 127.0.0.1,让Redis可远程访问 # bind 127.0.0.1 ::1 #取消注释requirepass 启动密码认证,并设置访问密码...
摘自文章:https://blog.csdn.net/m0_49073940/article/details/127779168 下载termux-app地址:https://github.com/termux/termux-app/releases 更新源apt update 更新软件apt upgrade -y 安装wget和prootapt install wget proot -...
前言所谓脚手架,就是提前写好一些固定的文件模板,所以你需要先上传自己的模板到git仓库 配置文件config.js这个里面可以写你所有项目模板 const projectList = { vueRouter: "https://github.com/ConsoleLZ/vue-router-cli.git" }; module.exports...
import MiniSearch from 'minisearch' const tokenizer = (str) => { // 分词逻辑,返回完整的单词以及单词的部分片段 const words = str.match(/[\u4e00-\u9fa5]+|[a-zA-Z0-9]+/g) || []; const subStrings ...