Adding SASS to the dotnet React template

Out of the box, ASP.NET’s JavaScriptServices app generator has gotten pretty good. It gives you a decent starting point (if you like TypeScript) and even has a react-redux template. It doesn’t, however, come with any css extensions like SASS. There’s a not very user-friendly description in the docs of how to add it, but here’s the quick and dirty of how to add SASS to your project.

Disclaimer: This will not include hot module reloading for the scss files. 😭 This is very lame, but it’s discussed here that it’s better to build your css the same way in dev and prod (rather than using different loaders for the two environments), so until there’s a valid loader that can do both, this is the method they recommend.

  1. Install the required modules
    Using npm:

    npm install --save-dev node-sass sass-loader
  2. Update the webpack config(s)
    Find the rules block in your webpack config that are testing for /\.css$/ files. Modify that line to:

    { test: /\.s?css$/, use: ExtractTextPlugin.extract({ use: isDevBuild ? 'css-loader!sass-loader' : 'css-loader?minimize!sass-loader' }) }
  3. Rename your file(s)
    The default app has a file called “site.css” in the /css folder. Rename this to “site.scss”.
  4. Update your reference
    Wherever you are including your css into your app (by default, it’s in boot-client.tsx), change that reference to match your new file name:

    import './css/site.scss';

    Psst: DON’T change the file name in your webpack.config passed to the ExtractTextPlugin; that is specifying the name of the output file.

  5. Run your app, and load in a browser
    Run on the command line by using “dotnet run”, then open a browser to localhost:5000, or whichever port is specified. If your app is building in Production mode (it will say in the blurb when it boots up), then you can set the environment flag by running:

  6. Add some SASS 
    At the top of your new .scss file, test it out by adding a variable, and then abuse that variable:

    $hideous-color: #f0f;
    body {
        background-color: $hideous-color;
  7. Reload your app in the browser

You are now cookin’ with SASS. Terrible pun intended.

21 Day Fix – Meal Planning Week 2

Woo! Made it through week one, and actually stuck to the plan! (Except for a couple slices of pizza at lunch on Saturday). Here’s what’s on the menu for week 2:


  • Breakfast: 2 eggsR
  • Snack: Yogurt, 2 tangerines (still don’t have my Shakeology yet😭)RP
  • Lunch: Turkey burger patty with monterrey jack cheese, sweet potatoes RYB
  • Snack: Dark chocolate chips, carrots & celery, peanutsYGO
  • Dinner: Salmon, spinach, tomatoesRGG
  • Snack: StrawberriesP


  • Breakfast: Shakeology (hopefully! đŸ€ž)R
  • Snack: 2 eggs, pumpkin seedsRO
  • Lunch: Meatloaf, roasted carrots and potatoesRGY
  • Snack: Blueberries, carrots & celeryPG
  • Dinner: Beef & vegetable stewRG
  • Snack: Dark chocolate chips, almondsYB


  • Breakfast: ShakeologyR
  • Snack: Yogurt, almondsRB
  • Lunch: Beef & vegetable stew, 2 tangerinesRGP
  • Snack: Carrots/celery, pumpkin seeds, dark chocolate chipsGOY
  • Dinner: Verde chicken, quinoa, spinachRYG
  • Snack: StrawberriesP


  • Breakfast: ShakeologyR
  • Snack: 2 eggs, blueberriesRP
  • Lunch: Verde chicken, quinoa, spinachRYG
  • Snack: Carrot/celery/cucumber, pumpkin seedsGO
  • Dinner: Steak, roasted brussels sprouts, sweet potatoesRGY
  • Snack: Strawberries, almondsPB


  • Breakfast: ShakeologyR
  • Snack: YogurtR
  • Lunch: (Work-catered) Make good choices!RYG
  • Snack: (Holiday party) ^^GOP
  • Dinner: Eat out at Verts (grilled chicken, salad, hummus, sweet potato fries)RGBY
  • Snack: StrawberriesP


  • Breakfast: ShakeologyR
  • Snack: 2 eggs, 2 tangerinesRP
  • Lunch: Eat out at Pita Fusion (Grilled chicken wrap, hummus, veggies, cheese) RYGB
  • Snack: Pumpkin seeds, carrots/celeryOG
  • Dinner: Salmon, potatoes, broccoliRYG
  • Snack: StrawberriesP


  • Breakfast: Shakeology, whole wheat waffleRY
  • Snack: Yogurt, pumpkin seedsRO
  • Lunch: Chicken burrito bowlRGBY
  • Snack: Carrots/celery, berriesGP
  • Dinner: Beef & vegetable stewRG
  • Snack: StrawberriesP


Mostly off the cuff and leftovers this week, but I will be trying:

21 Day Fix – Meal Planning Week 1

Wow, long time, no blog. I have decided to do a 21 Day Fix challenge this December, and I just completed my first round of meal planning and prepping for the upcoming week. Phew! Lots of work, stress, and work. (I know I said that twice.) After planning for about an hour an a half, when Mark asked why I didn’t plan X, I threw a mini temper tantrum and threw my binder. Luckily, Amy is adorable and went and got it and handed it back to me sweetly.

SO, what came of all of that planning? I’m going to document it here in case anyone wants to steal it and save the hours of planning, or in case I want to reference it in the future. I’ll break down below what I’m making (and what categories they are), what recipes I’m using, and what I plan to prep in advance.

To start with, I printed off the free weekly planning sheet from Sublime Reflection for my target calorie range.

So, what’s on the menu?

21 Day Fix meal plan, ~1300 calories/day


  • Breakfast: 2 eggs, carrots & celeryRG
  • Snack: Yogurt, 1/2 portion strawberries (don’t have my Shakeology yet)RP
  • Lunch: Grilled chicken, quinoa salad with spinach and peachesRYGP
  • Snack: Pumpkin seeds, almondsOB
  • Dinner: Salmon, roasted asparagus, mashed sweet potatoesRGY
  • Snack: StrawberriesP


  • Breakfast: YogurtR
  • Snack: Shakeology (hopefully!)R
  • Lunch: Salad, tangerines, peanut butter celeryGGP
  • Snack: BlueberriesP
  • Dinner: Eating out at Zoe’s kitchen (hummus, cucumber, chicken kabobs, pita, salad)RGBY
  • Snack: Dark chocolate chips, 1/2 portion peanutsYO


  • Breakfast: 2 eggs, 1/2 portion blueberriesRP
  • Snack: ShakeologyR
  • Lunch: Grilled chicken, quinoa salad with spinach and peachesRGYP
  • Snack: Carrots/celery, pumpkin seedsGO
  • Dinner: Stuffed bell peppersRGYB
  • Snack: StrawberriesP


  • Breakfast: Yogurt, blueberriesRP
  • Snack: Shakeology + peanut butterR
  • Lunch: Stuffed bell peppersRGYB
  • Snack: Carrot/celery/cucumberG
  • Dinner: Teriyaki Beef, sesame seeds, steamed broccoli, brown riceRGYO
  • Snack: StrawberriesP


  • Breakfast: 2 eggsR
  • Snack: Shakeology + blueberriesRP
  • Lunch: (Work-catered) TamalesRGYOB
  • Snack: Cherry tomatoes, cucumberG
  • Dinner: Meatloaf, potatoes, roasted carrots and asparagusRGY
  • Snack: StrawberriesP


  • Breakfast: YogurtR
  • Snack: Shakeology + peanut butterR
  • Lunch: SaladG
  • Snack: Tangerines, carrots/celeryGP
  • Dinner: Christmas Party đŸ˜±RGYY
  • Snack: ^^OPB


  • Breakfast: 2 eggs, whole-grain waffleRY
  • Snack: ShakeologyR
  • Lunch: Turkey burger lettuce wrap, carrotsRG
  • Snack: Another Christmas PartyÂ đŸ˜±GOP
  • Dinner: ^^RYBG
  • Snack: StrawberriesP

Sounds great! How do I do that?

Sunday meal prep:

We grocery shopped for all the ingredients, then:

Pre-cook eggs for the week. I followed Savor+Savvy’s recipe, and will microwave them for 30-45 seconds on the morning I plan to eat them.

Cook the Stuffed Bell Peppers to eat for Wednesday dinner and Thursday lunch. Used Hello Fresh’s recipe, which includes quinoa, ground beef, crushed tomatoes, and cheese.

Pound flat and grill (or prepare in your preferred way) chicken breasts for Monday/Wednesday lunches.

Cook quinoa (we used our new Instant Pot for 1 minute quinoa.) I combined two recipes for this one. We used a cup of quinoa, 1 red bell pepper, 1 peach, 2 cloves of garlic, 4 oz spinach, and a lime. We added the lime zest to the uncooked quinoa, and then added the lime juice into the cooked quinoa. Cook chopped bell pepper and garlic in a large skillet. After a couple minutes, add in the spinach and cover. When it starts to wilt, add in the cooked quinoa, stir, and cook until warmed through and spinach wilts a bit more. Turn off the heat and stir in chopped peaches.

I also chopped up the “rabbit food” (veggies) for snacks and put them in baggies. I personally don’t like ranch or dressings, so it works out that I don’t have to budget for them in my meal plans. I portioned out the nuts and seeds in baggies, as well.

I’ll follow up after this week with how this week went, and what I plan to do next week!

Recipes for later in the week:

We’ll be doing a couple other Hello Fresh recipes, substituting the bok choy for steamed broccoli in the Sesame Teriyaki Beef, and Meatloaf À La Mom.


How To Delete iPhone Photos Except Favorites

Since I have a new baby, it’s no surprise that my iPhone is out of storage. I have backed everything up on my computer (and Google Photos as a back-up backup) so it’s time to delete them off of my phone. Except I don’t want to delete ALL of them; I have several albums I’d like to keep, and specifically, photos I’ve marked as “favorites” I’d like to keep after the purge.

How do you do this without deleting photos one by one? It’s a multi-step process.

  1. Hide the photos you want to keep
  2. Select all (unhidden photos) and delete
  3. Un-hide the photos you wanted to keep and you’re done!

Here’s a breakdown.

Hide the photos you want to keep

There are a couple ways to do this on my current iOS (iOS 10.2). If you want to hide an entire album, open that album in the Photos app (on your phone), click “Select”, and click “Select All”. Then click the export icon, and at the bottom of the export screen there’s a “Hide” option. Do this for any albums you want to keep, including Favorites.

If you’d rather hide a single photo, tap on it to view as normal, and click the export icon. Then you can click the hide icon at the bottom.

Delete the ones you don’t

If you’re in “Albums,” including “Camera Roll,” you will still see your hidden photos. Go to “Photos” on the bottom to hide your hidden photos. Then click a category until you see the “Select” option appear at the top. Click “Select”, then click “Select” next to each day until you have selected everything you want to delete. You can hit the trash icon periodically to delete what you have selected so far. This is also a handy way to un-select anything you missed hiding but still want to save. Be sure to tap the trash can at the end to delete everything you have selected. I wish there was a way to “Select All” that are remaining; if you figure out a way, post a comment!

To clear out the space on your phone immediately, go back to Albums, and Recently Deleted. Click “Select” then “Delete All” to remove them permanently. If you’re nervous, you can save this step until after you unhide the ones you’re saving.

Unhide your photos

You’re almost done! Click on the Hidden album, “Select”, “Select All”, export icon, and “Unhide”. Now they should all be visible again in your Collections.

Success! Storage space achieved.

Connect 4 – on paper!

I wanted to bring the game Connect Four to work, but then realized I don’t actually own the game. I forgot to go buy it, and now I was stuck with no game and a game time coming up. Solution? Print a game board on paper, and draw it using X’s and O’s as the pieces. Works great!

I imagine this will be useful to have on hand as a “travel” version of the game, with no pieces to drop and lose.

Connect 4

Here’s a downloadable PDF of the game board I drew, with 2 printed per sheet. If you wanted even smaller boards to save paper, you could print multiple copies of the PDF on one page.