Sign inSign up

kcmerrill/snippets

By kcmerrill

•Updated almost 11 years ago

A personal Gist repository

Image
0

994

kcmerrill/snippets repository overview

A very simple/lightweight Gist repository with a full include code editor(Ace).

Usage:

1.) Make sure you have a mongo db instance running

docker run -d -p 27017:27017 --name=mongodb mongo

2.) Start snippets

docker run -d -P --name=snippets kcmerrill/snippets

Save your snippet and be sure to capture the url!

Now, to edit, simply return to the url provided at any time and save and/or fork it.

URLs you can take advantage of:

http://your_snippet_location/_snippet_id/download

http://your_snippet_location/_snippet_id/raw

http://your_snippet_location/_snippet_id/_file_name_of_your_choosing

The last URL provided is useful when using wget/curl in your applications.

Tag summary

Content type

Image

Digest

sha256:c0939bb47…

Size

112.2 MB

Last updated

almost 11 years ago

docker pull kcmerrill/snippets