Skip to content

Instantly share code, notes, and snippets.

View krha's full-sized avatar

Kiryong Ha krha

  • Carnegie Mellon University
  • Pittsburgh
View GitHub Profile
@krha
krha / monex.py
Last active August 29, 2015 14:07 — forked from yy/monex.py
#!/usr/bin/env python
# encoding: utf-8
"""
MONitor & EXecute
Yong-Yeol Ahn (http://yongyeol.com/)
This script monitors multiple files and executes the given command when
any of those files is changed.
"""
import sys
@krha
krha / odd.c
Created February 23, 2012 22:41 — forked from theonewolf/odd.c
odd static test in C
#include <stdio.h>
int good(int i)
{
i++;
return i;
}
int not_good(int i)