一、字符流 字符流概述: 在操作过程中字节流可以操作所有数据,操作的文件中有中文字符,并且需要对 中文字符做出处理 二、字符编码表 文字——>(数字):编码。"abc".getBytes() byte[] 数字——>(文字):解码。byte[] b = {97, 98, 99} new String ...
分类:
编程语言 时间:
2020-11-19 12:49:15
阅读次数:
9
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>pdf转图片与上传</title> </head> <body> <input id='pdf' type='file' accept="application ...
分类:
Web程序 时间:
2020-11-19 12:26:43
阅读次数:
19
Encountered 2 file(s) that should have been pointers, but weren't...... git rm .gitattributes git reset --hard HEAD ...
分类:
其他好文 时间:
2020-11-19 12:06:44
阅读次数:
3
文件的上传和下载 一、文件的上传介绍(*****重点) 步骤: 1、要有一个 form 标签,method=post 请求 2、form 标签的 encType 属性值必须为 multipart/form-data 值 3、在 form 标签中使用 input type=file 添加上传的文件 4 ...
分类:
Web程序 时间:
2020-11-19 12:05:08
阅读次数:
15
b1.csv name zhangsan lisi aa.csv name zhangsan wangsi check_names <- function(file) { require(readr) check_file <- readr::read_delim(file=file,delim=" ...
分类:
其他好文 时间:
2020-11-19 12:03:15
阅读次数:
3
因为笔者学习的是Python3.7.4版本的源码,所以就以3.7.4版本为例进行讲解。
本文参考链接:https://flaggo.github.io/python3-source-code-analysis/preface/code-organization/ ...
分类:
编程语言 时间:
2020-11-18 13:29:21
阅读次数:
35
在从数据库中查询 show slave status Slave_SQL_Running: No 1、程序可能在从数据库中进行了写操作 2、也可能是从数据库 机器重启后,事务回滚造成的。 解决方法 在主库中查询 Show master status; 在从库中执行 STOP SLAVE; CHANG ...
分类:
数据库 时间:
2020-11-18 13:27:25
阅读次数:
33
方法一: 使用Feign拦截器 /** * @author: Sam.yang * @date: 2020/11/12 16:55 * @desc: feign请求拦截 */ @Slf4j @Component public class FeignRequestInterceptor impleme ...
分类:
其他好文 时间:
2020-11-18 12:39:58
阅读次数:
6
Caused by: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.lang.CharSequence': Invalid byte tag in constant pool: 18 at org.aspect ...
分类:
编程语言 时间:
2020-11-18 12:29:42
阅读次数:
5
有时 需要把异步返回的结果当条件来进行判断。所以 把异步变同步 使用Promise 配合 async 和 awit // 提交数据 //async关键词 async submit(e) { var that = this,file_url = ''; //res为上方法请求返回的res.data内容 ...
分类:
微信 时间:
2020-11-17 12:34:16
阅读次数:
31