Skip to content

Instantly share code, notes, and snippets.

@diegomhamilton
diegomhamilton / circular_buffer.h
Last active March 11, 2023 06:45
Circular Buffer generic implementation using C macros. Cool for embedded applications.
/*
* ------------------------------------------------------------
* "THE BEERWARE LICENSE" (Revision 42):
* diegohamilton26@gmail.com wrote this code. As long as you retain this
* notice, you can do whatever you want with this stuff. If we
* meet someday, and you think this stuff is worth it, you can
* buy me a beer in return,
* Diego Hamilton.
* ------------------------------------------------------------
*/
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 8, 2024 07:49
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname