Skip to content

Instantly share code, notes, and snippets.

View SergeBouchut's full-sized avatar
🎯
Focusing

Serge Bouchut SergeBouchut

🎯
Focusing
View GitHub Profile
@SergeBouchut
SergeBouchut / dispatcher.py
Last active June 15, 2018 10:31
Dispatcher pattern implementation and use cases: polymorphism, router.
from abc import ABC, abstractmethod
class Dispatcher(ABC):
@abstractmethod
def _get_key():
raise NotImplementedError
@classmethod
def register(cls, key):
@SergeBouchut
SergeBouchut / vim.md
Created January 27, 2018 14:31
Vim favorite shortcuts

VIM

VIM

Basics

Description Shortcuts