Suppose that you have a piece of code that you want to share on your blog (or other source). If you have a github account, than you can easily share it.
Go to gist.gitbub.com and type the piece of code you want to share. Then, just copy and paste the address. The end result is something like this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters