Tux


KISS

了解分布式理论之CAP理论笔记

914efc5c66474a5e.svg

CAP理论:

  • 一致性(Consistency): 每次读取收到的都是最近写的或者是一个错误
  • 可用性(Availa...
System Design #cap理论 #分布式系统设计理论 #系统设计 0 comments 18

the art of command line 笔记整理

  • man 用来阅读命令的官方文档, 比如 man man

    命令的分区号
    分区号

    • 1 普通命令
    • 5 文件/约...
Shell #shell # bash # notes 0 comments 22

quick sort based on double linked list

```python
"""Quick Sort based on double linkedlist
"""
import collections
import random

class DataNode:
def init(self, ...

Algorithms_4th #quick sort #double linked list #算法 #algs-4th 1 comment 51

listing files

```python
"""1.3.43 Listing files.
A folder is a list of files and folders. Write a program that takes the
name of a folder as a comma...

Algorithms_4th #listing files #算法 #algs-4th 0 comments 48

Linux Performance Tools Set 小记

7b1c050cf39246a2.png

Networks

  • ss/netstat

    ```bash
    $ ss -antpu
    ...

Linux #Linux-Performance-Tools #port-used 0 comments 72

Move To Front

```Python
"""1.3.40 Move-to-front.
Read in a sequence of characters from standard input and
maintain the characters in a linked list w...

Algorithms_4th #algs-4th #move-to-front-python 0 comments 70