Vitamin Cheat Sheet
- Vitamin A: Vision & Immunity | Carrots, Spinach
- Vitamin B1: Energy & Nerves | Whole Grains, Pork
- Vitamin B2: Metabolism | Milk, Eggs
- Vitamin B3: Skin Health | Poultry, Fish
- Vitamin B5: Hormone Synthesis | Avocado, Eggs
- Vitamin B6: Brain Health | Bananas, Chicken
- Vitamin B7: Hair & Nails | Eggs, Almonds
- Vitamin B9: Fetal Development | Leafy Greens, Legumes
- Vitamin B12: Blood & Brain | Meat, Dairy
- Vitamin C: Antioxidant | Citrus, Broccoli
- Vitamin D: Bone Health | Sunlight, Salmon
- Vitamin E: Cell Protection | Nuts, Seeds
- Vitamin K: Blood Clotting | Kale, Broccoli
Key Nutrients Beyond Vitamins:
- Omega-3: Heart & Brain | Salmon, Walnuts
- Magnesium: Over 300 Reactions | Spinach, Nuts
- Probiotics: Gut Health | Yogurt, Sauerkraut
- Zinc: Immune Function | Meat, Seeds
- Fiber: Digestion & Heart | Beans, Whole Grains
- Iron: Oxygen Transport | Red Meat, Lentils
- Calcium: Bone Strength | Milk, Kale
Final Tip: Combine nutrients wisely and maintain a balanced lifestyle with exercise and hydration for optimal health.
Calibre Platform Support - 2024
Platform Identifiers for Calibre Install Files and Runtime Directories
Calibre provides different executables that are optimized for different Linux distributions, and each has its own platform identifier. The platform identifier is sometimes referred to as a VCO, which refers to a Vendor-CPU-OS combination. The platform identifier is first used to identify which install files should be downloaded. After installation the platform identifier and release version number are used to identify the Calibre runtime directory, generally referred to as a MGC_HOME tree. Each Calibre MGC_HOME tree can only be used with specific OS versions and must run on hardware that supports the minimum CPU instruction set identified for that MGC_HOME tree. Note that when using Calibre with distributed processing, the MGC_HOME trees on the master host and all remote hosts must all have the same platform identifier.
Install Linux Editor Atom
Vim: Move Cursor With Command "f|F|t|T"
f
命令移动到光标右边的指定字符上,例如,fx
,会把移动到光标右边的第一个x字符上。F
命令则反方向查找,也就是移动到光标左边的指定字符上。t
命令和f
命令的区别在于,它移动到光标右边的指定字符之前。例如,tx
会移动到光标右边第一个x字符的前面。T
命令是t
命令的反向版本,它移动到光标左边的指定字符之后。- 这四个命令只在当前行中移动光标,光标不会跨越回车换行符。
- 可以在命令前面使用数字,表示倍数。例如,
3fx
表示移动到光标右边的第3个x字符上。 ;
命令重复前一次输入的f, t, F, T命令,而,
命令会反方向重复前一次输入的f, t, F, T命令。这两个命令前也可以使用数字来表示倍数。
开学寄语
- Hold enthusiasm for dreams from inside. You are never anybody’s copy.
- Stay curious, stay thirsty.
- Be exploring throughout life journey.
- Different life phases, different companies.
- History has the story.
- Simply believe yourself, but not anyone else.
- Make bridges from heart to heart by empathy.
- Failure is the ladder to success.
- Erase the past. Be faithful to the future.
- Home is your unconditional recharge station.
Tmux Quick Guidance
1. Tmux Configuration
1.1 ~/.tmux.conf
1 | # set prefix2 to Ctrl+Space |
1.2 ~/.tmux.conf.local
1 | tmux_conf_copy_to_os_clipboard=true |
2. Tmux Shell Commands
Action | Shell Command |
---|---|
New session | % tmux |
New session with a name | % tmux -s [name] |
List sessions | % tmux ls |
Attach to last session | % tmux a |
Attach to session with a name | % tmux a -t [name] |
3. Daily Commands
Action | Command (prefix + …) |
---|---|
New session | :new |
New window | c |
New pane (horizontal) | - |
New pane (vertical) | | |
Rename session | :rename -T [name] |
Rename window | , |
Rename pane | :selectp -T [name] |
Show all sessions | s |
List/preview windows | w |
Select window by number | 0-9 |
Select previous window | p |
Select next window | n |
Toggle last active window | l |
Move to previous session | ( |
Move to next session | ) |
Detatch from session | d |
RHEL7配置ssh - 限制/允许IP
1 | # firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="10.10.1.10" port protocol="tcp" port="22" accept' |
Install Xfce & Lightdm
Instead of GNOME desktop with GDM which is configured by default in Redhat, I’m told that xfce+lightdm is much more lighted and efficient. So I tried that out today. Let’s see how to deply xfce+lightdm in CentOS7.9.
Install EPEL (Extra Package for Enterprise Linux)
1 | # yum install epel-release |
Install xfce & lightdm
1 | # yum groupinstall xfce |