Showing posts with label blog. Show all posts
Showing posts with label blog. Show all posts

Wednesday, June 27, 2012

Sharing Blog Example Code

I've been blogging since 2005, using various tools for publishing readable code. Originally you'd just put code out there, no colors, just a pre tag and some indention. Then 'export to html' became pretty standard in various editors, and everyone's life got better. These days, people want code examples available to play with - and I use GitHub to make that possible.

I've been toying with different formats for sharing code, and my last blog entry demonstrates what I've settled on.
  • Each blog entry with a non-trivial amount of code will live in a repository owned by blog-jayfields-com
  • Commits will contain working code that can be executed (if possible)
  • I'll use gist-it to embed code that can be found in the GitHub repo
  • I'll create a gh-pages index.html with the content of the blog entry, for people to review and provide feedback.
Hopefully the extra integration with GitHub will make it easier to try out any code that I publish. As always, please drop me a line in the comments if you have any suggestions.

Thursday, August 16, 2007

Blogs I Read

These are the blogs that I read, in no particular order.

Don't see yours on there, but think it should be? let me know: ruby at [my domain] . com

Friday, March 09, 2007

Blog: New Url

My blog has moved to a new location.

For Viewing: http://blog.jayfields.com
RSS: http://blog.jayfields.com/rss.xml
Atom: http://blog.jayfields.com/atom.xml

Please update your links or subscriptions.