【题目链接】3127.
重新排列句子中的单词
题目描述
「句子」是一个用空格分隔单词的字符串。给你一个满足下述格式的句子 text
:
句子的首字母大写 text 中的每个单词都用单个空格分隔。 请你重新排列
text
中的单词,使所...
【题目链接】3127.
构造相同颜色的正方形
题目描述
给你一个二维 3 x 3 的矩阵 grid ,每个格子都是一个字符,要么是 'B'
,要么是 'W' 。字符 'W' 表示白色,字符 'B' 表示黑色。
你的任务是改变 至多一个 格...
什么是Promise
Promise是一个对象,代表了异步操作的最终完成或者失败。
下图为MDN中的Promise流程图
Promise存在三种状态分别为:
其中fulfill和reject状态也被称之为已敲定(settled),即非pe...
在前端开发中,我们通常使用 Day.js
来格式化从后端传递过来的时间数据。后端传来的时间通常是标准的 UTC
格式,例如:
2015-09-01T14:55:00+00:00
2015-09-01 表示日期,格式为 YYYY-MM-...
从 v0.52.0 版本开始,frp 开始支持 TOML、YAML 和 JSON
作为配置文件格式
v0.52.0版本前,frp使用.ini作为配置文件的格式,基本配置如下:
12345678910111213141516171819[comm...
成绩表格式规范
百分比成绩表与5档成绩表的excel文件有些许不同,请注意格式规范
百分比成绩表
一共四列从左至右依次为:学号、姓名、平时成绩、期末成绩。
学生顺序最好以成绩录入网站的顺序为主,excel文件可随意命名。
5档成绩表
...
wangeditor基本使用
最近做公安项目的时候需要做一个富文本编辑器实现文章编辑,图片上传等功能。一开始选择了quill,但是做到最后在图片上传的时候出现了跨域的问题(现在回想起来应该是当时后端接口没有写好),当时就想换个别的富文本编辑器试试,...
vue+element+阿里云oss图片上传
1、npm安装ali-oss
1npm install ali-oss
2、使用element的 upload
组件进行上传
html部分如下
123456789101112131415161...
vue cli 解决跨域 线上
nginx 反向代理配置
1、开发环境跨域
在vue
cli2中,在/config/index.js里找到proxyTable开启代理changeOrigin:ture;
1234567891011proxy...
为什么选择Hexo
之前我也试过其他的博客系统,例如:typecho,wordpress等等,但是因为之前是高中,
也没有太多的精力去打理,这些博客都需要你有一台服务器或者是虚拟主机,还要一个域名。
自己没钱一下买一两年(当时也没必要,也不写啥...