Clean Up Microsoft Word in Vim for HTML

Sometimes I get these Word docs that need to be used in WordPress or PHPlist. Sending out mass attachments is a huge no-no so I needed a way to quickly clean these things up in vim. I’m sure there are other tools out there that could do this in one or two clicks but vim is now a major part of my workflow.

:set fileencoding=utf-8
" Leave Latin-1 behind, set to UTF-8

" Convert ampersands

" Convert elipses

" Convert double quotes, left

" Convert double quotes, right

" Convert single quotes, left

" Convert single quotes, right

" Convert N Dashes

" Convert double dashes to N Dashes

:%s/.  /. /g
" Remove double spaces after periods

:%s/.   /. /g
" Remove triple spaces after periods

" Remove double non-breaking spaces after periods

" Remove single non-breaking spaces after periods

Mac for Development Setup

I recently installed an SSD in the MacPro 1,1. Instead of cloning my current OS to it, I opted to start fresh. Since many of these tools need XYZ before you can install them this it the order I went. It took a few days and I’ve not migrated any of my data (address book, config files, email).

I’m running 10.6.8 until I can get a new video card, new processors, flash the EFI, and install Mavericks. Because of this there are things missing from this list (RVM, Bower, node.js, grunt, and jekyll to name a few off the top of my head) that I will add to later. published March 30, 2015

  • Enable TRIM
  • rename to wednesday
  • Move home folder to /Volumes/Data/
  • Install Firefox
  • Move Firefox cache to /Volumes/Data/firefox_temp
  • Move Downloads to /Volunes/Data/Downloads
  • Install firebug
  • Install colorzilla
  • Install iWork
  • Install CS3
  • Mac RDC
  • Transmit
  • 1Password
  • Dropbox
  • Inconsolata font
  • uTorrent
  • Postbox
  • Komodo edit
  • iTerm
  • Linkinus
  • TextExpander
  • Xcode
  • Iterm
  • Git
  • Homebrew
  • Macvim
    • Plugin ‘gmarik/Vundle.vim’
    • Plugin ‘tpope/vim-fugitive’
    • Plugin ‘ap/vim-css-color’
    • Plugin ‘tpope/vim-surround’
    • Plugin ‘tpope/vim-repeat’
  • Fish shell
  • dnsmasq
  • Clacks overhead
  • Flatten the dock (10.6.8)

rest in peace

add_action ( 'wp_head', 'sir_terry' );

function sir_terry()
$clacks="<meta http-equiv=\"X-Clacks-Overhead\" content=\"GNU Terry Pratchett\" />";
echo $clacks;

Cloth Diapers On A Tight Budget

Cloth Diapering on a Budget

I hear it all the time…

We thought about cloth but it was just too expensive.

…and I totally get it. When I was pregnant and looking for advice I would see people with drawers FULL of pockets, AIOs, prefolds, every kind and brand of cover under the sun. I wondered if I had seriously underestimated the amount my baby was going to poop every day.

There is a tendency…for cloth users…to accumulate a huge stash. It makes parents new to cloth feel like they need to get 2 dozen whatevers just to get started. (It’s really not necessary unless you’re 40 miles from the nearest washing machine.)

It didn’t seem like an economical choice at all. I started to worry. “How are we going to do this? It doesn’t seem like we can afford disposable diapers OR cloth. I am a failure as a parent.

If you’re feeling like that, pump your brakes. Once you’ve gotten over the initial hump, they’re really much cheaper. It does look like a lot to buy at once but it doesn’t have to be that way. I have some tips for you. Advice I wish I had found when I was getting started.


People are going to give you diapers (and wipes!) whether you ask, want them, or not. At your shower. Co-workers. Acquaintences. The hospital. They’re free. USE THEM while you build your stash.

If you’re alredy using disposables it doesn’t have to be all or nothing. Use what you have, build your stash.


Skip the newborn sizes. We didn’t get any because I simply couldn’t. It worked out fine because our baby seemed to triple in size the first month.

  1. Newborns poop and pee A LOT. This is why people give you diapers. To get enough cloth to keep up with a newborn is expensive. Especially if you are looking at fitteds or certain WAHM brands.
  2. Your baby will grow out of them so fast. Unless you have a preemie or VERY tiny baby who will be able to put enough miles on that size to make it worth it, don’t bother.
  3. Unless…you know for sure you are going to cloth diaper more newborns. Buy some. Buy more when you have another little.


You don’t need that many covers to start. There’s no reason to buy 15 covers. We started with 4 Thirsties Duo Wrap aplix covers (1 blue, 1 green, 2 white). I didn’t like the way they fit the baby. I didn’t like the way the aplix seemed to make the front take longer to air dry than the rest. Some people love them…they didn’t work for us.

One of those were given to us so I actually bought 3. I over-bought 3. I knew within the first week of using it that I wasn’t going to be a huge fan of that particular cover.

My suggestion would be buy 1 of 3 different covers. The three covers we have used, in order of most loved to least:

  1. Blueberry Coveralls – Snap
  2. Bummis Pull-on
  3. Thirsties Duo Wrap – Aplix

Right now we have 6 Blueberry covers with snaps that we trifold medium GMD prefolds into. I wish I had started with those covers because they are truly birth to potty. I adore the pull-ons and they are ideal to use with a fitted or diapering with prefolds and a snappis. Never used any pockets or AIOs because I didn’t want to deal with microfiber or not being able to nuke the diaper with hot water because it was attached to a PUL shell that would ruin if I did.


100% cotton is your friend. Microfiber tends to be cheaper but more fussy with stains and odors.

All our prefolds are GMD’s Cloth-eez. Start with 1 dozen, Yellow Edge Smalls.

I can’t recommend any Chinese knock-off brands of anything because I have never used them. People love Alva and Sun Baby brands but you’ll have to look for more specific information from other people.


Register for covers at Amazon. Set up a cloth diaper registry at Green Mountain Diapers. On your shower invites, make sure to note that in lieu of a gift, a monetary donation towards your cloth diaper fund would be greatly appreciated. Every little bit helps.

…and finally

It’s ok.

It’s ok if you buy “china cheapies” on ebay.
It’s ok if you use disposables from time to time.
It’s ok if you look at the Good Mama diapers and want to cry. (Seriously, don’t look.)
It’s ok if you don’t get the cutest covers
It’s ok if you can’t afford adorable made in the USA WAHM fitteds and covers
It’s ok if you decide cloth isn’t right for your family

Ultimately, these are utilitarian products. They are to catch and hold the feces and urine of our sweet little babies. Don’t try to be the Valedictorian of Diapering. I promsie you will be looking at tiny potties and step stools before you know it. Don’t sweat it.

Adding Custom CSS to Bones WordPress Theme

Adding Custom CSS to Bones WordPress theme

I love Themble’s Bones theme as a WordPress theme starter. I’ve used several over the years. TidyTheme’s blankslate is my second favorite but this post is about Bones!

Bones is meant to be used without Child themes which, honestly I’ve never had much luck with. That was one of the first things I liked about it. I downloaded Bones, initially, because I wanted to learn SASS. I didn’t think I would stick with it so I just made alllll kinds of changes to /library/css/styles.css. This is completely safe to do and is exactly what the theme developers intended. However, I wish I had made some of my customizations portable and not all wound up in styles.css. I may want to reuse these particular styles on another project or change themes but easily retain my shortcode styles, for instance.

What you may want to do is add your customizations to a separate css file. Whether you use SASS or not is up to you; WordPress won’t care. You probably will not want to do all of your overrides in your custom.css. You’d be wasting precious bytes and slowing your site down with redundant declarations

Don’t be lazy
WP Dev Beginners: Don’t be tempted to just throw a tag into header.php and call it a day. Enqueue and dequeue your styles and scripts!

Enqueue style in functions.php

Alright. Open functions.php. On a new line after line 207 where you see add_action, paste this:

function bones_custom_css() {
  wp_register_style('my_custom_css', get_template_directory_uri() . '/library/css/custom.css');
  wp_enqueue_style( 'my_custom_css');

add_action('wp_enqueue_scripts', 'bones_custom_css', 1000);

Create custom.css on your web server however you perfer. That’s it.

Extra Credit: Something I learned

1000 represents the order you want the script/stylesheet to appear.
Without specifying 1000, this shown below from functions.php @ line 45

add_action( 'wp_enqueue_scripts', 'bones_scripts_and_styles', 999);

would cause library/css/styles.css to appear after library/css/custom.css. Depending on how you use this stylesheet, it might cause you problems. We set custom to 1000 to ensure the custom file appears after. All done.


Jasper. Today…you are 17 months old. It’s the last month we’ll say “He’s X months old.” This time next month you will be a year and a half old. From now on your age will be defined by years and halves (until you learn fractions and figure out where the 3/4 mark is).

He’s 2. He’s 2 and a half. He’s almost 3.

18 months, almost.

Last night when your Uncle Paul set up the green picnic table (which has been the kids’ table since I was a kid), I picked you up and put you in your spot for the first time. You were delighted. You sat through the entire meal with Meme’s Finding Nemo spoon, eating nuggets and hashrounds. Drinking from your sippy, watching the big kids.

You figured out how to get up and down by yourself in pretty quick time. After dinner, you climbed up all by yourself and had some more to drink. Swinging your feet and waiting for cheesecake.

I don’t know if you’ll ever read this one day but you’re fascinating to me. Every thing you do is amazing because you’re the one doing it.

Can’t believe you’re mine…

xoxox, momma

Chat Post Format

Bekabug: progress!
Bekabug: do not be fooled by Nature Valley’s square soft baked oatmeal bars.
grimapples: i shall not
Bekabug: it’s a cookie. it’s not breakfast.

Pin It on Pinterest