Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better Solution than Evernote for Code Snippets/Examples? [closed]

I'm learning javascript and want to create a library of example code snippets as I learn new ideas. I'm currently using evernote, but am wondering if there is a more elegant solution where I can create a reference library complete with syntax highlighting/executing the code in the browser.

Thoughts/suggestions?

like image 429
Phil Powis Avatar asked Oct 12 '13 11:10

Phil Powis


4 Answers

Tried the Evenote Plugin for Sublime3?

http://www.sublimetext.com/3

https://sublime.wbond.net/packages/Evernote

You can save new notes, update existing notes, using github style markdown.

Here is an example:

evernote code snippet example - created with sublime 3 evernote plugin

like image 156
Mark V Avatar answered Oct 19 '22 17:10

Mark V


I use

app.gistboxapp.com

You need a GitHub account to login: this app connects to your Gists repository saved into Github and keeps all your code snippets. It's web based so you don't need to download anything. Everytime you save a new snippet GistboxApp will add a Gist to your Github repository.

You can label all your snippets to divide them in categories.

Hope this helps...it works fine for me

like image 40
MaxBauer416 Avatar answered Oct 19 '22 19:10

MaxBauer416


I use Evernote as the snippets etc. is primarily from various websites. The web clipper browser plugin lets me create notes right to Evernote with highlighting (as shown on the original website) preserved. Tagging and additional comments along with sharing and the availability (between job/home/mobile in my case) is a very nice addition.

For my own snippets from IDE/editor i usually do a screenshot or if i want to preserve the copy-paste-ability i just add a text/source file to Evernote.

like image 27
Michael Banzon Avatar answered Oct 19 '22 18:10

Michael Banzon


For OS X there is Quiver. It is very similar to Evernote in look and feel and adds many useful code snippets related features.

Quiver is a notebook built for programmers. It lets you easily mix text, code, Markdown and LaTeX within one note, edit code with an awesome code editor, live preview Markdown and LaTeX, and find any note instantly via the full-text search.

Quiver screenshot

like image 4
devmake Avatar answered Oct 19 '22 17:10

devmake