# 模板1 class LayerChart(TopLevelMixin, _EncodingMixin, core.TopLevelLayerSpec): def __init__(self, data=Undefined, layer=(), **kwargs): for spec in lay ...
分类:
编程语言 时间:
2020-11-27 11:30:17
阅读次数:
11
#include <stdio.h> typedef struct Node { int data; struct Node* lchild; struct Node* rchild; }Node; typedef Node* BinTree; int array[] = {1,2,3,4,5,6, ...
分类:
编程语言 时间:
2020-11-27 10:52:16
阅读次数:
17
data[{name:'aa',age:18},{name:'lisi',age:100},{name:'zhangsan',age:80}] html <div class='layui-col-md3'> <label class="layui-form-label">帅哥信息</label> ...
分类:
其他好文 时间:
2020-11-27 10:52:05
阅读次数:
9
1多维数据的形象表示importnumpyasnp#一维数据不用赘言data_1d=np.array([0,1,2,3])#二维数据作为m行n列的表格,例如2行3列data_2d=np.arange(6).reshape(2,3)#三维数据作为k层m行n列的积木块,例如2层3行4列data_3d=np.arange(24).reshape(2,3,4)检查一个ndarray数据的维度和大小,分别用
分类:
其他好文 时间:
2020-11-27 10:50:17
阅读次数:
5
class MagicDictionary(object): def __init__(self): """ Initialize your data structure here. """ self.mydict = {} def buildDict(self, dictionary): """ ...
分类:
其他好文 时间:
2020-11-26 15:16:42
阅读次数:
9
element ui固定表头 只要在el-table元素中定义了height属性,即可实现固定表头的表格,而不需要额外的代码。 <template> <el-table :data="tableData" height="250" border style="width: 100%"> <el-ta ...
分类:
其他好文 时间:
2020-11-26 15:13:35
阅读次数:
5
环境: 6个es节点 冷热配置 es1 master节点 # elasticsearch.yml node.name: "es1" cluster.name: "docker-cluster" network.host: 0.0.0.0 node.master: true node.data: fa ...
分类:
其他好文 时间:
2020-11-26 15:08:48
阅读次数:
7
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ /** * Return an arr ...
分类:
其他好文 时间:
2020-11-26 14:41:52
阅读次数:
8
##1、DIR 定义 struct __dirstream { void *__fd; char *__data; int __entry_data; char *__ptr; int __entry_ptr; size_t __allocation; size_t __size; __libc_l ...
分类:
系统相关 时间:
2020-11-26 14:36:10
阅读次数:
7
1.下载zookeeper-3.4.10.tar.gz 2.压缩zookeeper-3.4.10.tar.gz 3.删除文件 rm -r data logs 4.创建目录 mkdir zkData /opt/module/zookeeper-3.4.10/zkData 5.修改配置文件 zookee ...
分类:
其他好文 时间:
2020-11-26 14:18:21
阅读次数:
2