加载中
Java修饰符--volatile

Volatile 修饰的成员变量在每次被线程访问时,都强制从共享内存中重新读取该成员变量的值。而且,当成员变量发生变化时,会强制线程将变化值回写到共享内存。这样在任何时刻,两个不同的线程...

2020/09/07 17:39
78
Angular--解决事件冒泡

@Component({ selector: 'exe-app', template: Click me }) export class AboutComponent { ...

2020/08/14 11:14
1.4K
Git--SSH配置

配置用户信息 打开git bash,分别执行以下两句命令 git config --global user.name “用户名” git config --global user.email “邮箱” 生成公钥和私钥 ssh-keygen -t rsa 并按回车3下(因...

2020/08/11 15:14
57
SpringBoot之异步调用@Async

springboot的启动类 import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.a...

2020/08/05 14:09
616
deepin达到文件监视程序数量的系统限制

解决方法: $ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf $ sudo sysctl -p...

2020/06/12 16:20
472
deepin设置环境变量

1./etc/profile增加如下代码,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行. export NODE_PATH="/home/cool/Front/node-v14.4.0-linux-x64/bin" export JAVA_HOME="...

2020/06/08 17:47
4.1K
SpringBoot定时任务-@Scheduled注解

@Scheduled注解各参数详解 1. cron 该参数接收一个cron表达式,cron表达式是一个字符串,字符串以5或6个空格隔开,分开共6或7个域,每一个域代表一个含义。 cron表达式语法 [秒] [分] [小时]...

2020/06/01 14:47
696
SpringBoot引入本地JAR包

引入本地JAR包 com.yunzainfo.YBOpenUIS YBOpenUIS 0.0.1 system ${basedir}/lib/YBOpenUIS-1....

2020/05/28 14:02
476
ORACLE-时间条件查询

select * from RC_RESOURCE where and CREATED_DATE > to_date('2020-05-18 11:52:57', 'yyyy-mm-dd hh24:mi:ss') and CREATED_DATE < to_date('2020-05-18 11:52:59', 'yyyy-mm-dd hh24:mi:...

2020/05/18 14:29
327
SpringBoot启动时执行SQL脚本

import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; impor...

2020/05/11 14:35
2.5K
将本地已有的一个项目上传到新建的git仓库

强行合并两个仓库 由于这两个仓库是完全不同的两个仓库,所以直接pull都会报错,需要在pull的时候假加上–allow-unrelated-histories才可以pull成功。 具体步骤如下: 1、新建git仓库,将本地...

2020/05/08 18:03
712
Spring Boot使用——项目启动自动执行sql脚本

import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; impor...

2020/04/22 10:35
2.6K
MyBatis在注解上使用动态SQL(@select使用if)

1、用script标签包围,然后像xml语法一样书写 @Select({"

2020/04/08 10:14
4.6K
颜色:十六进制转RGB,判断亮色暗色

toRGB(color: string): string { var sColor = color.toLowerCase(); //十六进制颜色值的正则表达式 var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; // 如果是16进制颜色 if (sColor && ...

2020/02/16 18:12
3.5K
网络知识

OSI开放式互联参考模型(概念型框架): 物理层 数据链路层 网络层 传输层 会话层 表示层 应用层 OSI的实现:TCP/IP OSI七层模型 TCP/IP概念层模型 应用层 应用层 表示层 会话层 传输层 传输层 ...

2019/12/25 18:31
41

没有更多内容

加载失败,请刷新页面

返回顶部
顶部