How django uploads batch parsed data from excel in the background

To batch parse data from excel imported from the django background, for example, let's import svn history data back in batchdata formatMacDown logo Suppose there are four columns in the excel table, each of which is version number, attribute, attribute value, warehouse address 2. First, create a new app, then create a new model in the app@pytho ...

Posted on Mon, 11 Nov 2019 03:30:03 -0500 by creocast

Spring Cloud Config configuration center native mode

Background notes Because there is no git or svn in the production environment, you need to use the native mode. In view of the lack of relevant information on the Internet, take this as a starting point to record some common functions of Spring Cloud Config under the native mode. Config server configuration First of all, pom is introduced into ...

Posted on Thu, 17 Oct 2019 22:53:47 -0400 by DuNuNuBatman

Meng Jianzhou manages the code for you.

Before parsing the code, you must be familiar with the code. What aspects can we look at? 1. Look at the history of git, you must run. Drag into the source tree to see the historical changes to the submitted code. Find a way to run. The code that doesn't run can't be understood. 2. Find the right code, ...

Posted on Fri, 04 Oct 2019 15:25:19 -0400 by MCrosbie

Django project: 2. Template extraction

Why extract template, because this can reuse code, reduce the amount of code, need not modify the original code, do not need to add; if different, only need to modify different places separately: more digging, less code, this is the essence of extracting template, digging is ({% block XX%} the code that needs to change {% end bloc {end bloc}. K ...

Posted on Sat, 14 Sep 2019 10:54:50 -0400 by thor erik

jar pack command uses

Today, a bug occurred in the old version of the project, when there was no branch on the svn, so decompile it, find the corresponding files to be modified, replace them, and find the startup failure (Spring boot project) prompt Exception in thread "main" java.lang.IllegalStateException: Unable to open nested entry 'BOOT-INF/lib/antlr-2.7.7.jar ...

Posted on Thu, 25 Jul 2019 13:01:24 -0400 by magnetica

Git uses notes

There are too many git introductions. Google or Baidu have one, no more. It has been almost three years since I contacted git personally. When I first used git as a version management tool, I could use it to check data online. But I was used to the client of svn. I felt that the curve of learning git was very steep. Many commands were always ...

Posted on Tue, 04 Jun 2019 16:18:26 -0400 by warmwind

Test Environment Deployment Scheme-v1

typora-copy-images-to: screenshots Establishing code streams for multiple environments objective For multiple environments configuration and corresponding code can also be managed, self-contained General Preview Branch the code stream of the upper environment to form its own environment code stream Current code stream ...

Posted on Sun, 19 May 2019 14:24:15 -0400 by bpops

Nginx+Keeplived dual hot standby (master-slave mode)

Nginx+Keeplived dual hot standby (master-slave mode) Reference material: http://www.cnblogs.com/kevingrace/p/6138185.html Dual-machine high availability is usually achieved by virtual IP (drift IP) method, based on Linux/Unix IP alias technology. There are currently two types of dual-computer high availability methods: 1. Dual master-slave mod ...

Posted on Sun, 19 May 2019 13:21:28 -0400 by louisstephens

Detailed use of git

Catalog: 1. Advantages of git 2. Concepts to be understood 3. Operational instructions This article will only discuss what git is, the advantages of git, and the commonly used operation instructions. It will not involve the installation of GIT libraries, environment configuration, etc. 1. Advantages of git git is a distributed v ...

Posted on Fri, 17 May 2019 12:39:23 -0400 by dhrubajyoti

svn server configuration under Linux

1. Create Version Library Single-version libraries and multi-version libraries have their own advantages and disadvantages, which are mainly selected according to the specific project situation. 1.1. Multi-library mode Establish ➜ mkdir -p /home/repos ➜ svnadmin create /home/repos/resume ➜ svnadmin create /home/repos/blog ➜ cd /home/rep ...

Posted on Wed, 08 May 2019 15:51:38 -0400 by Shaba1