人是怎样废掉的?
- 一、懒
- 二、谗
- 三、拖延
- 四、爱熬夜!:继续睡觉做梦;
- 五、自控力差
- 六、整天精神内耗
- 七、停止思考不学习
- 八、假装努力,持续幻想
- 九、言语上的巨人,行动上的矮子
release-version/rocky-linux/rocky-linux-init.sh
Rocky Linux 发行版本默认检查安装基础工具包含:
1 | # Define tools list in lowercase |
全球化支持的增强
更精确的字符处理
2024 年 3 月
你们中的大多数人可能认为,当您被释放到所谓的现实世界中时,您最终将不得不找到某种工作。 这不是真的,今天我要谈谈一个可以用来避免找工作的技巧。
诀窍是创办自己的公司。 所以这并不是逃避工作的伎俩,因为如果你创办自己的公司,你会比从事普通工作时更加努力。 但你会避免工作带来的许多烦人的事情,包括老板告诉你该做什么。
[Note]:
1 | cmake |
Bram Moolenaar is a Dutch computer programmer and the creator of the famous text editor Vim.
Bram Moolenaar was born in 1961 in The Hague, Netherlands. In his career, he has worked in multiple fields such as software development and system management. However, his most well-known contribution was the creation of Vim, a popular text editor.
In 1991, the standard editor Vi for Unix at that time had very limited versions on the MS-DOS platform, and Bram Moolenaar decided to develop a more powerful and scalable editor. He released the first version of Vim (Vi IMimproved) in 1991 and continued to drive its subsequent development and improvement.
【问题】:导致 rsync 服务同步失败,报错信息: "protocol version mismatch — is your shell clean?"。
【原因】:rsync 等工具非常依赖于 shell 执行时没有任何输出。
【建议】:不建议在.bashrc 中输出 neofetch、banner 类和 motd 类提示信息,在~/.profile 中 source ~/.bashrc 可以避免此问题,但需注意.profile循环引用执行问题。
chattr 命令,专门用来修改文件或目录的隐藏属性。在部分 linux 发行版中,部分存在 chattr 本身执行权限移除的默认设置,导致 root 用户无法编辑相关文件且 chattr 命令无法修改文件属性。解决的思路是先解决 chattr 本身的文件属性,确保 chattr 可用。
解决方案如下:
MacOS 系统升级导致 brew 发行包 Nginx 服务 Service 无法启动或启动失败,提示隐私或权限问题,系统限制 root 用户运行。
此脚本用于解决 MacOS 升级新版后,基于 Homebrew 发行的 Nginx 包守护服务无法启动运行问题。
此问题一般由 MacOS 更新的权限隐私策略与 nginx 守护服务权限冲突导致服务无法启动。该脚本通过直接操作 nginx 服务进程实现服务的快捷管理,增加常用进程基础检查操作,封装快捷操作脚本。
Homebrew 安装 nginx:
1 | brew install nginx |