Armless Flood
Okay, this one isn't really code, but I've done it tons of times and its pretty funny. Wherever you have flood to fight, take out an assault rifle and shoot only at the arms of the corpses, this blows them off without killing the corps completely. After that the thing keeps running at you, but stopping two feet away because it can't do anything. As long as you don't kill it, it'll be your shadow.