Easter79 Easter79
3年前
Vue 学习记录(一)
环境准备1.node.js  2.vuecli安装配置环境1.下载node.js,使用默认配置安装。2.使用npm命令安装国内下载镜像(可选)  cmd:  npminstall g cnpm registryhttps://registry.npm.taobao.org  tips:在命
Easter79 Easter79
3年前
springboot2.0结合freemarker生成静态化页面
\TOC\使用freemarker将页面生成html文件,本节测试html文件生成的方法:1、使用模板文件静态化定义模板文件,使用freemarker静态化程序生成html文件。2、使用模板字符串静态化定义模板字符串,使用freemarker静态化程序生成html文件。1\.pom.xml
Wesley13 Wesley13
3年前
UILabel 给关键字模糊匹配并高亮
有些情况就是需要查找某个字符串并高亮,但有些需求就是需要全局模糊查找,找到符合的字符串并高亮。造了个小轮子效果图!模糊匹配文字并高亮(https://raw.githubusercontent.com/FantasticLBP/BlogDemos/master/image/QQ20180610235439%402x.png)
Wesley13 Wesley13
3年前
java文件转二进制
本工具类提供三个方法:1.文件转为二进制数组2.文件转为二进制字符串3.二进制字符串还原为文件可当做工具类直接使用。packagecom.yscredit.sz.util;importorg.springframework.util.FileCopyUtils;
Stella981 Stella981
3年前
Spring Boot Redis RedisTemplate 相关API介绍
Redis五大类型:字符串(String)、哈希/散列/字典(Hash)、列表(List)、集合(Set)、有序集合(sorted set)五种。SpringBoot集成redis的RedisTemplate,也分别提供的对这些数据类型的操作。主要有5大类:redisTemplate.opsForValue();//操作字符串redis
Stella981 Stella981
3年前
Babel Installation
1\.Installationnpminstallsavedevbabelloaderbabelcore2\.UsageviaConfigvarPersonrequire("babel!./Person.js").default;newPerson();viaL
Stella981 Stella981
3年前
React Native第三方组件和示例链接
以下是ReactNative的链接,有需要第三方组件或者示例的小伙伴可以收藏一下01、ReactNative之TabView:https://js.coach/reactnative/reactnativetabview02、ReactNative之正在加载Loading条:https://js.coach/reactnative/
Stella981 Stella981
3年前
LeetCode Golang 6. Z 字形变换
6\.Z字形变换(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fleetcodecn.com%2Fproblems%2Fzigzagconversion%2F)将一个给定字符串根据给定的行数,以从上往下、从左到右进行 Z字形排列。比如输入字符串为 "LEE
Stella981 Stella981
3年前
Python运算符 Python从入门到放弃
\和   赋值,判断是否相等。  If(c1)写成if(c1)会直接报错,Python中if条件中不允许赋值。(C语言中允许)号数字之间是计算和,字符串之间是拼接的意思如果非要在原始字符串结尾输入反斜杠,可以如何灵活处理?
Stella981 Stella981
3年前
Cron表达式的用法介绍
1.Cron表达式介绍     Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式:SecondsMinutesHoursDayofMonthMonthDayofWeekYearSecondsMinutesHoursDayofMonth