在开发中,我们可能需要配置本地的ip、端口, 而mac在每次关机后,会重新分配ip。
这时我们就需要重新查看当前的ip了。
ifconfig | grep "inet " | grep -v 127.0.0.1
mac更改时间日期
sudo date 0827102121
月日时分年
最后的21是年
Object.assign深浅拷贝
cra引入文件非全称