http://cosmo.nyu.edu/afterglowlibrary/
A simple code to solve the 1d Euler equations: eulers.c
A more advanced code for the 1d SRHD equations: srhd.c