October 26, 2009

#ServiceAlert - Login Problems

I have been informed people are having issues logging into Snipt.org today using their Twitter credentials. I’m working on fixing this and it should be taken care of in the next few hours. Just wanted to let everyone know I’m on it! #ServiceAlert

Update: The problem appears to have been on twitter’s end, login is working again! PS I am working on getting oAuth working now ;)

| Comments (View)
October 9, 2009

New RSS Features!

It’s been a while but I managed to sneak in some features people have been asking for using the feedback tab.

SniptBox RSS Feeds
Alot of people wanted to share the contents of their SniptBox via RSS, well now you can! All SniptBoxes are now equipped with RSS. You can grab the feed by clicking the RSS icon from your SniptBox homepage or via http://box.snipt.org/username/rss.

Snipt.org Wordpress Plugin 1.1
The latest version of the Snipt.org code embed plugin for wordpress is available on the wordpress plugin directory. This release now supports displaying your embedded snipts in the RSS feed of your blog.

Snipt View Counts
Now when you post a snipt you can see how many people have viewed it. This count is located in the bottom right corner of each snipt next to the share icons.

That’s all for now. There are still many more features on the way so subscribe to the RSS feed to stay on top of new updates. Thanks for using snipt.org!

| Comments (View)
May 15, 2009

Oh Yes, Upgrades are Coming!

Ok, so it appears the API was down after the server move, it is back up now. For those of you concerned with authorizing with the API via GET you can use this tool:

http://snipt.org/api/keygen

It will provide you a permanent token for the api based on your twitter credentials, to ensure your info is secure.

Upgrades are one the way. The current #1 is making the site fully IE7/IE8 compatible. Please note in the meantime if you are using IE you can switch to firefox/chrome/safari [all better browsers than IE] to utilize snipt.org. The site should be FULLY IE COMPATIBLE by the end of June ‘09.

I also want to add support for R/Splus as a language, if you are familiar with this language please contact me so I can add support for it!

Sorry for the delays everyone, we are a very small team doing the best we can to satisfy everyone’s needs. If you have something urgent you can reach me anytime day or night via twitter and I’ll do my best to get what you need done/fixed ASAP :)

| Comments (View)
May 12, 2009

Whoa What Happened This Weekend?!

In case you missed it Snipt.org was down over the weekend. This was due to an unfortunate oversight by our [now previous] hosting provider. I’ll post more on the story in the next day or two, after I’m sure I have all of our data secured.

In the meantime Snipt.org is back and running at full steam- on shiny new servers hosted by the good people at rackspace. Again my apologies for the outage, more info soon!

| Comments (View)
March 22, 2009

If You Bug Us, We Will Fix It

Hey! Hope everyone is enjoying all the new stuff we released last week. Over the weekend we changed a few things to continue our mission to make Snipt.org one of the best pastebins on the net. Thanks to @devmorgan we have updated the Snipt JS Embed to no longer use CSS IDs which he informed us was bad bad bad. Now it uses all CSS-classes so you may need to update your CSS :). Check out his awesome blog where he shares his developer know-how and even throws in some snipts for good measure.

Also big thanks to uber developer @dimebrain who let us know that the method-coloring of our themes wasn’t working at all! We got right on it and fixed it up, now you can view your method names in all the beautiful colors they were intended to be shown in! If you haven’t checked it out yet, you should see his very useful csharp library for interacting with the twitter API - tweetsharp.

If you find or have problems using Snipt.org tweet at me and I will get it fixed as fast as humanly possible. It’s through the help of users like you that Snipt.org has become what it is today!

| Comments (View)
March 18, 2009

Snipt API (and so much more!)

After a short feature-hiatus I’m proud to announce quite a few new things here at Snipt.org. As you may notice we have a sweet new jazzy logo provided by twitter user @miggi. We also have a well designed “extend” page which shows you all the cool new ways you can use Snipt (thanks to @wittyphrasehere).

As far as new features and things to play with there are quite a few-

Snipts:
- Change highlight theme on the fly
- Change text size on the fly via [+ / -] buttons
- Enabled/Disable word wrap
- Max / Min snipt pane (for easier viewing of large snipts)

Extending Snipt:
Now your snipts can venture outside the walls of Snipt.org and take on a life all their own! The Snipt.org API allows you to access and modify snipts remotely via REST calls. You can also use the open source actionscript library to easily integrate the Snipt API with your Flash/Flex/AIR projects. To test the API and also make something cool, Snipt.org is now available on the desktop in a package I like to call the “Cloud Coder”. This gives you easy access to snipping without having to launch a web browser, and best of all- its built on the brand new API. There are also other options, such as the new Wordpress plugin and the JS embed.

I hope you find these new features useful, Snipt.org is a tool for the community that is built on feedback from the community. If you have suggestions on how to improve Snipt, just shoot me a tweet!

| Comments (View)
February 25, 2009

Say Hello to Comments!

Sharing code on twitter is a great way to collaborate using Snipt.org, but what if you could discuss the code right the site itself? Now you can.

All Snipts now support commenting, proudly powered by DISQUS :). To start collaborating just click the “comments” link in the bottom right hand corner of any Snipt. Comments can be used as a powerful tool, use them to collaborate, to ask questions, or to post corrections. Whatever you do with them, make sure you have fun!

| Comments (View)
February 22, 2009

Easier to Read Code + Categories

You may find a few new things on Snipt when you go to share your code today. There is a new “min/max” feature which will allow you to maximize the width of the code pane to fit more code without scrolling.

If you keep a Snipt Box here you can now browse your box by category, making it easier to quickly find the code you need.

| Comments (View)
February 13, 2009

More New Stuff on Snipt!

Just rolled out some new features to Snipt, and thought I’d stop by the blog and fill you in! Here is some new goodness for you to play with:

Edit / Delete Snipts

Yes you can finally edit and delete your snipts- and you don’t even need to login! You can edit snipts for 30days without twitter login and with login you can edit them… forever!

Top 10

If you haven’t noticed… you can rate snipts- if its good code, vote it up, if its bad, vote it down. You can now see the top 10 highest rated snipts here.

More Twitter Integration

There is now more twitter integration to Snipt. You can actually login at anytime using your twitter username and password to easily edit snipts in your snipt box. Also, snipts saved to your snipt box will have a link back to your twitter profile. Embedded versions of the snipt have also been updated to link back to the snipt itself rather than the snipt.org homepage.

More Themes

Also added some more themes! I’ll be adding more throughout the week…

There are still more features on the way, stay informed via our RSS feed to get up to the minute updates.

| Comments (View)
February 10, 2009

Styling the Snipt Embed

The Snipt embed is a powerful tool- it lets you share the code you store here on Snipt.org in other places- like on your blog or on another website. The embed is much more than a simple script though- it is a highly stylable and customizable embedded item.

There are two major styling aspects to the Snipt embed, the container, and the code. Both are fully customizable. In this post I’ll explain how to make the most out of the Snipt embed.

The Embed

For this tutorial I’ll beĀ  working with this snipt. When embedded, the snipt appears like this by default.

If you applied a theme to this snipt, it would show up embedded with that theme, but even themes can be overriden for maximum flexibility.

The Container

The embed container is styled using CSS. This can be modified by overriding the default CSS styles. You can use the Snipt embed CSS Template to get started. Just paste it after the embed script and your ready to get styling.

By simply playing with some of the css you can completely change the appearance of the embed. Here are just a few examples, click view source to see the styles that create this effect:

An embed with a fixed width…

An embed with a different background…

An embed with no container and fixed width…

As you can see you can use CSS to change everything about the embed. This is just a small example of what you can do with CSS and the Snipt embed.

But what about the code highlighting itself? Yep, you can change that too.

The Code

In addition to CSS you can pass the embed parameters to change its appearance on the fly. The embed takes 3 (optional) parameters-

Font Size (fontsize)

Font (font)

Color (colors)

Here is an example: <script src=”http://embed.snipt.org/sok/font=arial&fontsize=12&colors=000000,000000,000000,000000,000000,000000,000000,000000,000000”></script>

Creates an embed like this. As you can see the font is now Arial size 12, and all the code is black because we have set all the highlight fields to black (000000). The widget takes 9 hex based colors, numbers only, comma seperated. Any colors you do not pass will be replaced by the default or the theme color if your snipt uses themes.

The color values are, in order:

OVERALL COLOR
VARIABLE COLOR
KEYWORD COLOR
METHOD COLOR
COMMENT COLOR
STRING COLOR
NUMBER COLOR
SYMBOL COLOR
ESCAPE CHAR COLOR

Conclusion

The goal of the Snipt embed is to make sharing code easier- not only that but to be able to share it in whatever motif you want. If people desire even MORE flexibility I will gladly extend the embed, just tweet at me or post in the forums.

Here is a simple example of the same embed 9 times, each with different styles. If you think up some cool highlighting themes drop me a tweet and I’ll them to the theme gallery!

| Comments (View)