The lecture notes may be found here.

Code and a technical appendix for computing the graphs on financial frictions in the lecture notes may be found here. See the readme file for instructions on how to run the code. The code is written for Dynare 3.