Posts

Showing posts from November, 2014

Cool Tools: Vim Tricks

This post will help me remember cool tricks I learn in VIM.  It's mostly for me to find things I've forgotten how to do ... Select an XML/HTML tag block Tag blocks * tag-blocks * For the "it" and " at " text objects an attempt is done to select blocks between matching tags for HTML and XML. But since these are not completely compatible there are a few restrictions. The normal method is to select a until the matching . For " at " the tags are included, for "it" they are excluded. But when "it" is repeated the tags will be included (otherwise nothing would change). Also, "it" used on a tag block with no contents will select the leading tag .

Depression reading list

I've had multiple people ask for my book recommendations on depression on bipolar disorder.  Here's my reading list: The Noonday Demon: An Atlas Of Depression An extremely well written book about depression. It helps a reader understand the experience of depression from a superb story teller. The author also has a gripping  TED talk . An Unquiet Mind: A Memoir of Moods and Madness A psychiatrist's story of bi-polar disorder, a very well written personal memoir.  It gives a good feeling of the highs of Mania as well as the lows of depression.  Bipolar Disorder Survival Guide, Second Edition An engineering manual for laymen on bi-polar disorder.  This is a great book if you'd like to understand the current medical knowledge around bi-polar disorder, as well as what you can do to for yourself and your loved ones.