安装dockersudo apt-get update sudo apt install docker.io 安装完毕后 sudo systemctl start docker sudo systemctl status docker sudo systemctl stop docker sudo ...
分类:
其他好文 时间:
2019-12-27 21:58:20
阅读次数:
63
序列化类 视图类查方法get 视图函数删方法delete 视图函数增方法post 视图函数整体改方法put 视图函数局部改方法patch ...
分类:
其他好文 时间:
2019-12-27 21:41:25
阅读次数:
109
数据库表结构: create table tree(nd_id integer primary key not null,nd_parent integer,nd_text varchar(20)) 代码文件 using System;using System.Collections.Generic ...
1.安装mysql git clone https://github.com/Qihoo360/wayne.git cd wayne;git submodule update --init --recursive [root@master tmp]# cat /tmp/dev.conf DBName ...
分类:
其他好文 时间:
2019-12-27 20:02:31
阅读次数:
267
查看cr01表里面的内容:select * from cr01; 首先导出一个xls文件:select sx,mz,bz from cr01 into OUTFILE 'C:/Users/del/Desktop/a.xls' 首先删除数据(情况cr01里面的记录):delete from cr01; ...
分类:
数据库 时间:
2019-12-27 18:12:23
阅读次数:
108
RESTful 架构中会使用 DELETE 请求来删除一个资源。当用户退出时,实际上相当于删除了用户登录会话的资源,因此这里的退出操作需要使用 DELETE 请求来发送给服务器。(当用restful形式构建路由时) 由于浏览器不支持发送 DELETE 请求,因此我们需要使用一个隐藏域来伪造 DELE ...
分类:
其他好文 时间:
2019-12-27 18:10:39
阅读次数:
99
1、在使用SpringBoot项目的时候,我们只需要添加spring-boot-starter-data-jpa的依赖就可以使用了。其实是spring-boot-autoconfigure帮我们做好了,在该jar包下的META-INF中spring.factories中可以找到org.springf ...
分类:
编程语言 时间:
2019-12-27 18:10:26
阅读次数:
380
PDO事务实现 beginTransaction(); //2, 从宋江的账号扣钱 $sql = "UPDATE cash SET money=money-5000 WHERE id=2"; $result = $pdo -> exec($sql); //3. 李逵的账号加钱 $sql = "UPD... ...
分类:
Web程序 时间:
2019-12-27 16:45:51
阅读次数:
118
1) 在服务端安装ansible 1 [root@ansible-server ~]# yum install -y ansible 1 [root@ansible-server ~]# yum install -y ansible 1 [root@ansible-server ~]# yum in ...
分类:
其他好文 时间:
2019-12-27 13:55:59
阅读次数:
107
在前一篇文章 python ChainMap 中我们介绍了关于python内置函数 ChainMap的使用,ChainMap函数和update函数类似,都是对字典操作,也是将多个字典合并,那么问题来了?ChainMap和update两者区别在哪呢? 一.update简介 python 字典(Dict ...
分类:
编程语言 时间:
2019-12-27 13:47:50
阅读次数:
79