在web.xml配置 如下操作: <!--配置解决中文乱码过滤器--> <filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.Character ...
分类:
编程语言 时间:
2020-02-26 19:14:56
阅读次数:
120
BCC(Block Check Character/信息组校验码),因校验码是将所有数据异或得出,故俗称异或校验。具体算法是:将每一个字节的数据(一般是两个16进制的字符)进行异或后即得到校验码。 例如16进制数据:01 A0 7C FF 02 计算:01 xor A0 xor 7C xor FF ...
分类:
其他好文 时间:
2020-02-26 19:12:55
阅读次数:
1101
Is there a difference in database ordering between the cloud and the ground? When I was dealing with database ordering before, I published an article ...
分类:
数据库 时间:
2020-02-24 13:31:51
阅读次数:
88
Mike has n strings s1,?s2,?...,?sn each consisting of lowercase English letters. In one move he can choose a string si, erase the first character and ...
分类:
其他好文 时间:
2020-02-23 16:29:53
阅读次数:
69
多个yml实现多环境 spring: # 环境 dev:开发环境|test:测试环境|prod:生产环境 profiles: active: dev #激活的配置文件 在激活application-dev.yml时若其中存在application.yml同名配置时后者的配置属性会被覆盖(即激活配置文 ...
分类:
编程语言 时间:
2020-02-22 20:18:20
阅读次数:
120
发现网上没有关于这个的解决方法 其实这个原因是因为下图红框里的是数字 把默认的这个直接删掉,用英语随便输入一个即可 ...
分类:
其他好文 时间:
2020-02-22 16:08:49
阅读次数:
109
You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You need to r ...
分类:
其他好文 时间:
2020-02-22 13:33:15
阅读次数:
59
需要两个服务器数据库版本相同才可迁移 1:单个或多个数据库 mysqldump -h远程ip -u用户 -p密码 -P3306 --default-character-set=utf8 --databases 单个或多个数据库名称空格分开 | mysql -h127.0.0.1 -uroot -p ...
分类:
数据库 时间:
2020-02-22 12:21:22
阅读次数:
128
数据库创建 DROP DATABASE IF EXISTS `sql_invoicing`; CREATE DATABASE `sql_invoicing`; USE `sql_invoicing`; SET NAMES utf8 ; SET character_set_client = utf8m ...
分类:
数据库 时间:
2020-02-21 17:51:25
阅读次数:
106
在Python文件开头,第一行代码,有两种写法: 1、使用#coding=UTF-8(等号也可以换为“:”) 2、或者 #-- coding:UTF-8 -- 备注:python的默认编码文件是用的ASCII码,在Python 3.X中没有这种错误。 ...
分类:
编程语言 时间:
2020-02-20 23:40:03
阅读次数:
95