是否有免费的网站可以在线存储代码(php、javascript、css)?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3661352/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 01:51:39  来源:igfitidea点击:

Is there a free website to store code (php, javascript, css) online?

phpjavascriptjquery

提问by Martin

I am looking for website to store my code and then reused if may I need it. Would be great something like Delicious but for coding or something like Snippely.

我正在寻找网站来存储我的代码,然后在需要时重复使用。像 Delicious 这样的东西会很棒,但是对于编码或 Snippely 之类的东西。

采纳答案by Colin Hebert

You can host your code on solutions like Google code, Sourceforgeor GitHub.

您可以在Google 代码SourceforgeGitHub等解决方案上托管您的代码。

If your code is more a snippet you can choose solutions like snipplror Gist

如果您的代码更像是一个片段,您可以选择像snipplrGist这样的解决方案

回答by ngmir

Google code (code.google.com) does that for Project coordination.
JSfiddle (jsfiddle.net) is pretty awesome when you have HTML, JS and CSS.

谷歌代码 (code.google.com) 为项目协调做这件事。
当您拥有 HTML、JS 和 CSS 时,JSfiddle (jsfiddle.net) 非常棒。

回答by Sean Kinsey

回答by Adam Butler

For code snippets how about http://gist.github.com?

对于代码片段,http://gist.github.com 怎么样?

回答by Chiggins

If you wanted to go the route of project coordination and hosting, there is also GitHub.

如果你想走项目协调和托管的路线,还有GitHub。

回答by choise

thousands of websites out there. http://snipplr.com/for example. just bought by envato and it will get some really neat new features. also works together with some apps like textmate or something

数以千计的网站在那里。例如http://snipplr.com/。刚刚由 envato 购买,它将获得一些非常简洁的新功能。还可以与一些应用程序一起使用,例如 textmate 之类的