Gists are a sort of snippets than you can create, share and embedd using a simple js script tag. I have started to use them very often and I think I will that more and more in the future. JUst think about that gists are also plain git repo and as any git repo can be cloned and shared between your team.
I have created a very simple Mango plugin ( mango in very easy when you want to create plugins !!! ) so that you can embed your gists in your mango posts.
Syntax is incredibly easy .... just have a look here.
The mango auto install url is : http://github.com/downloads/andreacfm/mango.gists/com.andreacfm.mango.gists_1.0.zip
You can also download the zip or clone the source form the same GitHub repo.
Have fun !