grimoire | 五葉魔法書

[Docker] Deploy your own website

Original link: https://grimoire.cn/docker/site-with-blog.html install docker First we update the server software sudo apt-get update sudo apt-get upgrade Then we install docker curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun After waiting for a while, after the installation is complete, let’s check the version number: mrsen@desktop:~$ docker -v Docker version 20.10.18, build b40c2f6 Next, let’s

[Docker] Deploy your own website Read More »

[Docker] Deploy your own website

Original link: https://grimoire.cn/intro/site-with-blog.html install docker First we update the server software sudo apt-get update sudo apt-get upgrade Then we install docker curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun After waiting for a while, after the installation is complete, let’s check the version number: mrsen@desktop:~$ docker -v Docker version 20.10.18, build b40c2f6 Next, let’s

[Docker] Deploy your own website Read More »

Record a T0 accident

Original link: https://grimoire.cn/intro/t0-925.html beginning As you can see, my server has been crashing for two days on September 25th and September 26th, 2022. The reason for this is that on September 23rd, I noticed that the response speed of my blog dropped so fast that every time I opened a page, it took more than

Record a T0 accident Read More »

Record a T0 accident

Original link: https://grimoire.cn/daily/t0-925.html beginning As you can see, my server has been crashing for two days on September 25th and September 26th, 2022. The reason for this is that on September 23rd, I noticed that the response speed of my blog dropped so fast that every time I opened a page, it took more than

Record a T0 accident Read More »

[TypeScript] Basic Types

Original link: https://grimoire.cn/js/typescript-1.html As a superset of JavaScript , typescript provides strongly typed features on the basis of JavaScript , which can significantly reduce the output of bugs when developing programs written in typescript . base type Although it is also a strongly typed language, typescript obviously has looser restrictions on types than golang and

[TypeScript] Basic Types Read More »

[C++] Basic usage of class

Original link: https://grimoire.cn/cpp/cpp-class.html Tips: The class-related content of C++ is similar to the class of java, you can refer to it for learning As an object-oriented language, C++ is of course the concept of classes and objects, so how should we create a class? In C++, we can create a class through the class keyword,

[C++] Basic usage of class Read More »