Linux Swap 启停及swappiness设置

可以通过磁盘分区和文件两种方式进行操作

2020-06-21 · 2 分钟

The XY Problem

原文链接 The XY Problem

2020-06-21 · 2 分钟

安全攻防技能-安全基础概念

cybersecurity: 网络空间安全涉及旨在保护设备,网络,程序和数据免受攻击和未经授权的访问的一系列实践,流程和技术; 网络安全不仅可以保护数据,还可以保护存储数据的资源和技术。

2020-06-20 · 7 分钟

LeetCode – Binary Tree Level Order Traversal Solution

Given a binary tree, return the _level order_ traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [3,9,20…

2020-06-09 · 1 分钟

Timers and time management in the Linux kernel. Part 7.

这篇文章 Timers and time management in the Linux kernel. Part 7

2020-06-07 · 12 分钟

/proc/buddyinfo文件

/proc/buddyinfo 文件可以查看Linux机器上可用的内存页, 可以查看每个节点,不同区域的每个order大小的块的可用数量, 下面是我们虚拟机的信息:

2020-06-06 · 3 分钟

LeetCode –Binary Tree Postorder Traversal

Given a binary tree, return the _postorder_ traversal of its nodes' values. Example: Input:  [1,null,2,3] \\ / Output:  [3,2,1] Follow up: Recursive solution…

2020-06-04 · 1 分钟

功能点分析法整理

由于工作需要,需要在项目立项前都需要进行功能点估算, 为后续计算项目组的的工作效率做准备。目前做了几次估算,在这里整理和总结一下。 我们目前使用的评估的标准参考 IFPUG: ISO/IEC 20926:2009 定义: 功能点是业务功能的单位, 也就是从用户视角的进行评估, 是可以和用户交流的。对于我现在实施的外包项…

2020-06-04 · 3 分钟

buddy memory allocation相关整理

wiki上的定义: The buddy memory allocation technique is a memory allocation algorithm that divides memory into partitions to try to satisfy a memory request as…

2020-05-29 · 4 分钟

python根据excel内容生成文件夹

工作需要根据excel数据信息,生成对应的文件夹,用python写了一个脚本处理了一下。 样例中表格内容也进行了调整。 - 环境: - windows10 - python3.7 + openpyxl - 目标: 以list.xlsx数据为准,抽取指定sheet页中的指定字段信息,生成目录, 并在目录中创建固定的子目录…

2020-05-01 · 2 分钟