Skip to content

Instantly share code, notes, and snippets.

View MASerruya's full-sized avatar

Mario Andrés Serruya MASerruya

  • Madrid, Spain.
View GitHub Profile
@anopheles
anopheles / router.py
Created September 12, 2012 13:34
Router Dealer example with bidirectional communication
# encoding: utf-8
import zmq
from collections import defaultdict
context = zmq.Context()
client = context.socket(zmq.ROUTER)
client.bind("tcp://*:5556")
poll = zmq.Poller()
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 14, 2026 05:26
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname