Tag:edit
-
Time:2021-1-21
Manjaro rollingThe gonme version is 3.38.2How to install fcitx5 sudo pacman -S fcitx5-rime fcitx5-configtool fcitx5-gtk fcitx5-qt fcitx5-material-color After the installation, we found that in addition to the system interface and system applications, there are terminals that can input Chinese, and that neither Firefox nor vscade can switch normally.Edit the configuration file ~ /. Xprofile according […]
-
Time:2021-1-19
When you forget the root password, you will often enter the single user mode to reset the root password. It is very dangerous for anyone to reset the root password through an undefended grub. This paper takes centos8 as an example to introduce how to set grub account to encrypt grub to avoid entering single […]
-
Time:2021-1-18
1、 Spring Club 1. Introduction to spring cloud Spring cloud is a collection of frameworks. It makes use of the development convenience of spring boot to skillfully simplify the development of distributed system infrastructure, such as service discovery registration, configuration center, message bus, load balancing, circuit breaker, data monitoring and so on. All of them […]
-
Time:2021-1-17
Coding dashboard functionNow officially launched! This function is designed in the form of statistical cards,Statistics and displayUse the data generated in coding. This means that valuable work data can be collected and analyzed quantitatively without additional settings. These huge amounts of data will be on the paper in the form of charts or lists, which […]
-
Time:2021-1-16
Component introduction An editable table component encapsulated by table, form and other components based on antd supports single line editing and multi line editing. After editing, the data is automatically saved and updated, which simplifies the linkage between controls and the editing of table data Don’t say anything, just go to the code: Basic use, […]
-
Time:2021-1-14
It’s been a year since I first came into contact with the react project. During this period, I always wanted to write about the development experience of react, but it was shelved for various reasons (in fact, it’s lazy HHH). I also came into contact with some projects in this year. Now I’ll talk about […]
-
Time:2021-1-10
1: Background 1. Tell a story On Friday afternoon, the operator fed back an emergency bug, saying that the customer’s information list couldn’t be opened and needed to be solved urgently. The attached log file was also sent. After looking at the log, it looks like this: Date: 2020-11-13 12:25:45923 thread ID: [3924] log level: […]
-
Time:2021-1-6
Don’t let your upper limit be your bottom line preface In order to keep up with the pace, I tried vue3. While learning vue3, I also learned the first-hand electronics and ts. this tutorial will be published separately, and the source code will be published in the final article. Because it is still under development, […]
-
Time:2021-1-5
Author: flat staffTranslation: BachProofread by: Wenzai (talent cloud) and BOT (talent cloud) under the starry sky Have you ever considered the “low-level” method of changing etcd data of kubernetes cluster? That is to say, the data stored in etcd can be changed without using any common kubernetes tools (such as cli program or even API). […]
-
Time:2020-12-31
1、 Server configuration (take news table as an example) 1. Modifying Dao inherits from crudrepository package edu.ynmd.cms.dao; import edu.ynmd.cms.model.News; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface NewsDao extends CrudRepository<News,String> { @Query(“select n from News n order by n.pbdate desc “) Page<News> getNewsForPage(Pageable pageable); @Query(“select n from News n […]
-
Time:2020-12-30
SELECT list is not inGROUP BY clause and contains nonaggregated columnMySQL strict mode mainly uses the following scenarios Inserting null values into not null fields is not supported Insertion of ‘0’ values for self growing fields is not supported Text field with default value is not supported We can close it when we don’t need […]
-
Time:2020-12-28
uwsgi Create in Django project directoryuwsgi.ini [uwsgi] socket = 127.0.0.1:8001 master = true processes = 5 chdir=/home/bug/PycharmProjects/JEW/ env = DJANGO_SETTINGS_MODULE=JEW.settings module = JEW.wsgi:application virtualenv = /home/bug/PycharmProjects/JEW/ENV enable-threads= True thunder-lock= True nginx edit/etc/nginx/sites-available/defaultIt is as follows server { listen 80 default_server; listen [::]:80 default_server; index index.html index.htm index.nginx-debian.html; server_name _; location / { include uwsgi_params; uwsgi_pass […]