Skip to content

Instantly share code, notes, and snippets.

View x1ah's full-sized avatar
:octocat:
In pain

x1ah x1ah

:octocat:
In pain
View GitHub Profile
@x1ah
x1ah / cat.gif
Last active November 20, 2020 13:07
cat.gif
@x1ah
x1ah / analyze.py
Created October 25, 2019 09:24
多进程进度条
# coding: utf-8
import gzip
import os
import re
from collections import Counter
from pathlib import Path
from tqdm import tqdm
from multiprocessing import Pool
import ujson
package main
import (
"fmt"
"sync"
)
// 返回 <-chan int 表示只读 channel
func waitGroupDeadLockDemo() <-chan int {
outChannel := make(chan int)
@x1ah
x1ah / c.gif
Last active July 4, 2020 04:58
cat
c.gif
@x1ah
x1ah / tmux-cheatsheet.markdown
Created July 30, 2018 03:04 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]