Skip to content

Instantly share code, notes, and snippets.

@chkap
chkap / zmq_PUSH_experiments.py
Created May 25, 2019 15:29
Toy code to understand how zmq PUSH/PULL pattern works
import time
import multiprocessing as mp
import json
import zmq
port= 3456
slow_worker_sleep_time = 10
msg_num = 100
load = '*'*1
@chkap
chkap / tmux.conf
Last active March 11, 2022 14:56 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
setw -g automatic-rename on
set -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000