Introduction:When monitoring system performance using htop, you may come across the term SWP. But what does SWP mean, and why is it important for programmers and system administrators? This blog will explain what SWP is, how it relates to system performance, and how to interpret it in htop.
What is SWP in htop?In htop, SWP stands for Swap Memory. Swap memory is a portion of the hard drive that the operating system uses as an extension of RAM when the physical memory (RAM) is fully utilized. Whe ...
Installing software on Ubuntu is straightforward, especially when dealing with .deb files, the standard package format for Debian-based systems like Ubuntu. Here’s a quick guide to help you install .deb files using both the GUI and command line.
Method 1: Install .deb Files Using the GUI
Download the .deb File: Get the .deb file from the software provider’s website.
Open the File: Navigate to the folder where the .deb file is saved and double-click it.
Use the Software Installer: The Ubuntu Sof ...
share
未读Introduction:In the world of programming and system administration, monitoring system resources is crucial. One tool that stands out for this purpose is htop. But what exactly is htop, and why should every programmer know about it? Let’s dive in.
What is htop?htop is an interactive process viewer for Unix systems. It’s a more advanced and user-friendly alternative to the traditional top command. With htop, you can monitor system processes, CPU usage, memory consumption, and more in real-time. It ...
思绪很久,一直都是心中的砍,回望过去,感觉做错了很多事,也感觉没做错。
今天头一直痛,已经不是一天两天了,突然看到我与我周旋久,宁做我这句话,感慨万千,也很愧疚,其实日日夜夜都在思考,自己有没有做错?什么才是真我?他人的真我如果被我干涉了,就算客观是对他人着想,会不会也是一种伤害?
好像我真的做错了很多事,看着星星消失,看着月亮打烊,越来越远,也越来越难过
细草微风岸,危樯独夜舟。
星垂平野阔,月涌大江流。
名岂文章著,官应老病休。
飘飘何所似,天地一沙鸥。
“周旋久,宁作我”——君言甚是,守其本心,诚为至要。
忆往日,如有亏欠,愧于心。愿前程似锦,自在安然。
最后,愿健康快乐。
生活记录
未读“我爸得了MVP”是近期在互联网上非常火爆的一个梗,起源于一位名为“小明剑魔”的《英雄联盟》(LOL)主播的直播间。这个梗的核心内容是通过一种幽默的方式,讽刺了游戏中评分系统的不合理性,同时也引发了大家对现实生活中“贡献与评价”的思考。
梗的来源
直播间事件:在一次直播中,主播“小明剑魔”因为排位连败心态崩溃,被弹幕调侃他的剑魔评分不如对手的奎桑提。主播随即开启“吐槽模式”,用家庭成员的比喻来讽刺评分系统的不合理。他说道:“你爸每天出门赚钱,月底结算得了MVP;你妈每天在家洗衣做饭,却被评分为躺赢狗。”这段对话因其幽默和讽刺意味迅速走红。
梗的传播:这段直播切片在B站获得了超过100万的播放量,并被网友广泛改编和二次创作,形成了“xx得了MVP,oo就是躺赢狗”的固定句式,成为了一种新的“联盟圣经”。
MVP的含义:MVP原本是“Most Valuable Player”(最有价值球员)的缩写,常用于体育赛事中表彰表现最出色的球员。但在这一梗中,MVP被赋予了新的含义,用来调侃那些在评分系统中“被高估”的角色或行为。
文化意义
讽刺评分系统:通过家庭成员的比喻,主播揭示了评分 ...
常规优化url优化
固定链接
简化链接,减少网站层级
安装插件
1npm install hexo-abbrlink --save
配置_config.yml
12345#permalink: :year/:month/:day/:title/permalink: article/:abbrlink.htmlabbrlink: alg: crc32 # 算法:crc16(default) and crc32 rep: hex # 进制:dec(default) and hex
启用https看你网站部署在什么平台,如果自建的服务器,那就自己配置了,我这里直接托管cloudflare,自动转https
sitemap
安装插件
1npm install hexo-generator-sitemap --save
后续hexo g会自动生成sitemap文件
robots.txt细节优化后续补充
Missing alt text原主题top_img代码:
12345678910111213141516171819202122232425262728293031 ...
Vim is a highly efficient and customizable text editor, but its steep learning curve can be intimidating for beginners. This guide provides a complete list of essential Vim commands, from basic navigation to advanced editing, to help you master Vim quickly.
Getting Started with VimOpening and Closing Files
Open a File: 1vim filename
Save and Quit:
:w: Save changes
:q: Quit (if no changes)
:wq: Save and quit
:q!: Quit without saving
Basic NavigationCursor Movement
Arrow Keys: U ...
BugHunter
未读How to Undo git reset: A Quick GuideAccidentally running git reset can be stressful, especially if you lose important changes. Fortunately, Git provides ways to recover from this. This guide explains how to undo git reset and restore your work.
Understanding git resetgit reset moves the HEAD pointer to a specific commit, affecting the working directory, staging area, and commit history depending on the mode used:
--soft: Only moves HEAD, leaving the staging area and working directory uncha ...
The “umount target is busy” error is a common issue in Linux when attempting to unmount a filesystem that is still in use. This guide provides quick and effective solutions to resolve the error, ensuring smooth system operations.
Why Does the Error Occur?The error occurs because the target filesystem or directory is actively being used by a process, preventing it from being unmounted. This is a safety mechanism to avoid data loss or corruption.
How to Fix the “Umount Target is Busy” Error1 ...