包管理工具 ##yum 自己解决依赖关系 包 安装包 yum install 清除缓存 yum clean 列出所有的包 yum list 更新包 yum update 搜索 yum search 详细信息 yum info 列出yum仓库信息 yum repolist 重新安装 yum reins ...
分类:
系统相关 时间:
2020-06-05 00:53:20
阅读次数:
77
添加ROS源 #官方源: $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' #中科大源: $ s ...
分类:
系统相关 时间:
2020-06-04 19:58:17
阅读次数:
85
出直: https://www.cnblogs.com/mr-yang-localhost/p/7812038.html 目录 一、参数校验 二、hibernate validator校验demo 三、hibernate的校验模式 1、普通模式(默认是这个模式) 2、快速失败返回模式 四、hiber ...
分类:
编程语言 时间:
2020-06-04 19:30:30
阅读次数:
66
今天pg数据库需要添加一个只读用户,由于在pgAdmin4中无法添加,遂用sql添加,遇到了一个大坑,很基础的问题,只怪自己学艺不精,一次提醒自己; 注意;postgresql数据库对大小写不敏感!!! CREATE USER test2 WITH ENCRYPTED PASSWORD 'test2 ...
分类:
数据库 时间:
2020-06-03 23:22:15
阅读次数:
133
乐观锁(Optimistic locking) 顾名思义就是保持一种乐观的态度,认为系统中的事务并发更新不会很频繁,如果冲突了再重新来一次 它的基本思想就是每一次提交事务更新时,想看看要修改的东西从上次读取以后有没有被其他事务修改过,如果修改过,那么更新就会失败。 常用实现方法:实体中增加一个版本控 ...
分类:
Web程序 时间:
2020-06-03 23:18:18
阅读次数:
72
String.fromCharCode、str.length、str.charAt、str.charCodeAt、str.concat、str.slice、str.substring、str.substr、str.indexOf、str.lastIndexOf、str.trim、str.toLowe... ...
分类:
其他好文 时间:
2020-06-03 20:35:22
阅读次数:
70
checkSettingsForm.qaModel.search('抽查') 1 ...
分类:
Web程序 时间:
2020-06-03 15:47:14
阅读次数:
62
@Inject NamedParameterJdbcTemplate namedParameterJdbcTemplate; public List<TeacherContributionLastCalculated> searchLastCalculated(Set<String> fromIdL ...
分类:
数据库 时间:
2020-06-03 15:33:58
阅读次数:
66
# @ Author : Collin_PXY # 正则表达式: import re # 1,分步写法: # 1)rule.search(string) pattern='各小区' rule=re.compile(pattern) tel=rule.search(string) # 返回第一个匹配的 ...
分类:
编程语言 时间:
2020-06-02 23:09:30
阅读次数:
109
search_path类似于linux中的path环境变量。postgres=# show search_path; search_path "$user", public(1 row)默认值是$user,public,意思就是当以某个用户登录到数据库的时候,默认就是先查找和登录用户同名的schem ...
分类:
数据库 时间:
2020-06-02 18:35:10
阅读次数:
90