See The World

“代码”

代码笔记

shell - 动态查看日志

$ cat toolbox.sh #!/bin/sh SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd)&quo...

node - MacOs install nvm

1. 安装nvmbrew install nvm 添加配置You should create NVM's working directory if it doesn't e...

node - npm 切换阿里源

查看当前 npm 使用的源npm config get registry切换阿里源npm config set registry https://registry.npmmirror.com

CSS - Flex 居中

flex 布局可以实现水平和垂直的居中,具体方法如下:水平居中水平居中可以使用 justify-content 属性,设置为 center 即可。.container { display: ...

shell 修改hosts ip 绑定

脚本功能定时检查域名的连通性,如果不通,则从ip列表中遍历检查连通性ip通则与域名绑定到 hosts 文件中#!/bin/bash DOMAIN=api.weixin.qq.com IP_LI...