Qiita (Webservice): http://qiita.com
Qiita lets you log and share programming knowledge such as codes, snippets or debugging know-how and you receive feedbacks from other programmers.
Kobito (Mac Application): http://kobitoapp.com
Kobito is a hacker-friendly memo application. It supports markdown syntax, code syntax highlighting and you can publish memos with one click.