Simply understand the basic shape of svg

1, svg basic shape Rectangles: react Circle: circle Ellipse: ellipse line: line polyline Polygons: polygon path: path The code is as follows: <svg width="200" height="250" version="1.1" xmlns="http://www.w3.org/2000/svg"> <rect x="10" y="10" width="30" height="30" stroke="black" fill ...

Posted on Fri, 21 Feb 2020 22:24:31 -0800 by yakabod

Using Pandas Library in python to implement a commodity futures grid strategy

Pandas is a NumPy based tool created to solve data analysis tasks. Pandas incorporates a large number of libraries and some standard data models, providing the tools needed to efficiently operate large datasets. Pandas provides a large number of functions and methods that enable us to process data quickly and conveniently. You will soon find th ...

Posted on Fri, 21 Feb 2020 21:52:37 -0800 by el-sid

A simple web server software based on java

1. Write in front It has been more than a year and a half since the university came into contact with various web server software for more than a year. From the beginning of the freshman year, I began to toss about IIS brought by Windows computer, started my first static website, and since then started my interest in learning in the direction o ...

Posted on Fri, 21 Feb 2020 21:49:39 -0800 by taboo

Python3 Socket Programming (Personal Summary)

Summary: Socket s, also known as sockets, are used by applications to make requests to or respond to network requests through sockets, enabling communication between hosts or between processes on a computer. 1. Socket Object In Python, we use the socket() function to create a socket in the following s ...

Posted on Fri, 21 Feb 2020 19:52:08 -0800 by sundru

DEVOPS: Multi-threaded, multi-city programming, urllib module, paramiko module

Article Directory Multiprocess programming How forking works What is forking The life cycle of a process Zombie forking programming forking programming ideas Solve zombie problem Example forking application Multithreaded programming How multithreading works Multithreaded Motivation Working ch ...

Posted on Fri, 21 Feb 2020 18:48:16 -0800 by FramezArt

Basic shell Scripting usage

shell scriptTo be precise, Shell is a command-line interpreter that follows certain syntax to interpret and pass commands into the system.It provides an interface system-level program for users to send requests to Linux to run programs. Users can use shell to start, suspend, stop, or even write some programs.Shell itself is a program written i ...

Posted on Fri, 21 Feb 2020 09:20:41 -0800 by jwhite68

Mybatis Multi-Table Joint Query, Many-to-One Association Query

There are two tables, one is the business account table and the other is the tariff table. One of the foreign keys in the business account table is the tariff type id, which refers to the primary key ID of the tariff table. Table building statement: /*Tariff*/ create table sys_charge( id int(11) auto_increment, name varch ...

Posted on Fri, 21 Feb 2020 08:28:29 -0800 by Davy

[Linux:] read / write lock and spin lock

1. read and write locks In multithreading, the chance to modify public data is less, and the chance to read data is greater than rewriting. If you simply lock It will greatly reduce the efficiency of the program, so we need a read-write lock. The characteristics of the read-write lock are "write ...

Posted on Fri, 21 Feb 2020 07:39:58 -0800 by MrAlaska

Details of using json module in Python 3

This article mainly introduces the detailed use of json module in Python 3. The editor thinks it's very good. Now I'll share it with you and give you a reference. Let's follow Xiaobian to have a look Article directory 1. overview 2. Read JSON 2.1 simplest example 2.2 bytes and byte array data 2.3 cod ...

Posted on Fri, 21 Feb 2020 06:49:26 -0800 by fibonacci

[Hadoop big data platform component building series] - Hive component configuration

brief introduction This article introduces the build of Hive component in Hadoop big data platform component (MySQL needs to be built before build Hive) Use software versionapache-hive-1.1.0-bin.tarmysql-connector-java-5.1.47.jar (Baidu cloud extraction code: vk6v) Install Hive Extract hive inst ...

Posted on Fri, 21 Feb 2020 06:06:37 -0800 by chrisuk