Share your code snippets online

Most people involved in development will often come across the need to show someone else their code. This happens to me almost on a daily basis so I finally decided to whip up a quick little app to help with this. I downloaded GeSHi to do the syntax highlighting and came up with http://box.bonetree.net/. It’s not the prettiest, but then again I’m not a designer ;). Please leave some comments to let me know what you think or if you have any suggestions. GeSHi supports many languages, so if you have any requests I’ll probably be able to accomodate them.

Share and enjoy! :)

Share and Enjoy:
  • Digg
  • Reddit
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Technorati
  • LinkedIn
  • Slashdot
  • MySpace
  • email
  • Print
This entry was posted in Development and tagged , , , , . Bookmark the permalink.

5 Responses to Share your code snippets online

  1. Amir Watad says:

    Very nice!
    It should be more useful if you can add a support for using TABs for indentation. (currently, tabs move the focus from the textbox).
    I’d like to see other popular languages, like C, python, bash, Java, verilog.
    Loved it.

  2. Daniel says:

    Hey Amir!
    Thanks for the comments. I’ve just added support for the languages you mentioned (and a few others), and I’m working on support for tabs within the textbox. Check back for the updates and thanks again!

  3. Daniel says:

    Update:
    Tab support is in :)

  4. Amir Watad says:

    Fantastic. Thank you buddy.
    I see that python is still missing, adding it would be very useful.

    I’ll be writing a post about this really simple, efficient and useful tool soon.
    Will update you as soon as I do this.

    Thank you again.

  5. Amir Watad says:

    Ok friend, you’re here:
    http://www.amirwatad.com/blog/archives/2008/11/29/easily-create-code-snippets-with-bonetree-box/

    By the way, two more things that I think will be nice:
    1. The current CAPTCHA is not so easy to decode even by human beings. Maybe you should consider using a less aggressive one.
    2. Having the option to save the output as a png image would be great.

    A great work!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">