We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
我喜欢使用 GitHub Gists。它可以让您对代码片段进行版本控制,这是一个很好的好处。
I enjoy using GitHub Gists. It lets you version control your snippets, which is a nice benefit.
编辑:这已成为一项免费增值服务(在此处查看定价),并将名称从 Gistbox 更改为 Cacher。
对于简短的片段,我使用我的编辑器片段系统。对于更大的片段,我使用 Gists,它也通过插件集成在我的编辑器中。如果您的编辑器不支持 Gists,您应该查看 http://www.gistboxapp.com/ 看起来不错并且跨平台。
下面是一个屏幕截图。演示视频位于 http://www.youtube.com/watch?v=VLgyY6lqpsQ 。
对于密码,您应该考虑 https://lastpass.com/ – 这样您的密码就受到……好吧,(主)密码的保护。它们在线存储,这意味着它们始终可以访问,并且大多数浏览器都有浏览器插件,提供自动填充和自动登录。
额外提示:如果您发现了一个代码片段程序,但不喜欢它,您可能会从alternativeto.net 获得关于替代方案的好主意。
EDIT: This have become a Freemium service (see pricing here), and changed name from Gistbox to Cacher.
For short snippets I use my editors snippet system. For bigger snippets I use Gists, which is also integrated in my editor through a plugin. In case your editor don't support Gists, you should look at http://www.gistboxapp.com/ which looks nice and cross platform.
Below is a screenshot. A demo video can be found at http://www.youtube.com/watch?v=VLgyY6lqpsQ.
For passwords you should consider https://lastpass.com/ – that way your passwords is protected by... well, a (master)password. They are stored online, which means they're always accesible, and there's browser plugins for most browser, providing auto fill and auto login.
Bonus tip: If you find a snippet program, but does not like it, you may get a good idea about alternatives from alternativeto.net.
snip2code 完全满足您的所有需求。
强大的搜索功能,仅获取有用的代码示例。
强烈推荐。
snip2code fits exactly all you needs.
Powerful search to get only useful code samples.
Highly recommended.
我建议您尝试我为此目的设计的 SnippLeaf.com。您可以尝试向我反馈您喜欢和不喜欢的内容。
我不久前创建了这个,因为我最喜欢的片段管理器之一关闭了,我已经习惯了它。
对于我来说,pastebin 和要点我发现太“重”,我专注于容易获得的片段。
我希望你会发现它很有用。
I could suggest you to try SnippLeaf.com that designed by me for this kind of purposes. You could try and give me feedback what you like and dislike.
I created this not so long time ago because one of my favorite snippet manager closed and I already get used to it.
For me pastebin and gists I found too "heavy" and i concenrated on easy getting snippets.
I hope you will find it useful.
http://pastebin.com 看起来像你需要的
http://pastebin.com looks like what you need
我为此编写了自己的工具。
请参阅https://github.com/harish2704/templates
http://templates-harish2704.rhcloud.com 上的演示
可以通过在代码模板上替换参数值来生成代码
I wrote my own tool for this.
See https://github.com/harish2704/templates
Demo on http://templates-harish2704.rhcloud.com
It can generate code by substituting parameter values on the template of code
我制作了 Snippeter,它将满足您的需求,您可以通过单击此链接上的实时预览来查看它的实际效果:codecanyon.net/item/snippeter-code-snippets-manager/6819365?ref=alenn
I made Snippeter, which will suite your need, you can see it in action by clicking on Live Preview on this link: codecanyon.net/item/snippeter-code-snippets-manager/6819365?ref=alenn
CSnipp (http://csnipp.com) 是我自己构建的代码片段管理器。您可以存储代码片段供个人使用,也可以与社区共享。您还可以将公共片段分叉并修改为您的个人收藏。它也免费供个人使用,并且将永远免费。
您还可以浏览和组织各种语言、类别和标签下的片段。
CSnipp (http://csnipp.com) is a Code Snippet Manager that i build myself. You can store code snippets for your personal use, as well as share with the community. You can also fork and modify public snippets to your personal collection. Also its free for personal use and will always be free.
You can also browse and organize snippets under various languages, categories and tags.
Snippet Hero
http://snippethero.com/
这是一个非常好的软件
Snippet Hero
http://snippethero.com/
This is a very good bit of software