`yum install y npm bzip2 升级node到最新版 npm install g n n latest 安装yarn curl silent location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo yum install y yarn`Original ur...
背景最近来了个实习僧小弟,安排他实现对目标网站 连通性检测的小功能,简单讲就是将下边的shell 脚本换成Java 代码来实现```!/bin/bashURL="https://www.baidu"HTTP_CODE=`curl o /dev/null s w "%{http_code}" "${URL}"`echo $HTTP_CODEif ;thencurl 'htt...
最新评论