“慢生活”不是懒惰,放慢速度不是拖延时间,而是让我们在生活中寻找到平衡。网站首页程序人生
linux 隨機數shuf命令詳解
发布时间:2022-02-11 21:38:33作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
首先看看如下命令執行結果[root@localhost ~]# shuf -i 1-10000 -n 1 -o 1.txt[root@localhost ~]# cat 1.txt9630這裏shuf命令是產生隨機數的,-i就是接收一個輸入,這個輸入
阅读全文>>安卓通過adb調試回到home界面
发布时间:2022-02-11 21:26:19作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
今天同事開發時遇到一個問題,客戶郵遞過來的安卓設備沒有底部導航,進入chrome瀏覽器后無論如何都無法返回桌面了。於是我想到可以通過adb命令以shell去重啓桌面進程,但是後來
阅读全文>>解決centos7二進制方式安裝docker啓動dockerd報錯中包含"executable file not found in $PATH"
发布时间:2022-02-09 22:29:14作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
當你發現,systemctl restart docker后又會報錯“failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid”總之你
阅读全文>>centos7二进制安装docker及docker hello world项目运行
发布时间:2022-02-08 23:24:57作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
为什么选择二进制方式安装,因为centos7,docker并没有为它提供,虽然提供了rhel但是它提供的rhel不支持我的x86_64的cpu架构。 安装的先决条件: Prerequisites Before attemptin
阅读全文>>GatewayWorker-Linux系统快速开始(从一个精简的聊天demo开始)
发布时间:2022-02-07 18:10:08作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
下載demo源代碼https://www.workerman.net/download/GatewayWorker.zip
然後解壓源代碼
進入start.php目錄中然後執行如:
[root@localhost GatewayWorker]# /usr/local/php7