Linux learning assignment - settings of recycle bin
Linux recycle bin – create a simple recycle bin with a shell script
Requirements to be met
Write a script – myrm SH, delete files. It has the function of recycle bin. All deleted files are stored in / my_backup directory;Write a script that can recover deleted files_ back. SH, which can restore the deleted file to the original pat ...
Posted by Darkness Soul on Thu, 03 Mar 2022 21:32:04 +0100
Kotlin writes an interpreter --- lexical analysis
Why
Recently, I'm very interested in compilers. Why should I learn the compilation principle? For me, it's because I need to write a DSL and an interpreter recently. For most programmers, learning compilers may have the following three aspects:
(1) Learning compiler design can help you better understand the program and how the computer runs ...
Posted by tisource on Thu, 03 Mar 2022 21:29:25 +0100
memcpy_s,strcpy_s or strcpy, memcpy? Usage of memset()
Choose to use memcpy_s,strcpy_s or strcpy, memcpy? Usage of memset()
memcpy_s,strcpy_ The s function explicitly specifies the size of the target memory, which can clearly expose the problem of memory overflow, while ordinary strcpy and memcpy will not.
In order to ensure sufficient space for memory copy and prevent clerical errors, [try to ...
Posted by buckit on Thu, 03 Mar 2022 21:25:51 +0100
Common knowledge of Java development [convenient development or some common pits]
BeanUtils.copyProperties(packedDTOS.get(0), docContent) Bean copying the attributes of the entity class can avoid many assignments, but pay attention not to overwrite when the dest element has a value.likeBOs != null && ! likeBOs. isEmpty() . List blank abbreviation Equivalent to! CollectionUtils.isEmpty(likeBOs)Common sense: null poi ...
Posted by dcampbell18 on Thu, 03 Mar 2022 21:23:18 +0100
Spring Cloud of springcloud+springcloud+vue+uniapp distributed micro service E-commerce mall creates a unified authentication service based on JWT
The authentication service must have user information, otherwise how to authenticate whether it is a legal user? Because it is an internal call authentication, it can be simpler. Database management is one way. User configuration or distributed information can be perfectly integrated.
Table structure
The case in this tutorial omits the step ...
Posted by vcv on Thu, 03 Mar 2022 21:22:10 +0100
Creating databases and tables using AnalyticDB MySQL
brief introduction
The goal is to let cloud data warehouse users and developers experience the main process of building cloud native data warehouse based on AnalyticDB MySQL and DMS through simple steps. The scene will be through the links of instance opening, structure and data initialization, report development, report visualization and so o ...
Posted by todd2006 on Thu, 03 Mar 2022 21:20:06 +0100
Feature Engineering - text features
be careful:
1. All the articles in this series are mainly developed by the gradient lifting tree model. The extracted features are mainly to help the gradient lifting tree model mine the information it can't mine. All the features introduced in this paper can be directly added to the model as features, which is slightly different from the stra ...
Posted by davinci on Thu, 03 Mar 2022 21:20:29 +0100
http.FileServer and HTTP StripPrefix
http.FileServer
func FileServer(root FileSystem) Handler
The FileServer returns an HTTP processor that uses the file system interface root to provide file access services. To implement using the file system interface of the operating system, use HTTP Dir:
http.Handle("/", http.FileServer(http.Dir("/tmp")))
Use cases of official docu ...
Posted by GremlinP1R on Thu, 03 Mar 2022 21:16:39 +0100
No need to rebuild the cluster and easily replace the certificate!
Wang Hailong, technical manager of Rancher China community, is responsible for the maintenance and operation of Rancher China technology community. He has 6 years of experience in the field of cloud computing and experienced the technological transformation from OpenStack to Kubernetes. He has rich operation and maintenance and practical experi ...
Posted by AKalair on Thu, 03 Mar 2022 21:13:18 +0100
ASP. Routing in net core
This article is a personal note based on the official documents. Some simple contents are useless. Please refer to the official documents: https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/routing?view=aspnetcore-5.0
Definition: routing is the executable endpoint (code processing unit) responsible for matching the incoming http reque ...
Posted by lordvader on Thu, 03 Mar 2022 21:12:01 +0100