Skip to content

Instantly share code, notes, and snippets.

View RedCarrottt's full-sized avatar
😀

Gyeonghwan Hong RedCarrottt

😀
View GitHub Profile
@RedCarrottt
RedCarrottt / c.vim
Created October 1, 2021 09:07 — forked from mxwell/c.vim
Basic config for Linux Kernel C Style
set noexpandtab " use tabs, not spaces
set tabstop=8 " tabstops of 8
set shiftwidth=8 " indents of 8
set textwidth=78 " screen in 80 columns wide, wrap at 78
set autoindent smartindent " turn on auto/smart indenting
set smarttab " make <tab> and <backspace> smarter
set backspace=eol,start,indent " allow backspacing over indent, eol, & start
filetype plugin indent on
@RedCarrottt
RedCarrottt / hash.c
Last active February 25, 2016 05:49 — forked from tonious/hash.c
/*
* list_head-like hash table implementation
* Author: Gyeonghwan Hong <[email protected]>
* Original Author: Tony Thompson <[email protected]>
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>