42.统计APP应用的DB连接及IP情况 select b.hostname ,a.client_net_address, b.program_name ,count(1) as Qtyfrom sys.dm_exec_connections a(nolock) inner join sys.sys ...
分类:
数据库 时间:
2020-06-13 10:55:12
阅读次数:
75
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = Nonefrom typing import Listclass Solution: # 迭代的想法 def levelOrderBot ...
分类:
其他好文 时间:
2020-06-13 00:42:24
阅读次数:
46
功能分析 效果图 接口定义 代码orders/Order.vue <template> <div> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home' }">首页 ...
sql99 连接查询 又叫多表查询四、SQL99语法 1、内连接 相当于查多个表的公共部分 语法: select 查询列表 from 表1 别名 【连接类型】join 表2 别名 on 连接条件 where 筛选条件 group by 分组列表 having 分组后的筛选 order by 排序列表 ...
分类:
数据库 时间:
2020-06-12 20:11:59
阅读次数:
122
class BSTMapNode(object): def __init__(self, key, value): self.key = key self.value = value self.left = None self.right = None # 以列表作为底层存储 class BSTMa ...
分类:
编程语言 时间:
2020-06-12 12:58:33
阅读次数:
69
5. 实战Structured Streaming 5.1. Static版本 先读一份static 数据: val static = spark.read.json("s3://tang-spark/data/activity-data/") static.printSchema root |-- ...
分类:
其他好文 时间:
2020-06-12 12:48:53
阅读次数:
137
表单验证自己也不会,看了看例子,看了看网上其它人写的,实现了能用的状态 <el-form :label-position="right" label-width="80px" :model="zhuce" :rules="rules" ref="ruleForm"> <el-form-item la ...
分类:
其他好文 时间:
2020-06-12 10:37:28
阅读次数:
42
一、检测是否为数组 // 方式一 ES3 适用于只有一个全局环境 value instanceof Array// 方式二 ES5语法Array.isArray()例子: let arr=[1,‘hello’] console.log(arr instanceof Array) // true co ...
分类:
编程语言 时间:
2020-06-12 01:16:22
阅读次数:
80
学习方法 学习技术的方法都很类似,大部分都有着类似的步骤: 场景 需求 解决方案 应用 原理 并发的目的 充分利用CPU 和 I/O资源 提高效率 并发的维度 分工 同步/协作 互斥 分工 线程池 fork/join future Guarded Suspension 保护性暂挂模式 Balking ...
分类:
其他好文 时间:
2020-06-12 00:48:24
阅读次数:
45
一. Manager 进程之间的共享数据(列表list 或者 字典dict等) from multiprocessing import Process,Manager,Lock def work(data,lock): # 1.正常写法 """ lock.acquire() # data["coun ...
分类:
编程语言 时间:
2020-06-12 00:40:45
阅读次数:
71