1 """ 2 Given a linked list, swap every two adjacent nodes and return its head. 3 You may not modify the values in the list's nodes, only nodes itself ...
分类:
其他好文 时间:
2020-02-07 18:27:44
阅读次数:
58
idea在调试时出现Method breakpoints may dramatically slow down debugging,一直卡在 Initializing Spring embedded WebApplicationContext 断点打在方法某个断点卡住了。 快捷键:Ctrl - Sh ...
分类:
其他好文 时间:
2020-02-07 17:14:03
阅读次数:
271
安装MySQL NDB Cluster 7.5.16 环境: mgmd:192.168.121.133 sqlndbd1: 192.168.121.134 sqlndbd2: 192.168.121.135 每个节点先关闭防火墙: [root@localhost ~]# systemctl disa ...
分类:
数据库 时间:
2020-02-07 15:05:33
阅读次数:
94
1. Saved cluster name Test Cluster != configured name cluster01。 在一个已经启动的集群中,修改集群名。 cqlsh> UPDATE system.local SET cluster_name = 'Cassendra Cluster' ...
分类:
其他好文 时间:
2020-02-06 18:19:56
阅读次数:
65
1 """ 2 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 3 Example 1: 4 Input: "bab ...
分类:
其他好文 时间:
2020-02-06 16:22:50
阅读次数:
60
23 May 2017» Hardware注:STM32F407VGT6 with STM32F4 DSP and standard peripherals library v1.8.0外部中断源码//中断服务函数void EXTI2_IRQHandler(void){ delay_ms(10); ... ...
分类:
其他好文 时间:
2020-02-06 13:05:01
阅读次数:
137
1. 下列哪项通常是集群的最主要瓶颈(C) A. CPU B. 网络 C. 磁盘IO D. 内存 2. 下列哪项可以作为集群的管理工具?(C) A.Puppet B.Pdsh C.ClouderaManager D.Zookeeper 3. 下列哪个是Hadoop 运行的模式?(ABC) A. 单机 ...
分类:
其他好文 时间:
2020-02-05 18:41:15
阅读次数:
95
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2020-02-05 13:35:52
阅读次数:
62
在安装python3之前,我们先看一下当前的python版本 [root@asset-app01 /]# python --version Python 2.7.5 查看一下python的安装路径 [root@asset-app01 /]# rpm -ql python /usr/bin/pydoc ...
分类:
编程语言 时间:
2020-02-05 11:46:47
阅读次数:
124
Windows 下 Redis 集群搭建 第一步:首先我们构建集群节点目录: (集群正常运作至少需要三个主节点,不过在刚开始试用集群功能时, 强烈建议使用六个节点: 其中三个为主节点, 而其余三个则是各个主节点的从节点。主节点崩溃,从节点的Redis就会提升为主节点,代替原来的主节点工作,崩溃的主R ...
分类:
其他好文 时间:
2020-02-04 22:14:04
阅读次数:
99