Where to store and mantain production code making it available for users to include its url

Let's say we created a small widget or web app. or just a plugin - and we want to distribute it to the public. (JS, jQuery...) ...and we have no server- or we are afraid it will close one day. ...and we'd like to provide that script like an url-to-script to be included into a script tag.Like we do with the jQ library -- Is there any provider that allows us to store codes and generates a livetime url to it?? That we can mantain, change or fix it anytime without the need to inform all users? Have Google something like that? Or am I dreaming?

Answers


You can upload on github. It's free for open-source projects, and you can even link directly to the repo's master branch; example:

https://github.com/douglascrockford/JSON-js/raw/master/json_parse.js

(There are good reasons not to do that as a general rule — the master branch could get a breaking change committed to it, for example — but it's there if you need it.)


Need Your Help

Why is geom_freqpoly creating a fake minimum datapoint?

r ggplot2

The minimum observation in my data is 326. But geom_freqpoly plots a frequency polygon that starts below zero. What gives? And how do I make it start in a sensible place?

Can't break out of nested for loops

actionscript-3 arrays loops match break

I have the following function but despite using the break statement, it doesn't seem to be stopping after it finds a match in the array:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.