Tag:edit

  • Manjaro gnome fcitx5 River, a solution to the problem that Chinese can’t be input into the browser in Firefox and vscade

    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 […]

  • Springclub01 – Infrastructure

    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 […]

  • Coding dashboard function is officially launched to realize the visualization of working data!

    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 […]

  • An edit table component based on antd

    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, […]

  • On the development experience of react in one year

    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 […]

  • A customer’s urgent bug, I used two ways to decompile and modify the source code

    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: […]

  • [electron + vue3 + TS actual combat note exe] 1. Build framework configuration

    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, […]

  • How to modify etcd data directly without using k8s API?

    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). […]

  • Data paging of spring boot project (server + client)

    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 […]

  • MySQL select list is not in

    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 […]

  • Configuration scheme of uwsgi + nginx + Django in 2016

    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 […]