Process Groups, Sessions and Daemon Overview
Trying to figure out what daemon is,
so I found The Linux Programming Interface and took notes related to it.
Trying to figure out what daemon is,
so I found The Linux Programming Interface and took notes related to it.
Docker can be seen as a simplified VM.
Since it will not install the whole operating system,
it comes with a smaller size and faster speed.
Image contains a lightweight runtime environment,
including some libraries and executables within it.
I’ve moved from Jekyll to Hugo.
This method only fits Jekyll.
A sitemap is a .xml
file that contains the links to all the pages inside a website.
With a sitemap,
a search engine knows the pages and can therefore create indexes for them.
Then, people surfing the internet can find those pages with keywords after that.
There is a plugin called jekyll-stiemap for Jekyll,
which generates a sitemap automatically whenever the website is re-building.
const
with Normal VariablesTwo ways to add const
for normal variables:
const TYPE NAME = VALUE; // more common
TYPE const NAME = VAULE;
Both means this variable cannot be assigned to another value.
For example,
I’ve moved my blog from Jekyll to Hugo.
The way to add like button stays the same,
but the code and where to place the code have to change.
I came across LikeCoin and it piqued my interest.
LikeCoin is a cryptocurrency,
which is invented to encourage content creators.
The content creator can embed a Like Button within the content/web page,
so anyone with a like account who appreciates the content can click the button,
and the content creator will receive the corresponding LikeCoin.
The amount of LikeCoin the content creator will receive depends on the account type of the likers.
The LikeCoin Foundation will pay in proportion for the free account likers,
and payment accounts will pay in proportion for how many likes they click at the month.
The detail can be found at LikeCoin’s Medium.
Every time we create a new folder and add some files in MacOS,
it generates a .DS_Store
file in that folder,
which causes lots of .DS_Store
files spreading all over the places in MacOS,
and it is pretty annoying to add **/.DS_Store
into every .gitignore
file every time we create a new Git repository,
so I find a way to prevent the .DS_Store
file from being tracked in every Git repository.
git config
commandThe git config
command can be used to set a variety of settings for git.
The most famous ones are git config --global user.name
and git config --global user.email
,
which sets user.name
and user.email
globally,
so every git repositories can use these settings.