Skip to content

Instantly share code, notes, and snippets.

" Belongs to github.com/bojle
" do whatever you want with it
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file (restore to previous version)
if has('persistent_undo')
set undofile " keep an undo file (undo changes after closing)
endif
@bojle
bojle / cor.c
Created June 19, 2022 17:34
Chain Of Responsibilty Design Pattern in C
/**
* Written by: https://github.com/bojle
* License: Do whatever you want to
**/
#include <stdio.h>
#include <stdlib.h>
/* Chain of Responsilbity */