The current draft is written in Spanish and it was the result of my classes on Bayesian econometrics at Universidad Externado de Colombia. You can find the current draft here.
The code for the example of the coin flip can be found here.
There is no code for chapter 2.
The code for some problems of chapter 3 can be found here.
The code for some problems of chapter 4 can be found here.
Here is the code for some problems in chapter 5.
The code in this chapter shows how to solve problems of maximum entropy econometrics.
Here is the linear regression code with the conjugate priors of section 5.
The code in this chapter shows how to estimate a Bayesian VAR with dummy observations. The file includes the code to calculate the impulse response functions, unconditional forecasts, variance decomposition of forecast errors, and conditional forecasts using relative maximum entropy. The data used in the empirical exercise can be found here.