It's done! I use 20 lines of python code to fix the certificate photo for the goddess next door, and then...

Hello, I'm lex. I like bullying Superman. Lex I suggest you collect it. In the future, you can help Miss P's photos, ID photos, size adjustment, background and matting. You can do it directly in 10 lines of code and get it up in an instant. it happened like this In the evening, I was concentrating on writing code Suddenly, I received a ...

Posted by musson on Thu, 10 Feb 2022 07:42:56 +0100

Python 3 uses the Pathlib module for file operations

Python 3 uses the Pathlib module for file operations Refer to official documents for more information pathlib -- object oriented file system path In this tutorial, you will learn how to use the pathlib module to manipulate the names of directories and files. Learn how to read and write files, new ways to splice paths and manipulate the underl ...

Posted by sc00tz on Thu, 10 Feb 2022 07:22:47 +0100

Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S)

Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S) 1. Preparation before compilation: 1.linux5.10 kernel 2.2018.02bulidroot 3.v3s board 2.linux kernel configuration 1. Modify the device tree (under linux-5.10/arch/arm/boot/dts/) 1. Modify sun8i-v3s Add the following code to the location of the last dma o ...

Posted by arun4444 on Thu, 10 Feb 2022 07:19:40 +0100

Java basic learning

one, Composition of computer A complete computer system includes two parts: hardware system and software system. 1. Hardware Controller (English Name: controller): refers to the master command device that changes the wiring of the main circuit or control circuit and changes the resistance value in the circuit to control the start, spe ...

Posted by pumaf1 on Thu, 10 Feb 2022 07:05:45 +0100

linux deeply understands I2C kernel driver

Series articles 1. Mx6ull manual to find the use method and light the LED in practice (register version) 1. Mx6ull manual to find out how to use actual LED (firmware library version) Actual combat of linux character device driver linux LED device driver file Practical analysis of linux device tree (. dts) linux uses the device tree to light up ...

Posted by vinylblare on Thu, 10 Feb 2022 07:01:42 +0100

Create a tomcat image using Dockerfile and run a simple war package

Create a tomcat image using Dockerfile and run a simple war package docker has read it for some time and has a general understanding of images and containers. Refer to the examples in the book to make a tomcat image and simply run a HelloWorld war 1. First download tomcat and jdk of linux environment, and extract them to helloworld directory ...

Posted by lrdaramis on Thu, 10 Feb 2022 06:56:30 +0100

Network programming - Understanding

computer network It refers to a computer system in which multiple computers and their external devices with independent functions in different geographical locations are connected through communication lines to realize resource sharing and information transmission under the management and coordination of network operating system, network manag ...

Posted by BAM1979 on Thu, 10 Feb 2022 06:43:36 +0100

MPAndroidChart_ About radarchart's radar map

What happened to the MP Android chart radar map Introduction to mpadroidchart - use of radar chart. Detailed tutorial on the use of custom radar a x is labels and basic colors. MPAndroidChart_ About the line chart MPAndroidChart_ The pie chart thing MPAndroidChart_ Dynamic histogram MPAndroidChart_ About the horizontal bar chart MPAndroid ...

Posted by carlmty on Thu, 10 Feb 2022 06:39:56 +0100

Continuous integration and continuous delivery

1. Introduction to Git Official website learning address http://git-scm.com/book/zh/v2 Git features: speedSimple designStrong support for nonlinear development mode (allowing thousands of branches of parallel development)Fully distributedAbility to efficiently manage large-scale projects like Linux kernel (speed and data volume) Since i ...

Posted by jimmyt1988 on Thu, 10 Feb 2022 06:37:39 +0100

Binary search (solve your problem of judging from scratch for loop with the least steps)

WHAT? Suppose you want to find a person whose name starts with K in the phone book, (who still uses the phone book now!) You can turn the page from the beginning until you enter the part starting with K. But you probably don't do that, but start in the middle, because you know the name starting with K is in the middle of the phone book. Suppo ...

Posted by foreverhex on Thu, 10 Feb 2022 06:34:17 +0100