MacOS系统网络配置 IP地址配置手动指定IP以下3个命令都可以完成IP地址的配置: ifconfig interface [address_family] [address [netmask]] ipconfig set interface-name (MANUAL | INFORM) ip-address subnet-mask networksetup -setmanual 手动指定IP举例: 123 2023-11-27 #macos #网络配置
Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick 2023-11-27
mips平台下交叉编译shellinabox 编译环境:openwrt-19.07 MT7621-MIPS 下载openwrt-shellinabox构建包克隆openwrt-shellinabox到package/shellinabox 下 1git clone https://github.com/openwrt-develop/openwrt-shellinabox package/shellinabox openwrt-s 2021-10-26 其他 #mips #openwrt #shellinabox
CSS3新特性 CSS3学习权重计算css优先级规则 css选择规则的权值不同时,权值高的优先; css选择规则的权值相同时,后定义的规则优先; css属性后面加 !important 时,无条件绝对优先; !important > 行间样式 > id > class | 属性 > 标签选择器 > 通配符 权值等级划分一般来说是划分4个等级: 第一等级:代表 内联样式,如 2021-10-25 网页前端 > css3 #css3
git代码回滚 1. 未使用git add 缓存代码 使用git checkout – filename,注意中间有– 1git checkout -- filename 放弃所有文件修改 git checkout . 1git checkout . 此命令用来放弃掉所有还没有加入到缓存区(就是 git add 命令)的修改:内容修改与整个文件删除 此命令不会删除新建的文件,因为新建的文件还没加入gi 2021-10-23 git #git
ubuntu下搭建邮件收发服务器 搭建邮件收发服务器搭建发邮件服务器安装postfix1apt-get install postfix 修改postfix配置文件vim /etc/postfix/main.cf 12345678# 修改服务器域名mydomain = example.com# 对所有IP地址提供服务inet_interfaces = all# 提供服务类型,这里只讨论邮件发送myde 2021-10-21 #邮箱 #email
markdown 绘制图形 在线制作图形并生成mermaid 流程图流程图1PS: hexo不支持流程图需要安装flowchart插件 1npm install --save hexo-filter-flowchart start:开始框 operation:处理框 condition:判断框 inputoutput:输入输出框 end:结束框 subroutine:子流程 各框通过“->”连接。定义上述基本 2021-10-21 #typora #mermaid
hexo安装及fluid主题插件安装 此教程使用的操作系统是Ubuntu18.04。 安装node 使用nvm安装node及npm 安装nvm12# nvmcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash 使用nvm安装node1234# 安装最新的node及npmnvm install node# 安装指定版本的node 2021-10-21 #hexo #个人博客 #fluid