摘要:
1.demo:单页html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>自定义简洁无限极分类</title> <link rel="stylesheet" type="text/css" href="js 阅读全文
摘要:
如下错误: [HY000][1449] The user specified as a definer ('root'@'%') does not exist You are not allowed to create a user with GRANT 解决办法 注意修改test为自己的数据库名 阅读全文
摘要:
一、 准备 首先下载补丁包,将补丁包放至/home路径,形成/home/bd/ 二、 备份 防止升级失败导致文件丢失,请将重要文件和ssh配置文件备份 ssh配置文件备份:(如有错误请忽略) sudo cp -r /etc/ssh/ /etc/ssh_bak sudo cp /etc/init.d/ 阅读全文
摘要:
自定义IoC容器 创建注解 提取标记对象 实现容器 依赖注入 下面分步实现 一、创建四个常用的注解@Controller、@Service、@Component、@Repository @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNT 阅读全文
摘要:
注解: 一、 标准注解:@Override、@Deprecated、@SuppressWarnings 二、 元注解:用于修饰注解的注解,通常用在注解的定义上 1. @Target : 注解的作用目标 package、type(类、接口、枚举、Annotation类型) 类型成员(方法、构造方法、成 阅读全文
摘要:
Elasticsearch搜索引擎的简单连接: maven导入以下配置: <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifa 阅读全文
摘要:
Sublime Text3 1.安装HTML-CSS-JS Prettify插件注意事项: 菜单-> Preferences -> Packpage Settings -> HTML/CSS/JS Prettify – Plugin Options -Default,最后"use_editor_in 阅读全文
摘要:
JavaScript的正则表达式 一、使用方式简单介绍: 1.字面量 (1) let reg = /\bis\b/; let test = 'She is a beautiful girl.He is a handsome boy.You are a dog.'; layer.alert(test. 阅读全文