Python functions for getting started with Python

By: PyQuantBlog: https://blog.csdn.net/qq_33499889MOOC: https://mooc1-2.chaoxing.com/course/207443619.html Like, pay attention to, and form good habits Life is short, U need Python Learning Python, Come on, let me 1. Basic structure of function 2. Definition of function def hello(): print(' ...

Posted by turdferguson on Mon, 09 Mar 2020 19:39:02 -0700

Node.js buffer

JavaScript language has only string data type and no binary data type. But binary data must be used when processing streams such as TCP or file streams. Therefore, in Node.js, a Buffer class is defined, which is used to create a special Buffer for storing binary data.   Before v6.0, the new Buffer() constructor is used to create the object inst ...

Posted by gregor171 on Mon, 09 Mar 2020 00:08:14 -0700

The request was aborted: unable to create SSL / TLS secure channel

We were unable to connect to the HTTPS server using WebRequest due to the following error message: The request was aborted: Could not create SSL/TLS secure channel. We know that the server does not have a valid HTTPS Certificate in the path used, but in order to bypass this problem, we used the following code obtained from another StackO ...

Posted by Phsycoslaya on Tue, 03 Mar 2020 20:40:06 -0800

unity wakes up another winform and sends data

Recently, the main thread resource of unity is occupied when saving a scenario, which causes the UI of unity itself (I think, or I think that the UI of the scenario to be saved cannot be used normally) to fail to display the progress bar. When this problem cannot be solved, I think of a compromise wa ...

Posted by stvs on Tue, 03 Mar 2020 03:44:45 -0800

python [Blue Bridge Cup vip exercise bank] the maze of ADV-147 Xueba (searching for bfs classic problems)

Improving the maze of Xueba by test algorithm Resource constraints Time limit: 1.0s memory limit: 256.0MB Problem description Xueba robbed everyone of their homework. In order to help the students get back their homework, the monitor decided to go to Xueba for a duel. But Xueba lives in a castle in orde ...

Posted by payjo on Mon, 02 Mar 2020 18:32:07 -0800

Remember a Bug related to Base64

This paper originally planned to write two parts. The first is to record the latest bugs related to Base64. The second is the detailed explanation of the principle of Base64 encoding. It turns out it's half written, eh? How can I say such a long time about a thing that is not complicated? It's not conducive to reading and understanding (actuall ...

Posted by littlegreenman on Sun, 01 Mar 2020 04:10:48 -0800

C summary part 6 file management

10_ file Text files: Based on character encoding, such as ASCII, UNICODE Binary file open FILE *fopen(filename, mode); // The system itself defines a structure called FILE // Mode indicates the mode of opening the file /* mode The value of r rb Open as read-only w wb Open as write a ab Open as append, add content at the ...

Posted by hillbilly928 on Sun, 01 Mar 2020 00:21:59 -0800

Linux operation and maintenance - disk storage - 2. RAID

With the limitations of single disk in data security, performance and capacity, RAID has emerged. RAID combines multiple independent disks in different ways to form a disk group to obtain higher data security, performance and capacity than single disk. 1, Common RAID levels Raid has several levels of RAID0~RAID7. In addition, there are some co ...

Posted by simplyi on Thu, 27 Feb 2020 01:15:44 -0800

Day06 RAID management tool - mdadm-raid0 management

Article directory mdadm introduction Parameters of the mdadm command Actual combat raid 0 Two new hard disks Create raid0 Save configuration information Create partition on raid 0 Format partition and mount Set up auto mount after power on mdadm introduction Management software raid tool: mdad ...

Posted by fimbria on Thu, 27 Feb 2020 00:51:10 -0800

Experimental bar: Cryptography of CTF topics

Article directory Summary Writeup Variant Kaiser Traditional knowledge + classical password what's wrong with this try them all Summary It has been many years since the CTF was lifted, but the real online topic clearance has not been done. At the same time, I feel that the level has declined t ...

Posted by ntroycondo on Mon, 24 Feb 2020 05:27:10 -0800