gpg decryption - Disable interactive password entry

Background description gpg decryption will pop up the following window by default. Please enter the password, but there is a problem in script automation lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Enter passphrase x x x x ...

Posted on Thu, 04 Jun 2020 11:28:59 -0700 by liquidd

Java IO byte stream

summary What is IO? IO is what I / O stream means. Based on memory, it can be divided into input and output, that is to say, the flow to memory is the input flow and the output flow out of memory. Input stream: read data from hard disk to memory for use Output stream: write data in memory to hard disk for saving The table above is the top-le ...

Posted on Sun, 31 May 2020 04:50:49 -0700 by Possum

Python 3 command injection prevention

1, Background To be honest, I'm safe. I always find fault with other people's code, but sometimes it's my turn to write my own code without paying attention to security. Among them, if the security script is generally small, then the proportion of the code dealing with security problems will greatly exceed that of the business code, or if I'm ...

Posted on Tue, 26 May 2020 22:52:17 -0700 by bubblybabs

Design of IIR filter for hand-held teaching series

[guide reading]: it is often necessary to collect analog signals in embedded systems. It is inevitable to introduce interference into the signal chain of collecting analog signals, so how to filter the interference? Let's take a step-by-step description of how to design and deploy an IIR filter to your system. What is an IIR filter? IIR (Infini ...

Posted on Sat, 16 May 2020 23:28:59 -0700 by Derek

python 3.x learning note 7 (module)

1. Definition:Module: used to logically organize Python code (variable, function, class, logic: implement a function), which is essentially a python file at the end of. pyPackage: to organize modules logically, the essence is a directory (must have a "init". Py file) 2. Import methodimport module_name1,module_name2 from module import ...

Posted on Sun, 03 May 2020 21:13:18 -0700 by WellBaffled

Handwritten signature plug-in - using experience of jSignature

Recently, we need to do a function of handwritten signature on the mobile terminal. After searching the Internet, it's basically the jSignature plug-in. There's almost no second choice. So we can follow the copy test of various versions on the Internet. It's easy to test on the PC terminal. However, after the mobile te ...

Posted on Sat, 02 May 2020 18:00:51 -0700 by Poomerio

3ds model -- place

This chapter loads a surface map, that is to say, draw a plane (rectangle), and paste a map (texture) on it as the parking place of the model. In order to facilitate the use of a single cpp. Define some variables: GLint DibiaoChangX,DibiaoKuanZ,DibiaoGaoY;//Length, width, height (Pinyin) GLuint Dibiaotexture;//Texture ID Load and set it in ...

Posted on Sat, 02 May 2020 01:19:44 -0700 by yhingsmile

JavaScript uses btoa and atob to encode and decode Base64

btoa and atob are two functions of window object. btoa is binary to ascii, which is used to represent binary data with ascii code, i.e. Base64 encoding process, while atob is ascii to binary, which is used to parse ascii code into binary data. Let's see an example: // Define the string var string = 'Hello World!'; // Encode the String var enc ...

Posted on Thu, 30 Apr 2020 14:29:21 -0700 by mrneilrobinson

Non logical disk expansion data disk (xfs and ext2, 3, 4)

Because of the lack of data disk, it is necessary to expand the partition, but it is very complex to use LVM without logical partitionWarning: data disk needs to be unloaded for capacity expansion, but data will not be affected (if it is important or afraid of loss, please back up first)Ideas:1. Unload the data disk2.fdisk expansion3. Repair t ...

Posted on Tue, 21 Apr 2020 07:35:29 -0700 by zephyrstudios

15 interesting linux shell commands

Today, I will introduce some interesting linux shell commands. All commands can use man + command name to see the complete usage. 1. figlet character drawing figlet can output English strings in the form of character drawing: >>> figlet hello _ _ _ | |__ ___| | | ___ | '_ \ / _ \ | |/ _ \ | | | | __/ | | (_) | |_ ...

Posted on Fri, 17 Apr 2020 18:59:07 -0700 by Pascal P.