Editor Leon | 六小編

Appreciation of UI Kit

Original link: https://editor.leonh.space/2023/design-system/ This article selects a few of my favorite UI kits, some are CSS UI frameworks in the jQuery era, some are UI kits in the modern front-end era such as Svelte; some are complete design systems, and some are UI components that don’t talk about concepts library. When it comes to UI

Appreciation of UI Kit Read More »

PostgreSQL backup and restore

Original link: https://editor.leonh.space/2023/postgresql-dump-restore/ This article is a note on PostgreSQL backup, and the backup here is a cold backup. The following is the postgres account, which is a Linux account, and there is an account with the same name in PostgreSQL. Because of this, you can perform subsequent operations through the PostgreSQL peer authentication mechanism.

PostgreSQL backup and restore Read More »

OR-Tools from beginner to entry

Original link: https://editor.leonh.space/2023/or-tools/ The OptaPy and OptaPlanner solvers were introduced earlier. This article is about another solver OR-Tools produced by Google. For the integrity of the article, before entering OR-Tools, let’s quickly introduce what is a planning problem. and what is a solver. Planning problems and solvers For general users, they can create some formulas

OR-Tools from beginner to entry Read More »

PM2

Original link: https://editor.leonh.space/2023/pm2/ PM2 is an app server for Node.js, just like Uvicorn or Gunicorn for Python, Passenger for Ruby, and PHP-FPM for PHP. These app servers are responsible for scheduling and supervising apps. The apps here are the projects or programs we write. The app server is usually used as a system service. When

PM2 Read More »

Introduction to Caddy Server

Original link: https://editor.leonh.space/2023/caddy/ Introduction Caddy is a young web server written in Go language, featuring: Supports automatically obtaining and updating TLS 1.3 encrypted certificates from Let’s Encrypt. Use HTTPS as the default communication protocol. HTTP/3 is supported. Support IPv6. It does not depend on other packages or runtimes and can be executed independently, so it

Introduction to Caddy Server Read More »

Passenger Introduction

Original link: https://editor.leonh.space/2023/passenger/ Passenger is the app server responsible for scheduling web apps behind the web server. For how to understand the relationship between web server, app server, and app, we can take a look at the architecture diagram in the Passenger file below: Images courtesy of Phusion Holding BV and other contributors App Server

Passenger Introduction Read More »

Know the solver

Original link: https://editor.leonh.space/2023/solver/ In this article, I will become a little teacher of LibreOffice to introduce you to the solver, and I will explain it with practical examples below. In a self-checkout machine that can change money, assuming that the money to be changed is 12,345, then we can expect that customers should not want

Know the solver Read More »

Build your own NTP service with chrony

Original link: https://editor.leonh.space/2023/chrony/ Time synchronization, or school time, is one of the basic services built into all OSs. Taking Ubuntu as an example, it will calibrate its own time based on the time of ntp.ubuntu.com . NTP (Network Time Protocol) is The current mainstream time agreement. However, in some cases, such as military networks and

Build your own NTP service with chrony Read More »

PostgreSQL replication

Original link: https://editor.leonh.space/2023/postgresql-replication/ Prepare two hosts with PostgreSQL installed, one is called primary and the other is called replica. The concept of replication is that any changes in the primary database will be reflected in the replica immediately, just like the clone of the shadow. Of course, if the two hosts If you are located

PostgreSQL replication Read More »

PostgreSQL Kindergarten

Original link: https://editor.leonh.space/2023/postgresql/ For the database, apart from SQLite, which is exquisitely designed and built in various languages ​​and platforms, I have always used MariaDB/MySQL for the simple reason that most people use it and follow the crowd, but recently I noticed some database cloud services Manufacturers are all based on PostgreSQL, and all bigwigs

PostgreSQL Kindergarten Read More »

Old bottles can also be filled with new wine Ubuntu 14.04 hard-packed Docker actual combat

Original link: https://editor.leonh.space/2022/docker-on-ubuntu-14-04/ Due to some factors, the solution of picking up the old Ubuntu 14.04 and installing Docker must be evaluated. To do this now that Ubuntu 14.04 has been out of the market for many years, of course it is not as simple as apt install docker.io , otherwise this article will not

Old bottles can also be filled with new wine Ubuntu 14.04 hard-packed Docker actual combat Read More »

Podman Quick Notes

Original link: https://editor.leonh.space/2022/podman/ Summary of the previous situation: I mentioned in the self-built Drone CI article before that the Drone server there is run with Podman, and the article leaves a suspense at the end “how to make the Drone server / Drone runner become a service, and the machine will start by itself? “And

Podman Quick Notes Read More »