Tag:Letter

  • Spring 5 responsive programming

    Time:2020-11-12

    main points Reactor is a responsive flow framework running on top of java8, which provides a set of responsive style APIs Except for the differences in individual APIs, its principle is very similar to rxjava It is the fourth generation of responsive framework, supporting operation fusion, similar to rxjava 2 Spring 5’s responsive programming model […]

  • Leetcode 130. Surrounded region | Python

    Time:2020-11-9

    130. Surrounded area Source: leetcode https://leetcode-cn.com/problems/surrounded-regions subject Given a two-dimensional matrix, it contains‘X’and‘O’(Letter O)。 Find all the‘X’Around the area, and put all of these areas in‘O’use‘X’fill. Example: X X X X X O O X X X O X X O X X After running your function, the matrix changes to: X X X X […]

  • Pytorch implementation of cyclic neural network for text generation

    Time:2020-11-1

    By Dr. Vaibhav KumarCompile | VKSource | analytics in diamag Natural language processing (NLP) has many interesting applications, and text generation is one of them. When a machine learning model works on sequence models such as recurrent neural network, lstm-rnn and Gru, they can generate the next sequence of input text. Pytorch provides a powerful […]

  • Basic operation of openpyxl (office automation)

    Time:2020-10-31

    Introduction to openpyxl Openpyxl is a third-party library, which can process Excel files in xlsx format, that is, Excel files in Excel 2003 or above.(the 2003 version can use xlrd and xlwt libraries to read, but I personally suggest that the XLS file should be handled with pandas. ) The first step is to install […]

  • Example of JavaScript Animation: letter effect of motion

    Time:2020-10-30

    The coordinate equation of the known circle is as follows:           X=R*SIN(θ)           Y=R*COS(θ)     (0≤θ≤2π) Given the initial coordinate position (x, y), according to the coordinate equation of the circle, starting from angle = 0, every interval anglespeed = 0.2, a coordinate value (x, y) is obtained, and this coordinate value is added to the […]

  • Bitcoin wallet address

    Time:2020-10-27

    Bitcoin wallet address The address of the wallet is calculated according to the public key of the wallet. However, the calculation method on different chains is different, and the encoding method is also different. Ethereum uses the hexadecimal code, and eip-55 uses its case to verify the address.The address of bitcoin is encoded by base58check, […]

  • JS regular is enough

    Time:2020-10-25

    In our actual projects, we often encounter some common regularization methods. Here we will sort them out and update them in the future.(welcome to collect and add) Common regularization methods export const regExpConfig = { Mobile: / ^ 1 ([3 | 4 | 5 | 7 | 8 |] \ D {9} $/, // mobile […]

  • C practical exercises topic 17

    Time:2020-10-18

    Title:Input a line of characters and count the number of English letters, spaces, numbers and other characters. Program analysis:Using the while statement, the condition is that the input character is not ‘\ n’. example: #include int main() { char c; int letters=0,spaces=0,digits=0,others=0; Printf (“please enter some letters:; while((c=getchar())!=’\n’) { if((c>=’a’&&c<=’z’)||(c>=’A’&&c<=’Z’)) letters++; else if(c>=’0’&&c<=’9′) digits++; else […]

  • Leetcode week, which babies can understand – 171 – 4

    Time:2020-10-14

    1320. Minimum distance of two finger input Hi, everyone. I’m a pig. Welcome to the weekly leetcode quiz of the “baby can understand” series. This is the fourth question in issue 171 and 1320 in the list of questions — “the minimum distance of two points input” Title Description The layout of two finger input […]

  • Leetcode Weekly – 171 – 4

    Time:2020-10-14

    1320. Minimum distance of two finger input Hi, everyone. I’m a pig. Welcome to the weekly leetcode quiz of the “baby can understand” series. This is the fourth question in issue 171 and 1320 in the list of questions — “the minimum distance of two points input” Title Description The layout of two finger input […]

  • The login page forces the browser not to remember the password

    Time:2020-10-13

    < input type = “text” name = “password” id = “play user login password” placeholder = “password” class = “layui input no ime” autocomplete = “off” onpaste = “return false” ondregenter = “return false” oncontextmenu = “return false;” style = “ime”- mode:disabled;font-weight : 800″> <input class=”password” type=”hidden” name=”password” id=””> $(‘#LAY-user-login-password’).bind(‘input’, function (e) { var that […]

  • Leetcode Weekly – 172 – 2

    Time:2020-10-12

    1324. Print words vertically Hi, everyone. I’m a pig. Welcome to the weekly leetcode quiz of the “baby can understand” series. This is the second question in issue 172 and 1324 in the list of questions – “vertically printed words.” Title Description Here’s a string for yous。 Please follow the words in thesThe order in […]