You have a card deck of n cards, numbered from top to bottom, i. e. the top card has index 1and bottom card — index n. Each card has its color: the 𝑖 ...
分类:
其他好文 时间:
2021-04-15 12:03:00
阅读次数:
0
一、今天在查看awr报告中,发现Top 5 Timed Foreground Events发现enq: HW - contention的等待事件; 二、enq: HW - contention的官方说明: The HW enqueue is used to serialize the allocat ...
分类:
其他好文 时间:
2021-04-14 12:39:09
阅读次数:
0
### range(start,stop ,step) - 按循序生成整数 #生成整数,参数可是负值,STEP可以是负值,参数可以只是一个整数 for item in range(0,10,2): print(item) 结果: 0 2 4 6 8 列2: for item in range(10) ...
分类:
其他好文 时间:
2021-04-14 12:16:21
阅读次数:
0
今天面试学费了一个小技巧 pstack jstack gdb attach 如果CPU过高,面试怎么初步定位,如何辅助开发定位 1,log备份 2,top 之类的信息备份 3,coredump 信息备份 4,我不知道的 堆栈信息备份!! 1,top查看pid 2,pstack 进程ID显示线程堆栈 ...
分类:
系统相关 时间:
2021-04-14 12:06:58
阅读次数:
0
打开命令行,依次输入以下名利即可 cd ~/.ssh ls cat id_rsa.pub 或者 vim id_rsa.pub 以ssh-rsa开头,用户名结尾的这一整段内容,就是我们需要的ssh公钥了 ...
分类:
其他好文 时间:
2021-04-14 11:59:31
阅读次数:
0
详见:https://www.cnblogs.com/liyuanhong/articles/14653178.html 1、监控cpu w top htop uptime glances ps 2、监控内存 free glances top htop 3、监控磁盘 df glances iotop ...
分类:
其他好文 时间:
2021-04-14 11:52:58
阅读次数:
0
1.定位position的取值: static:默认值,静态的 relative:相对定位 absolute:绝对定位 fixed:固定定位 sticky:粘性定位 既然是定位了,不同定位之间的区别是参考系不同 position:static 特点:默认的定位方式,元素不受top,buttom,le ...
分类:
Web程序 时间:
2021-04-13 11:40:23
阅读次数:
0
现在的大多数网站都有校验,以及信息提示:为了给用户更好的体验可以不用alert提示消息,采用jQuery提示完消息,自动消失。 CSS <style> #tip_message { z-index: 9999; position: fixed; left: 0; top: 40%; text-ali ...
分类:
Web程序 时间:
2021-04-12 12:47:55
阅读次数:
0
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
分类:
Web程序 时间:
2021-04-12 11:51:40
阅读次数:
0
LeetCode148 排序链表 题目 给定链表的头结点head,返回排序后的链表,按照由小到大的顺序。 案例1 输入:head = [4,2,1,3] 输出:[1,2,3,4] 分析 使用归并排序,先找出中间节点(快慢指针:快指针每次走两步,慢指针每次走一步,当快指针走到链表最后,慢指针所在的位置 ...
分类:
编程语言 时间:
2021-04-10 13:34:31
阅读次数:
0