Tag:Distinguish
-
Android wechat login failed to call wxentryactivity
1: The signature added when creating an application on wechat open platform should distinguish between debug and release.When the project runs in debug mode, the application of wechat open platform shall use the signature of debug.2: If the packagename and applicationid are inconsistent, it is easy to fail to call wxentryactivity. This is common. The […]
-
Nginx regular expression
1. Nginx configuration basis 1. Regular expression matching ~Case sensitive matching ~*Case insensitive matching !~ And~* Case sensitive mismatch and case insensitive mismatch ^Matches that begin with what What does $end in Escape character. You can turn. *? etc. Represents any character 2. File and directory matching -F and- F is used to determine whether […]
-
MySQL case insensitive setting
preface: Generally, in the database usage specification, we will see that the database name and table name are all in lowercase English. Have you ever thought about why lowercase is recommended? Should library table names be case sensitive? With these questions, let’s take a look at this article. 1. A parameter that determines whether case […]
-
Flink task log is written to Kafka [latest 1.12, 1.13]
If this article is helpful to you, remember to praise it! If you have any questions, you can also give me comments~ 1、 Background The company’s log hopes to make the same display in the same kibana, so it needs to write the task log to Kafka.Flink1. 12. The default logging framework is log4j2 from […]
-
IOS confusion exploration
IOS audit status At present, apple audit is becoming more and more intelligent, “static analysis + dynamic analysis”, see for detailsUncover the apple application audit team (the most complete version in History) The summary is as follows: Old method: static modification (simple global modification name is no longer applicable) New strategy: complete confusion + simulated […]
-
Springboot + mybatis configuration (annotation /. XML)
1.gradle //Data source compile ‘com.alibaba:druid-spring-boot-starter:1.1.8’ compile ‘mysql:mysql-connector-java:5.1.38’ //Configure mybatis compile “org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1” 2.application.properties #Database connection information spring.datasource.url=jdbc:mysql://127.0.0.1:3306/takin_write spring.datasource.username=MurasakiSeiFu spring.datasource.password=123456 #Print SQL information logging.level.com.example.datas.manager.mapper=debug 3. Add comments to the startup class Scan mapper package @MapperScan(“com.example.datas.manager.mapper”) 4. Java configuration of mybatis without dynamic data source @Configuration @MapperScan(basePackages = {MyBatisConfig.MAPPER_PACKAGE}, sqlSessionFactoryRef = MyBatisConfig.SESSIONFACTORY_NAME) public class MyBatisConfig { /**Sqlsessionfactory name*/ […]
-
Advantages and disadvantages of conditional annotation in IE
IE’s conditional annotation is a proprietary (and therefore non-standard) Microsoft extension to regular (x) HTML annotations.IE’s conditional annotation is a proprietary (and therefore non-standard) Microsoft extension to regular (x) HTML annotations. As the name suggests, conditional annotations enable you to display code blocks based on conditions (such as browser version). Although non-standard, conditional annotations appear […]
-
Some questions about hyperlinks
I’m glad to attend this potato chip meeting and meet some friends ~ ~ unexpectedly, today I’m going to sum upI’m glad to attend this potato chip meeting and meet some friends ~ ~ unexpectedly, today I’m going to sum upWe discussed three topics in this potato chip meeting: A. How to make it easier […]
-
The MAC battery cannot be recognized. What about the icon with a red x on the battery
After some users turn on the Mac, they find a red x icon on a battery, which indicates that the battery cannot be recognized. So what’s going on? Now let Xiaobian help you analyze the causes of this problem and its solutions. The solutions for Mac battery not being recognized are as follows: If the […]
-
MySQL field length
In our database toolsCreate database manuallyYou will see the following content when you read:Character set, collationWhat are the purposes of these two when creating a database? Click the character set to see whether it contains more content: 1、 Correspondence between character set and collation Sorting rules refer to whether character comparison is case sensitive, and […]
-
Nginx location matching rule
Syntax: location [=|~|~*|^~] /uri/ { # … } Rules: /The beginning indicates a general match (any request will match) =The beginning indicates an exact match ^~The beginning indicates that the URI starts with a regular string (such as a URL path) ~The beginning indicates case sensitivity ~*The beginning indicates that it is not case sensitive […]
-
MySQL case insensitive settings
preface: Generally, in the database usage specification, we will see that the database name and table name are all in lowercase English. Have you ever thought about why lowercase is recommended? Should library table names be case sensitive? With these questions, let’s take a look at this article. 1. A parameter that determines whether case […]