Migrate to Hugo
3 Nov 2024 Web blogshellHugo is another popular static site generator that runs faster than Jekyll. Recently, I migrated my blog from Github Page + Jekyll Now to Cloudflare Pages + Hugo.
Hugo is another popular static site generator that runs faster than Jekyll. Recently, I migrated my blog from Github Page + Jekyll Now to Cloudflare Pages + Hugo.
I got to know Linux From Scratch soon after I bought my desktop machine. My first attampt failed at making gcc to setup the “cross-compile” environment. About four years later I picked it up and finally went through my first pass of building LFS. My destop machine has been running LFS happily since then. Two experiences are briefly note down: 1) break dependency circle with building twice; 2) reconfig kernel and build with additional modules.
This post introduces how apply Linux commands to selective targets.
A server machine failed at upgrading from Ubuntu14.04 to Ubuntu16.04,
and many packages are left in half-installed status,
even apt is not working.
I struggled several days to fix those broken packages,
and this post documents some tricks I learnt.
This post introduces how Linux command find is used to find file or directory with certain attributes.
This post introduces how to use escape code to get colorful output in a terminal.
This post contains three shortcuts of bash.
Tip 102:
The terminal text can be cleared by typingCtrl+L. It is the same as the commandclear.
This post contains a tip from TACC helping debug the shell script.
To invoke an editor for a long command, try ctrl-x e (that is holding control key press x then e).
This post contains four tips from TACC
making the shell command cd more versatile.
The bash-completion package does not handle command make,
while we can extend the completion support for make
by adding bash configurations with keyword complete.
The command line prompt in Linux could be customized to user’s need.
It is achieved by modifying a series of environment variables, such as PS1, PROMPT_COMMAND and PS2.