安装好git之后,新建文件夹,然后打开文件夹右键git bash,打开git的命令行,输入git init初始化、让git帮我们管理当前文件夹。 git status 查看当前文件夹中的所有文件的状态(三种状态)。 三种状态: 红色:新增的文件/修改了原文件,->git add 文件名,变成绿色; ...
分类:
其他好文 时间:
2020-07-02 21:25:27
阅读次数:
76
1. 直接内存 不是虚拟机运行时数据区的一部分,也不是《Java虚拟机规范》中定义的内存区域。 直接内存是Java堆外的、直接向系统申请的内存区间。 来源于NIO,通过存在堆中的DirectByteBuffer操作Native内存。 IO:阻塞式 NIO:非阻塞式 通常,访问直接内存的速度会优于Ja ...
分类:
其他好文 时间:
2020-07-02 19:51:14
阅读次数:
70
echarts里有个属性是axisLabel,当其为1时会隔行显示,设为0时会强制显示所有.示例: xAxis: { data: [1,2], axisLine: { lineStyle: { color: '#8E8E93' } }, axisLabel: { color: '#000000', ...
分类:
其他好文 时间:
2020-07-02 18:27:25
阅读次数:
184
1、两种数据丢失的情况 主备切换的过程,可能会导致数据丢失 (1)异步复制导致的数据丢失 因为master -> slave的复制是异步的,所以可能有部分数据还没复制到slave,master就宕机了,此时这些部分数据就丢失了 (2)脑裂导致的数据丢失 脑裂,也就是说,某个master所在机器突然脱 ...
分类:
其他好文 时间:
2020-07-02 18:17:32
阅读次数:
60
话不多说直接上代码 for (let i = 0; i < _this.data.comment.length; i++) { if (e.currentTarget.dataset.id==_this.data.comment[i].id) { console.log(_this.data.com ...
分类:
微信 时间:
2020-07-02 16:29:48
阅读次数:
236
1.必须用oracle登录到Linux系统上 创建监听之前先用lsnrctl stop 命令将默认的监听停止 lsnrctl stop lsnrctl status lsnrctl start 然后在ORACLE用户图形界面下运行 netca 命令监听一直按下一步就能完成配置 lsnrctl sta ...
分类:
其他好文 时间:
2020-07-02 16:07:16
阅读次数:
52
import xlrd,threading, requests,threading,json,time,math import numpy as np import gevent from queue import Queue products = Queue() result = Queue() ...
分类:
编程语言 时间:
2020-07-02 16:05:50
阅读次数:
105
给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 示例 1: 输入: 1->2->3->4->5->NULL, k = 2 输出: 4->5->1->2->3->NULL 解释: 向右旋转 1 步: 5->1->2->3->4->NULL 向右旋转 2 步: 4->5 ...
分类:
其他好文 时间:
2020-07-02 13:42:53
阅读次数:
57
https://www.nairatag.com/cryptocurrency/how-to-trade-cryptocurrency/ This guide will show you how to trade cryptocurrency. This is for both newbie and ...
分类:
其他好文 时间:
2020-07-02 13:40:12
阅读次数:
91
x=np.arange(1,13,1) y=np.array([17, 19, 21, 28, 33, 38, 37, 37, 31, 23, 19, 18 ]) plt.plot(x,y) plt.show() 可以看出温度是以周期为12的正弦函数 #构建函数y=a*sin(x*pi/6+b)+c ...
分类:
其他好文 时间:
2020-07-02 13:18:06
阅读次数:
68