#!/bin/bash
# =====================================================================
# Script Name: example_script.sh
# Description: Template for a production-ready shell script
# =====================================================================
# Enable Strict Mode
# Exit on error, treat unset variables as errors, and fail on errors in pipelines.
set -euo pipefail
-
Read more
-
Linux Using Notes
Flush DNS cache
sudo resolvectl flush-caches
Install dynamic libs *.so
After installing, use
ldconf
to refresh symbolic links and caches, or apps may not find your newly installed *.so.rsync vs scp
They are similar tools but you may prefer to use one over another in certain cases:
- scp is …
-
Tmux Notes
Common Sense
Tmux is an open-source terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time.
Terms:
- Session: A session can have multiple windows.
- Window: A window …
-
Hello Pelican
I've decided to migrate my blog from Hexo to Pelican. The main reason? I want a lighter site. Maybe I'm getting older and a bit more boring, but I've grown tired of all the fancy CSS animations. Simplicity just feels right these days. Also, it's a pain in the butt …
Read more -
About Me
- 🔭 I am Zijun(Mark) Yang, an undergraduate majoring in CS at UMich and ECE at UM-SJTU Joint Institute.
- 👨💻 I'm currently working on RISC-V XuanTie Linux System Platform at DAMO Academy Alibaba Inc.
- 🛠️ Budget dev boards are my playground, with the Orange Pi Zero 3 and LicheeRV Nano being my favorites …
-
Things I Did to Start a Public GNU/Linux Server Among My Friends
0. Create 2 users
An admin user and a public user
pub
.Since there's no malicious guys in my friends, I'm not preparing to create an account for each of them. Rather, they will be logged in to a same public account. It also enforces them to store only public …
Read more -
A Wish Posting and Realizing Platform
-
Regular Expression Learning Notes
-
Definition of Maturation in My Dictionary
Maturation is to pack oneself into a class, so that others do not need to know how exactly you handle their function calls.
Read more -
Definition of Love in My Dictionary
To love someone is to let her keep a piece of my soul, a Horcrux.
To departure is to call back that broken soul.
Read more