更新apt库安装包索引 sudo apt-get update 由于访问docker库需要使用https,需要安装https的依赖包 $sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gunpg-agent ...
分类:
系统相关 时间:
2020-03-08 21:46:06
阅读次数:
92
Spring Boot Jpa 默认提供 CURD 的方法等方法,在日常中往往时无法满足我们业务的要求,本章节通过自定义简单查询案例进行讲解。 快速上手 项目中的pom.xml、 与 Chapter1 相同 实体类映射数据库表 user 实体类 自定义简单查询 spring data 内部基础架构中 ...
分类:
编程语言 时间:
2020-03-08 19:47:04
阅读次数:
85
DELETE /test PUT /test { "settings": { "number_of_shards": 10, "number_of_replicas": 1 }} DELETE /employee##非结构化新建索引 PUT /employee{ "settings": { "num ...
分类:
其他好文 时间:
2020-03-08 17:18:52
阅读次数:
66
1、目的 想对update_variable.py文件中的配置进行修改,数据通过系统接口自动获取 update_variable.py my_name='null' my_age=18 2、代码 update_file.py # name=phyger # line='my name: {name} ...
分类:
编程语言 时间:
2020-03-08 14:31:19
阅读次数:
126
1 $.ajax({ 2 url:"", 3 type:"POST", 4 data:{ 5 id: id, 6 status: status, 7 }, 8 success:function(data){ 9 if (data.success){ 10 }else { 11 } 12 } 13 } ...
分类:
Web程序 时间:
2020-03-08 14:10:31
阅读次数:
62
1. JPA认识 JPA是Java Persistence API的简称,它是Sun公司在充分吸收现有ORM框架(Hibernate)的基础上,开发而来的一个Java EE 5.0平台标准的开源的对象关系映射(ORM)规范。 Hibernate与JPA的关系: Hibernate是一个开放源代码的对 ...
分类:
编程语言 时间:
2020-03-08 14:04:46
阅读次数:
84
参考:https://www.xuebuyuan.com/3244495.html 原来错误的程序,app会崩溃(请大神指点错误的原因是啥?_(:з)∠)_) 1 btn_search.setOnClickListener(new View.OnClickListener() { 2 @Overri ...
分类:
移动开发 时间:
2020-03-08 13:49:17
阅读次数:
85
什么是SystemService 我们在Android开发过程中经常会用到各种各样的系统管理服务,如进行窗口相关的操作会用到窗口管理服务WindowManager,进行电源相关的操作会用到电源管理服务PowerManager,还有很多其他的系统管理服务,如通知管理服务NotifacationMana ...
分类:
移动开发 时间:
2020-03-08 12:28:51
阅读次数:
102
when normal user want to use admin privilledge, error message: " user is not in the sudoers file. This incident will be reported." Add an existed user ...
分类:
系统相关 时间:
2020-03-08 09:37:53
阅读次数:
84
SELECT TOP 2000 ST.text AS '执行的SQL语句', QS.creation_time AS '执行时间' FROM sys.dm_exec_query_stats QS CROSS APPLY sys.dm_exec_sql_text(QS.sql_handle) STOR ...
分类:
数据库 时间:
2020-03-07 21:04:23
阅读次数:
117