VScode builds Python virtual environment and compiles it in two ways (code runner plug-in VSPython plug-in)

PyCharm was used before, but during this period, the registration code expired, and no new registration code was found, so we just abandoned the pit temporarily and put it into the family of VScode. Download and install VScode, python, and install Python plug-ins in VScode. The codeRunner plug-in is ...

Posted on Sat, 18 Jan 2020 00:11:35 -0500 by HockeyDevil07

Git on 4 server - configure server

Let's see how to configure ssh access on the server side. In this case, we will use the authorized_keys method to authenticate the user. At the same time, we assume that the operating system you use is a standard Linux distribution, such as Ubuntu. First, create an operating system user git and create a ...

Posted on Fri, 17 Jan 2020 10:14:59 -0500 by phpzone

RDF written in matlab

RDF is the abbreviation of the radial distribution function, which refers to the probability of finding the surrounding objects with an object as the center in a given space. For the radial distribution function of molecular simulation, it is also the ratio of the regional density and the global density ...

Posted on Fri, 17 Jan 2020 10:03:16 -0500 by gaogier

C + + Design Pattern -- visitor pattern

Visitor mode In GOF's "design pattern: the foundation of reusable object-oriented software", the visitor pattern is described as: an operation that acts on each element of an object structure. It allows you to define new operations on elements without changing their classes. The visitor pa ...

Posted on Fri, 17 Jan 2020 06:16:20 -0500 by lighton

Bash scripting learning note 08: Functions

Official information: Shell Functions (Bash Reference Manual) brief introduction As we are Bash script programming learning note 06: conditional structure Finally, we should integrate some code blocks that may be executed repeatedly to avoid overstaffing the code. Function exists to solve this problem. When defining a function, we can integra ...

Posted on Fri, 17 Jan 2020 05:55:03 -0500 by CookieD89

Understand webpack packaging principles after reading

What is a webpack? Essentially, webpack is a static module bundler for modern JavaScript applications.When a webpack processes an application, it recursively builds a dependency graph that contains each module the application needs, then packages all of them into one or more bundles. A webpack is like a production line, and it takes a ser ...

Posted on Thu, 16 Jan 2020 21:03:24 -0500 by Michael Lasky

Android ADB command collation, you do not know how to play here!

1. An overview of Android debugging bridges The Android Debugging Bridge (adb) is a generic command-line tool that allows you to communicate with a simulator instance or connected Android device.It facilitates the operation of various devices, such as installing and debugging applications, and provide ...

Posted on Wed, 15 Jan 2020 20:34:10 -0500 by evildobbi

pandas core data structure day 2

Article directory I. Series Establish Darry array operation supported 2, DataFrame Establish Characteristic 3D array creation 3, Basic operation One dimensional array processing sort ranking I. Series Establish #1 create a sequence, index must be list b=pd.Series(np.random.randn(5),inde ...

Posted on Mon, 13 Jan 2020 10:48:59 -0500 by alwaysme

Sword and expedition automatic battle

After the last yys script, I wrote a small script for sword and expedition Today, I just used it for a while, and I feel it's pretty good. Although it has a single function, it's still very stable. So I'll share with you a few bb codes # coding=gbk # Declaration decoding method # Import related mod ...

Posted on Mon, 13 Jan 2020 10:13:03 -0500 by RobertPaul

Linux Installation and management program

Bowen catalogue 1, RPM package management tools 2, Install, upgrade, and uninstall RPM software 3, Linux Application Foundation 4, Source code compilation and installation 1, RPM package management tools RPM Pachage Manager is proposed by Red Hat and adopted by many Linux distributions. Establish a unified database file, record the change in ...

Posted on Sun, 12 Jan 2020 22:11:04 -0500 by aznkidzx