Code Bits is a free repository of helpful code snippets for data processing and analysis (using Python/Pandas and SQL). Repository is open source, and goal is to provide up to date/helpful snippets to data analysts and data scientists. If you have snippets you'd like to add, please feel free to contribute via github!
Gisto is a code snippet manager that runs on GitHub Gists and adds additional features such as searching, tagging and sharing gists while including a rich code editor.
All your data is stored on GitHub and you can access it from GitHub Gists at any time with changes carrying over to Gisto.
It's free and open source.