Tag:capital

  • The fourth round of financing is 700 million US dollars, which will be used to lay out industries and train talents

    Time:2021-7-16

    Recently, the fourth paradigm, an AI technology and service provider, announced the completion of round D financing, with a financing amount of US $700 million. This round of financing is led by Boyu capital, Chunhua capital and Houpu investment, and introduces strategic shareholders such as national manufacturing transformation fund, Guokai, Guoxin, China construction investment, China […]

  • Regular Chinese character number case in Python

    Time:2021-7-5

    Remove special characters and keep only Chinese, English and numbers import re String = “123I 123456abcdefgabcvdff? /,.:;: ‘;’] {} () ()” print(string) 123I 123456abcdefgabcvdff? /,.:; “‘;”‘ [] {} () () sub_str = re.sub(u”([^\u4e00-\u9fa5\u0030-\u0039\u0041-\u005a\u0061-\u007a])”,””,string) print(sub_str) result: 123I 123456abcdefgabcvdff function explain sub(pattern,repl,string) Replace all the matching expressions in the string with repl [^**] Indicates that it does […]

  • Uri design principles

    Time:2021-5-12

    The rest API we designed is really nice E? Elegant:http://api.exapmle.com/louvre… Louvre / da Vinci / Mona Lisa Moderate type:http://58.com/bj/ershou/310976 Beijing / second hand channel / post ID Shetter typehttp://api.example.com/68dd0-… I don’t know what the hell This article will share some principles of URI design. Do not add ‘/’ to the end of the URI With […]

  • CSS attributes that are not common but very practical

    Time:2021-5-1

    1、-webkit-line-clamp You can limit the contents of a block container to a specified number of rows. After exceeding the number of rows, the “…” is displayed on the last row This is a normal display display: -webkit-box; /* Value must be – WebKit box or – WebKit inline box*/ -webkit-box-orient: vertical; /* Value must be […]

  • Implement hook API of react Redux by handwriting

    Time:2021-4-20

    preface The content of this article will not explain the basic hook API, such as (you can see it directly from the official website)react Hook API:https://zh-hans.reactjs.org/d… useState useEffect useContext Put a demo directly and learn by yourself. It’s not that hard import React,{ useState,useEffect } from ‘react’ export default function HookPage(){ const [date, setDate]=useState(new Date()) […]

  • The regular expression of a password must contain at least eight characters, at least one number, upper and lower case letters, and special characters

    Time:2021-2-11

    Regular online test addressAt least eight characters, at least one letter and one number: “^(?=.*[A-Za-z])(?=.*d)[A-Za-zd]{8,}$” At least eight characters, at least one letter, one number and one special character: “^(?=.*[A-Za-z])(?=.*d)(?=.*[@$!%*#?&])[[email protected]$!%*#?&]{8,}$” At least eight characters, at least one upper case letter, one lower case letter and one number: “^(?=.*[a-z])(?=.*[A-Z])(?=.*d)[a-zA-Zd]{8,}$” At least eight characters, at least one […]

  • MySQL Foundation: version 8.0 installation

    Time:2021-2-9

    blog:https://www.cnblogs.com/Rohn/ catalog Install MySQL version 8.0 Add source install Start and set auto start Change the root password Install MySQL version 8.0 System environment: CentOS Linux release 8.1.1911 (Core) Add source rpm -Uvh https://repo.mysql.com//mysql80-community-release-el8-1.noarch.rpm dnf clean all install dnf install mysql mysql-server mysql-devel Start and set auto start systemctl enable mysqld systemctl start mysqld Change […]

  • Record the regular expressions encountered in the project

    Time:2021-1-31

    Requirement: there must be a letter and number, if any_be_There must be a number after_No special characters are allowed outside example:aa / AA / Aa /Aa_ / A1_ a / A_ 1 / A1_ I can’t go through ita1 / a1_ 1 / A1 / A1_ 11 can pass Final regular expression: ^ ([a-za-z] + […]

  • JSX and virtual DOM

    Time:2021-1-17

    JSX is a kind of syntax sugar, which is compiled by BabelReact.createElement(component, props, …children)Function. for example const Element = ( <div className=”title”> Hello <span style={{fontSize:”20px”,color:”#f00″}}>World!</span> </div> ) After Babel compilation: const Element = React.createElement( ‘div’, { className: ‘title’, }, ‘Hello’, React.createElement( ‘span’, { style: { fontSize: ’20px’, color: ‘#f00’, }, }, ‘World!’ ) ); JSX […]

  • Markdown syntax document

    Time:2020-12-11

    Develop according to component documentation Create a directory corresponding to the component name in SRC, which starts with a capital letter One JS file and one CSS file. You can refer to the existing components stayindex.jsIt is required in the documentrequireCorresponding to JS, theindex.cssIn need ofrequireCorresponding to CSS Can be found indev.jsIntroduce component correspondence injs […]

  • Python regular take Chinese characters, number case English

    Time:2020-10-18

    Remove special characters and retain only Chinese, English and numbers import re String = “123I 123456abcdefgabcdff? / ,。 ,.:;:”’;”'[]{}()()《》” print(string) 123I 123456abcdefg abcvdff? / ,。 ,.:;:”’;”'[]{}()()《》 sub_str = re.sub(u”([^\u4e00-\u9fa5\u0030-\u0039\u0041-\u005a\u0061-\u007a])”,””,string) print(sub_str) result: 123I 123456abcdefg abcvdff function explain sub(pattern,repl,string) Replace all matching expressions in the string with repl [^**] Indicates that none of the characters in this […]

  • PHP basic grammar learning [constant]

    Time:2020-10-14

    Write the wrong place, welcome to correct, thank you! Constants and variables in PHP are the same. They are the place to save data. The difference is that when you declare a constant, you don’t need to add it before it$, and the constant name is usually in uppercase letters (including numbers and underscores). Once […]