Skip to content

Instantly share code, notes, and snippets.

View murakrishn's full-sized avatar
🏎️
(read-eval-print)

R Murali Krishnan murakrishn

🏎️
(read-eval-print)
View GitHub Profile
@Zearin
Zearin / python_decorator_guide.md
Last active November 22, 2025 14:31
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].

@simonista
simonista / .vimrc
Last active November 14, 2025 09:53
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 24, 2025 16:51
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname