Life

Don’t Forget to Smile

IMG_4392-COLLAGE-2

I’ve already outlined earlier how last year was a really hard year for me and my family. However, Google Photos reminded me the other day that 2017 was also a year of smiles, partially due to some wonderful friends we had and some much needed breaks along the way.

As 2018 gets into full gear now, don’t forget to smile. You might be surprised at how a small thing can make a big difference.

Advertisements
Geekery

How to fix PATH conflicts in WSL (Bash on Ubuntu on Windows)

WSL (also known as Bash on Ubuntu on Windows) has been a game changer for me with my web development. For a lot of our front end related coding, we take advantage of certain tools such as npm, grunt, bower, and at this point they still run a little smoother in my Mac environment than they do in my Windows 10 environment (though they are getting better). Having WSL available allows me to use these tools effectively and still retain my Win10 goodies. I recently ran into a problem with some path conflicts and here is the trick to solve them. Continue reading “How to fix PATH conflicts in WSL (Bash on Ubuntu on Windows)”

Coding

Dynamically Updating Environment Variables in Postman

If you haven’t used Postman yet for your general development needs while building or consuming a REST (or SOAP!) API, go get this amazing tool NOW and then keep reading. Otherwise, here’s a quick tip to make to help when dealing with frequently changing environment variables, such as session IDs or JWT tokens.

Continue reading “Dynamically Updating Environment Variables in Postman”

Life

The Joys of Home Ownership

Me: Wow! I’ve been selling a lot of stuff we don’t want to take with us. This should nicely cover our hotel travel and maybe a few meals…

Dryer: Perfect timing! I’ve been wanting to eat up some cash for a while now, so let me go ahead and bust my heater coil for you now. [:: slurp ::]

Me: Well, at least I can get a few burritos for the family now… [:: sigh ::]

Continue reading “The Joys of Home Ownership”

Geekery

Running Sitefinity in Azure Services

A couple years back, I outlined how you could get Sitefinity running on an Azure VM. However, with a new dev environment to setup, more advancements in hosting platforms, I went back to see if I could get my Sitefinity site running through the typical Azure App and Database services. Good news is you can and it’s quite simple. Continue reading “Running Sitefinity in Azure Services”

Coding

Quick Tip: Manually Run EF Migrations on External Databases

Entity Framework migrations are a great thing. They’ve made my development life a LOT easier. Automated migrations can cause problems, especially on a project with multiple developers involved. For that, we use manual migrations through the Package Manager Console.

But how do you manually run these migrations against your test (or live) server when your deployment tool doesn’t run them? If you have access to the database in question, you can add the ConnectionString and ProviderName parameters at the Package Manager Console prompt and make life a lot easier:

Update-Database -ConnectionString "MY_CONNECTION_STRING" -ConnectionProviderName "System.Data.SqlClient"

You can pull your connection string direct from your web.config transform, no special “magic” needed.

Enjoy! Continue reading “Quick Tip: Manually Run EF Migrations on External Databases”