If you are using Git as your version control system, you need a .gitignore file to keep all of those user specific files out of Git like the bin/obj directories. You could manually create and configure the .gitignore file but why do it yourself when others have already done it for you. A quick search and you will run across the gitignore repo where you could download a premade file but what about if you had a tool to do this for you?
With the release of .NET Core 2.1 the .NET Core CLI includes a feature called Global Tools that provides a simple way to create and share cross-platform console tools. When you install a global tool, the CLI will download a special NuGet package that contains a console application and make your console tool available as a new command from the command line. Note: You will need to download .NET Core 2.
Downloading and extracting a zip file using Node seemed like a pretty easy task but alas it took some time to figure out. While researching how to do this, I didn’t find a library that had all of the requirements within it but I did find a few that allowed me to meet the requirements Requirements Download zip file from a url Extract zip file to a directory location Extract a single directory and all of its sub-directories within the zip file Downloading the Zip File Step 1 was to get the zip file downloaded using Node and make sure that I could manually open it.
When I got started as a conference speaker I would see Jeremy Clark recording his talks and I thought I should record my talks too. It would help me improve as a speaker by seeing how I actually was on stage versus how I think I was. As well, it gives attendees the ability to watch a replay of the talk in case they missed something or weren’t able to see it.
Note: This post applies to AngularJS. The 1.x version of Angular. Recently, I upgraded one of my apps to AngularJS 1.6 along with a bunch of other changes and a bunch of my routes broke. Unfortunately, I didn’t catch the routing issue before making a bunch of other changes. The one thing I noticed for all of the broken routes is the urls now had an #! (https://myapp.com/#!/) in them instead of just the # (https://myapp.
After each blog post is published, we need to let people know that a new post is published. We can’t expect people to only find out about the new post through the RSS feed. For this blog, I tweet out that I have a new blog post. However, I don’t want to have remember to send out the tweet because I will forget or get busy with something else. Instead, sending out a tweet should be done for me.
Note: This post applies to Angular. The 2+ version of Angular. Are you trying to run your Angular 2 unit test and the Karma test runner is not finding any tests to execute? This is exactly what happened to me when I tried to run the unit tests that are included as part of the project that the Angular CLI generates. The test runner should have found 3 tests to execute but as your could see above it didn’t find any test to execute.
Note: This post applies to Angular. The 2+ version of Angular. Welcome to the continuing series on Getting Started with Angular 2. In the [previous post], we created our project using the Angular CLI. In this post, we will be adding the Bootstrap library to the project to make it easier to style our application. To make Bootstrap play nice with Angular we are going to use the ng2-bootstrap library which rewrites the Bootstrap components to be powered by Angular instead of JQuery.
Note: This post applies to Angular. The 2+ version of Angular. Welcome to the series on Getting Started with Angular. Angular 2 was released in September 2016 and and so far I have been enjoying working with it. I have been using the TypeScript version of Angular 2. It is has been pretty easy for me so far to pick it up but there have been a few things that have made me scratch me head.
Note: This post applies to Angular. The 2+ version of Angular. I have been really enjoying working with Angular 2 over the last few months but the other day I spent well over an hour cursing Angular wondering why my new module would not route. I didn’t have this much trouble when I created my other modules a few weeks before. However, this time when I navigated to my new module route it kept going to my catch all route.