Skip to content

Categories:

Using Bitbucket for gist-like snips

So, in an effort to start updating my blog more often, I plan on posting more code – some C#, Objective-C, PHP, whatever I happen to be working on or find useful. I’ve got a bit of a backlog of these things, and I’m happy to share them.

One of the issues I had was I wanted to use Bitbucket to manage snips. Gist is great, but all my other stuff is on bitbucket, so I’d rather be able to post snips there, but they don’t have a pastbin/gist like service.

So to get around it, I’m using a repo and bitbucket’s ‘embed’ code. Its a slight bit more work, but I think with a WordPress plugin or even just a simple bookmarklet, I can make it pretty painless.

Example:

I’ll work on the styling for this, but it seems to work just right! I can even attach it to tags or revisions as needed. More to come on any tools I build for this!

Posted in Coding.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.