Publish your own Python Library

These two days, for convenience, I tossed about a tool I wrote, and studied how to publish my Python library. Recorded here, I mainly introduced the following contents. The complete process of publishing Python Libraries The Method of Publishing Your Command Line Tools through Python Library Check d ...

Added by dvd420 on Thu, 01 Aug 2019 09:33:21 +0300

Introduction of filters, monitors, interceptors and their usage in SpringBoot

Filter Dependency and servlet containers play a role in almost all requests. Initialization of init method is used at container startup, and then doFilter() is called for each request. The main purpose is to filter character encoding and make some business logic judgments. Its working principle is tha ...

Added by rathlon on Thu, 01 Aug 2019 05:29:36 +0300

Super fun vbs code (prank code)

Original Link: https://blog.csdn.net/dongge825/article/details/8025451   VBScript is short for Visual Basic Script, Microsoft Visual BASIC scripting language, sometimes abbreviated as VBS.It is a lightweight interpretive language in M ...

Added by MickeySox on Thu, 01 Aug 2019 04:42:33 +0300

python downloads ECMWF European Center data in batches

The api provided by ECMWF European Center can only be downloaded in a single time. I have changed it a little and can download it in batches according to the time. Detailed steps are as follows: 1. Registered account obtains key. Website:https://cds.climate.copernicus.eu/#!/home The url and key are stor ...

Added by kobmat on Wed, 31 Jul 2019 18:34:56 +0300

How does git submodules accommodate Baichuan

sumodules git submodules test 1. Use scenarios Submodules have a situation that we often encounter: a project in one job needs to include and use another project. Maybe it's a third-party library, or a library you developed independently for multiple parent projects.Now here's the problem: You want to think of them as two separate projects, and ...

Added by ow-phil on Wed, 31 Jul 2019 14:22:07 +0300

Programming to Realize Linear Programming-Simplex Method

Programming Realization of Simplex Method (Part I) I. Basic concepts 1. Standard Form of Linear Programming Problem 2. Simplex Method for Linear Programming (Table) 3. Artificial Variable Method 2. python Programming of Simplex Method Step1: Establishing Simplex Table Classes Step2: Iterative Func ...

Added by gerbs987 on Wed, 31 Jul 2019 12:40:05 +0300

Spring Security OAuth2 requests to carry client information verification, custom exception return, no right to handle, token failure handling

Above address: Spring Security OAuth 2 (1) (password,authorization_code,refresh_token,client_credentials) gets token The last blog wrote a simple token authentication server of OAuth2, which only implements four ways to acquire token. It does not deal with exception handling, unauthorized handling, data integrity checking before token generatio ...

Added by pleisar on Wed, 31 Jul 2019 06:39:51 +0300

Part 6: Implementing a set of ui component library (loading) components of vue on pc side from scratch

Episode 6: Implementing from scratch (loading components) Location of this episode: loading component I believe that as long as there are projects interacting with the back end, it is needed. Although the component is simple, its role is very important: Let the user have a good experience, that is, to give the user a signal,'I'm doing it, wai ...

Added by MattAdamson on Tue, 30 Jul 2019 16:22:00 +0300

Playing with Type Conversion in mybatis

1. Scene This requirement is common in everyday java development, where 0 or 1 code (not limited to numbers) is used to represent a certain state. For example, 0 for women and 1 for men. And writing to the database may be an identifier, read from the database and restore to specific instructions. And in general, in order to better understand or ...

Added by BrandonK on Tue, 30 Jul 2019 15:49:26 +0300

Monitor

Listener introduce The listener comes from the servlet specification The listener is dedicated to monitoring [changes in domain object lifecycle] and [changes in domain object shared data] The implementation class of listener interface must be implemented by the developer As mentioned above, listeners are used to monitor changes in the life c ...

Added by mizkit73 on Tue, 30 Jul 2019 07:24:25 +0300