#pastebin

2 bookmarks tagged with #pastebin · RSS Feed · ← All Tags

Dynamically including Github code | PeterBraden.co.uk

http://peterbraden.co.uk/article/github-include
"pasted code is dead code - real living code changes, and short of going back and repasting, the code on the web quickly becomes out of date. So this is a little snippet I whipped up to dynamically (by the wonders of cross-site ajax) load code from a github branch. This means, when you update the git branch and repush, the code will update."