Recent Posts

Copy Visual Studio 2017 configuration settings to Visual Studio 2019

Chris Green April 3, 2019 Development, Visual Studio ,

Visual Studio 2019 shipped on April 1st. And one of the nice things about it is you can have it installed side-by-side with other version — like Visual Studio 2017. Most developers have spent some time selecting which features of Visual Studio they need installed. A nice addition to the new Visual Studio Installer is […]

Stop browser from filling in form fields with the autocomplete feature

Chris Green March 11, 2019 Development , ,

To be helpful, browsers will cache information you enter in a form field. Then when you comeback and start typing, the same information will pop up near the field so you can click it to have it auto-entered for you. While this is useful, there are times you don’t want this behavior — like a […]

How to check which version of .Net Core you have installed.

Chris Green January 10, 2019 No Comments .Net, Development ,

Open a command prompt and enter the version command. This should return a version number. If you get something like the message below, .Net Core is not installed. You can also issue the info command to get a lot more information about your environment. If you want to actually look at the different .Net SDKs […]

JavaScript — How to use the Set object

Chris Green January 8, 2019 No Comments Development, Javascript , ,

JavaScript has an object called Set which will store any type with unique values — this can be a primitive value type (e.g. string, number, boolean, null, undefined, symbol) or even an object reference. Because a value in a Set may only occur once, it will eliminate duplicates when you add them. Use the .has() […]

How do I duplicate a line within Visual Studio Code?

Chris Green September 26, 2018 No Comments Development ,

If you want to easily duplicate a line of code in Visual Studio Code, you can do it with a simple keyboard shortcut. Just use the Copy Line Down (Ctrl+Alt+UpArrow) or Copy Line Up commands (Ctrl+Alt+DownArrow) — depending on where you want the new line inserted with respect to your cursor. You can view all the shortcuts […]

Electron Error: Not allowed to load local resource

Chris Green August 25, 2018 No Comments Development, Javascript , , ,

I’ve recently begun playing with Electron (the library that lets you build cross-platform desktop apps with web technologies). And not long into trying to hook up my default HTML page I received this error: Not allowed to load local resource I was certain I’d typed the line to load the URL just like the tutorial […]

What is the JavaScript ternary operator?

Chris Green August 21, 2018 No Comments Javascript , ,

The ternary operator is a JavaScript Operator which will return one of two values depending on a conditional supplied. Basically, you supply any conditional which will evaluate out to true or false and it will return one of the two expressions. It is set  up as such: condition ? expression1 : expression2 If the condition […]

Page 1 of 2