Tag:A lowercase letter

  • CentOS 7 installing mysql8

    Time:2021-9-13

    Download the corresponding RPM from the official website Local installationyum localinstall mysql80-community-release-el7-3.noarch.rpm Install serveryum install mysql-community-server -y Modify password (uppercase and lowercase characters, 8 digits)ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘[email protected]’; remote accessCREATE USER ‘root’@’%’ IDENTIFIED BY ‘PASSWORD’;GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ WITH GRANT OPTION;FLUSH PRIVILEGES;

  • Replace the MySQL field name with hump style

    Time:2021-8-13

    VIM command%s/_([a-z])/\U\1/g \L lowercase\U capital&Are all regular expression matches,Others are: \ 1, \ 2, \ 3,…, \ 9. Represents the 1st, 2nd, 3rd… 9th match.

  • Explore swoole — start a hello world with swoole

    Time:2021-8-12

    catalogue Explore swoole — start a hello world with swoole Wonderful use of memory — PHP can finally vs java Primary application — realize user registration and login [writing] Outlook — Analysis of the limitations of swoole and my personal expectations [writing] Old time sake Remember our first PHP program? <?php echo “hello world”; Save […]

  • Allowedorigins cannot contain the gateway error

    Time:2021-7-17

    ​ java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value “*” since that cannot be set on the “Access-Control-Allow-Origin” response header. To allow credentials to a set of origins, list them explicitly or consider using “allowedOriginPatterns” instead. at org.springframework.web.cors.CorsConfiguration.validateAllowCredentials(CorsConfiguration.java:460) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Error has been observed at the following site(s): |_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter […]

  • Don’t even know what happens if you don’t tag a JSON package variable? Young man’s tail juice

    Time:2021-7-13

    problem jsonWhen used in the package, the variables in the structure are not addedtagCan it turn into normaljsonThe fields in? How to answer If variableInitial lowercase, thenprivate。 in any caseCan’t turn, because you can’t get itReflection information。 If variabletitle case, thenpublic。 No tagCan be converted tojsonFields in the,jsonThe inner field name is the same as […]

  • Golang slicing tool class

    Time:2021-7-13

    package services import ( crand “crypto/rand” “errors” “fmt” “github.com/astaxie/beego/orm” “io” “math/rand” “strconv” “strings” “time” ) type UtilService struct { } //uuid func (this *UtilService) Uuid() (string, error) { uuid := make([]byte, 16) n, err := io.ReadFull(crand.Reader, uuid) if n != len(uuid) || err != nil { return “”, err } uuid[8] = uuid[8]&^0xc0 | 0x80 […]

  • Python No.14 string operation

    Time:2021-7-9

    # !/ Usr / bin / env Python # – * – Coding: UTF-8 – * – # – Author: hugolinhjname =’alexx’number =’123’print (name. Capitalize()) print (number. Capitalize()) #, the first letter of the string is capitalized, and the number of words is not processed. Print (name. Count (‘a ‘)) print (number. Count (‘1’)) #. […]

  • How to automatically generate lowercase dash routing in asp.net core

    Time:2021-6-30

    By default, asp.net core uses   http://localhost :5000/HomeIndex   Class. But if you want to use lowercase routes, and these routes are separated by dashes: http://localhost : 5000 / home index they are common and consistent. For example. Net common routing http://localhost:5000/User/ListPages Desired effect http://localhost:5000/user/list-pages 1. How to generate a lowercase route can be set […]

  • Modify MySQL configuration under docker

    Time:2021-6-24

    summary Connect to MySQL terminal in docker (docker connection terminal) Modify MySQL configuration (using and installing VIM) A brief introduction to the case of MySQL (using the case of database name / surface field / content) MySQL terminal operation under docker (execute command) Connecting MySQL terminal in docker Use the image under the query docker […]

  • How to exit QEMU

    Time:2021-4-19

    How to exit QEMU ctrl + aRelease and pressx ⚠ The letters here are lowercase! (don’t press the capital key)

  • Detailed explanation of output controller

    Time:2021-4-1

    Why use output controllers: We know that in the computer, data is stored in the form of binary in the computer, but the code composed of 01 can represent both data and instructions. It’s easy to misunderstand if we don’t use the output controller to become what we want. If the code composed of 01 […]

  • PHP writing specification (for reference only)

    Time:2021-3-31

    General principles Semanticalization:What you see is what you get Prefix:isIt means whether (is + Adjective + noun),getIt means reading,setExpress write Singular and plural:Like a usergetUser, multiple usersgetUsers Avoid redundancy:Try not to use itdata、list、infosuffix Use common name with caution:Use with cautioncommon、util、functions、class、object、basicIt’s difficult to maintain the common name, such as string, etc.; to get an accurate name […]