Skip to main content

Posts

Showing posts with the label github

D3, gists, and bl.ocks.org

Yesterday I stumbled upon a very useful tool while (trying to) teach(ing) myself D3, namely http://bl.ocks.org . This lets you access, and preview, your webby gists in a browser - just by browsing to http://bl.ocks.org/<gist-id>. Most handy! (The only minor down side is that there seems to be a slight latency if you update your gist before it updates on bl.ocks.org.)

Gists on Blogger

Today I wondered how to add nice-looking gists to future posts here on my dynamic themed blog, and found the following solution: http://blog.moski.me/2012/01/gist-with-bloggers-dynamic-views.html  (Thanks Moski.) That's all. Update 10/12/2014: The script has now moved (Ref: https://stackoverflow.com/questions/24005430/moski-gist-blogger-not-loading-gists-in-chrome-for-gists-in-blogger-dynamic-vie ) Update 25/04/2020: This guide is better: https://betterstack.dev/blog/how-to-embed-a-github-gist-in-your-website/ .