Skip to content

Instantly share code, notes, and snippets.

View hao-lee's full-sized avatar

Hao Li hao-lee

  • China
View GitHub Profile
@rocarvaj
rocarvaj / .vimrc
Created April 27, 2012 21:28
Minimal .vimrc for C/C++ developers
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
@bert
bert / gist:267960
Created January 3, 2010 12:42
GTK expose event and handler example
/*!
* \file
* \brief
*/
#include <gtk/gtk.h>
/*!