Printing and design of C ා label (bar code)

The last article talked about barcode printing, mainly through reading the template definition file (XML file), and then combining the dynamic data read from the database to generate barcode. Here is how to design the barcode template. The design process is also very simple, just a simple drag. Then click the small arrow or the command in the l ...

Posted on Sun, 07 Jun 2020 04:04:26 -0400 by tim

Android Chart Gallery MPAndroidChart(8) - Extension of Pie Chart: Polyline Pie Chart

Android Chart Gallery MPAndroidChart(8) - Extension of Pie Chart: Polyline Pie Chart Let's go on to see what we want to achieve by expanding the pie chart above and adding a discount explanation Because of our previous familiarity with MPAndroidChart, we can do it directly 1. Basic implementation First, let's ...

Posted on Sat, 06 Jun 2020 12:08:16 -0400 by gnawz

RocketMQ source code analysis RPC communication

The essence of message queue lies in sending, storing and receiving messages. So, for a message queue, how to send and receive messages efficiently is the key point 1, Overview of Remoting communication module in RocketMQ The overall deployment architecture of RocketMQ message queue is as follows: ...

Posted on Sat, 06 Jun 2020 05:51:09 -0400 by fsumba

Chapter 2 CustomView view animation

1, View animation label summary: Android's view animation consists of five types: alpha, scale, translate, rotate, set 1. Configure XML animation file • alpha: gradient transparency animation effect • scale: animation effect of gradual size scaling • translate: animation effect ...

Posted on Sat, 06 Jun 2020 02:43:32 -0400 by srinivas6203

Data storage (JSON file storage, CSV file storage)

1.2 JSON file storage The full name of JSON is JavaScript Object Notation, that is, JavaScript object markup. It represents data through the combination of objects and arrays. It is a lightweight data exchange format with a very high degree of structure.1.2.1 objects and arrays Object: it is wrapped ...

Posted on Thu, 04 Jun 2020 09:36:15 -0400 by crusty76

Python string learning notes

Article catalog character string Basic characteristics code Representation (creation) Escape character String splicing String copy Common operations 1. Get length 2. Search content 3. Judgment 4. Calculate the number of occurrences 5. Replacement 6. Cut string 7. Modify case 8. Space handling 9. St ...

Posted on Thu, 04 Jun 2020 09:20:04 -0400 by Xyox

C ා MODBUSTCP string and floating-point number reading and writing based on NModbus

Reference NModbus Search NModbus in NuGet and add reference. Encapsulating the ModbusTcp class public class ModbusTCP { private ModbusFactory modbusFactory; private IModbusMaster master; private TcpClient tcpClient; public string IPAdress { get; set; } public int Port { get; set; } publi ...

Posted on Wed, 03 Jun 2020 12:22:59 -0400 by TylerL

Everyone knows programming - the financial mob asks me for my rate forecast

It's like this. In the middle of the night, I got a question from a big stock broker about programming. Bogor, have you slept? Inner OS: As a financial mob, how come I ask questions about programming so late? Later, I learned that they had organized a competition within their company - interest rate forecasts. That's true. It's not simple. I ...

Posted on Tue, 02 Jun 2020 04:09:52 -0400 by Anco

Day 66: search documents of Beautiful Soup

by bean About Beautiful Soup Beautiful Soup is a Python library that can extract data from HTML or XML files. It provides some simple operations to help you deal with the tedious work of document navigation, searching, modifying documents and so on. Because it's easy to use, Beautiful Soup will save you a lot of working time. In the previou ...

Posted on Mon, 01 Jun 2020 02:10:47 -0400 by KarlBeK0d3r

ASP.NET How to upload files and handle large file upload in core MVC

Binding interface with file model: IFormFile (small file upload) When you use the IFormFile interface to upload files, be sure to note that IFormFile will read all files in an Http request to the server memory before triggering ASP.NET The Action method in the Controller of the core MVC. In this case, it's OK to upload some small files, but ...

Posted on Sun, 31 May 2020 10:10:23 -0400 by BeastRider