Random thoughts

Share to Learn, Learn to Share

Hello World

Today, I’m pretty excited to start blogging with a geeky, yet fun Octopress!
As a newbie, I’ll jot down a basic setting of Octopress-based blogs in this very first post.

1. Test sharing code snippets

(test.py) download
1
2
3
4
5
def insert_code():
  print "Sorry, it does not work!"
	
if __name__ == "__main__":
  insert_code()

Check out this guide.

UPDATE (2013/12/20): Having switched to kramdown (mainly for LaTeX) from default Rdiscount, suddenly all of my backticks, codeblocks, syntax highlighting no longer work. For now, I have no idea, so let’s take time and figure it out…

2. Markdown
A simple markdown cheat-sheet, and an online markdown editor