The evening after Hamas militants launched a deadly attack on Israel, Micky Barnea started writing a blog.