Code
I intend to add my own code to this page in the near future – for the moment, I provide some links to other people's code that I have learned a lot from
Michael Dobrew: Heterogeneous Agent Models and VAR code
Sergio Ocampo-Diaz: Teaching notes with accompanying Julia code
SHADE ECON Sequence Space Jacobian code