32k 29 分钟

# Hexo 使用手册 # 1. Hexo 安装流程 # 1. 基础环境 安装 NodeJs 安装 hexo-cli : 全局安装 npm install hexo-cli -g # 2. 初始化项目 初始化项目文件夹 : hexo init blog 安装 node 依赖: cd blog && npm install 启动项目: hexo server -p port 指定本地启动端口,默认为 4000 测试指令: hexo clean && hexo generate && hexo...
12k 10 分钟

# 前端基础知识 # 1. HTTP 和 HTTPS # 1.http 和 https 的基本概念 http: 是一个客户端和服务器请求和应答的标准 (TCP), 用于从 www 服务器传输超文本到本地浏览器的超文本传输协议 https: 是以安全为目的的 HTTP 通道,即 HTTP 下加入 SSL 层进行加密。作用:建立一个信息安全通道,来确保数据的传输,确保网站的真实性 # 2.http 和 https 的区别及优缺点 http 是超文本传输协议,信息是明文传输,HTTPS 协议要比 http 协议安全,https 是具有安全性的 ssl...
1.6k 1 分钟

# Linux # 1. Centos 8 nmcli connection reload 重启5-2-1、手动(BOOTPROTO=none)nmcli connection modify eth0 ipv4.method manual ipv4.addresses 192.168.123.206/245-2-2、dhcp(BOOTPROTO=dhcp)nmcli connection modify eth0 ipv4.method auto5-3、修改IP地址(IPADDR=192.168.123.206 PREFIX=24)nmcli connection modify eth0...
1.9k 2 分钟

# IP 节点管理 SQL 查询节点池中的所有节点名称以及更新截止时间等相关信息 SELECT b.valid_id,a.code,b.server_url,b.provide,a.ip,a.port,a.country,a.province,a.city,a.county,a.pcc,a.isp,a.finish_time,a.invalid_time FROM http_ip_pool AS a left JOIN http_product_dynamic_node AS b ON a.CODE = b.CODE ORDER BY invalid_time ASC2.mysql...
4.9k 4 分钟

# Git # git 推送本地仓库到远程分支的流程 常用命令 命令说明 命令 初始化仓库 git init 添加文件到本地仓库 git add .(文件 name) 添加文件描述信息 git commit -m “first commit” 添加远程仓库 git remote add origin + 远程仓库地址 同步远程分支 git pull origin master 线性合并远程仓库 git pull --rebase origin master (无需 commit) 推送到远程分支 git push origin master...