Python learning - shopping cart program

Procedure: shopping cart procedure Demand: After starting the program, let the user enter the salary, and then print the list of products Allow users to purchase products according to the product number After the user selects the goods, check whether the balance is enough, deduct the money directly if it is enough, and remind if it is not enou ...

Posted by timbuckthree on Sun, 29 Mar 2020 08:45:56 -0700

Installation of Docker Technology Series Multi-Version Mysql 5.6 and Mysql 5.7

Hello, what follows is not exclusive content about MAC, basically related to Java environment and basic technology.So this tutorial is common to both linux systems and macOS, so don't worry. In the previous post, we found Docker convenient after installing it.Now let's install Mysql, which is often used in development. MySQL is the most popula ...

Posted by redhair on Tue, 17 Mar 2020 18:51:18 -0700

Embedded Linux development network device driver

0. Preface It's been a while since I left my job. The epidemic hasn't passed yet. If I can't go out, I still don't go out. I feel like I've been living a long time every day. I haven't found a job yet. I'm just looking for LDD3 recently. I transplanted the AR8031 driver from my previous job. I just to ...

Posted by davidlenehan on Thu, 12 Mar 2020 03:41:52 -0700

shell script -- regular expression

Basic regularity ^word ##Search for the beginning of the ^ line in vi/vim starting with word word$ ##Search for the end of the $line in vi/vim that ends in word ^$ ##Blank line . ##Represents and can only represent any one character \ ##For example, \. It only represents ...

Posted by Timewell on Sun, 08 Mar 2020 21:01:00 -0700

The practice and application of thermostat strategy in inventor's quantification platform

Why is it called a thermostat. We name the system according to its ability to adapt to market, shock and trend. The system comes from our observation of the success of a particular system in a particular market area. This system can create dual strategies to make full use of the two models of the market. First, we create a function to help ...

Posted by AaZmaN on Fri, 06 Mar 2020 23:55:44 -0800

wifi status monitoring in Android devices

I. objectives The APP monitors the status information of wifi connected to Android devices (mobile phones, TV or other devices) and uploads it to the server regularly to analyze the status and signal strength of wifi in the environment where the devices are located at a specific time point. 2, Use s ...

Posted by Isomerizer on Thu, 05 Mar 2020 03:44:14 -0800

[OSS best practice] JAVA implements RTMP push stream upload OSS signature URL

Background introduction OSS supports the use of RTMP protocol to push H264 encoded video stream and AAC encoded audio stream to OSS. Audio and video data pushed to OSS can be played on demand; in application scenarios that are not sensitive to delay, it can also be used for live broadcast. The RTMP push stream upload process is to create a live ...

Posted by LOUDMOUTH on Thu, 05 Mar 2020 03:41:22 -0800

The hierarchical structure of PEP 3141 numerical type -- Python official document translation [original]

PEP 3141 -- A Type Hierarchy for Numbers Original English: https://www.python.org/dev/peps/pep-3141 Collection date: February 27, 2020 PEP: 3141Title: A Type Hierarchy for NumbersAuthor: Jeffrey Yasskin jyasskin@google.comStatus: FinalType: Standards TrackCreated: 23-Apr-2007Post-History: 25-Apr-2007, 16-May-2007, 02-Aug-2007 Catalog Abstrac ...

Posted by eldee on Wed, 04 Mar 2020 20:45:17 -0800

Performance tuning of Flask

Article directory Summary Tools used test Test code Flash runs directly Other ways Gunicorn uWSGI usWSGI and ngnix Reference resources Summary At present, the performance of the platform is found to be relatively low in the process of using, so we need to find a way to optimize the performance ...

Posted by kylebragger on Mon, 24 Feb 2020 04:21:08 -0800

ENSP -- vgmp and HRP protocol -- dual hot standby of firewall

1, Introduction of firewall hot standby Overview of dual hot standby Dual hot standby is to solve single point of failure and realize smooth transition of business (session table needs to be synchronized) The hot standby modes of Huawei firewall include: hot standby mode and load balancing mode ...

Posted by biannucci on Sun, 16 Feb 2020 04:19:09 -0800