Month: January 2018

In one of my recent blogs I talked about how to comment code in PowerShell. That was by using a Hash Tag or a Pound Sign. But what if you would like to comment out multiple lines of code? It would be Inconvenient to Add a Hash Tag against each line of code that you want to comment out. That task is cumbersome and time consuming. Fortunately many programming languages and scripting tools have a way of commenting out multiple lines of code.

In Power Shell, one could comment out multiple lines of code by just following these steps-

You can start the comment block by adding this <# to the code. And it can be ended by this #> For Example, this would be the way to comment out a block of code.

There may be times when you encounter situations where your laptop cannot detect an external display even though it is connected. There can be many causes for this. The obvious is to check whether your laptop is properly connected to the external display and your monitor is powered ON.

The next thing is to go to your Display Settings. Open the Run Window (Ctrl+R) and type desk.cpl, this would take you to the Display Settings Window.

Now that you are In the Settings page click on the undetected monitor.

Scroll down and under the Multiple Displays dropdown, select Extend these Displays. Now your monitor should be back in life!!

Node.js allows one to run JavaScript outside the browser. It is especially useful for running React which is a JavaScript framework. You could either Install Node.js by downloading the package from their website or use a Package Manager. Installing it via a package manager is the preferred method.

A package manager for Mac that you could use is Home Brew. In order to Install the Package Manager enter the following command in the terminal

The Nj transit has finally come out with an app for Path trains. It is called RidePATH. For people who don’t know the Path trains provide service for towns in New Jersey to Manhattan. The trains run underground for almost the whole trip unless you are travelling from town on and beyond Journal square.

The app gives real time updates on when the next train is going to arrive. Users need to have their Bluetooth enabled in order to receive the updates.

The app was released on the App store for iPhones on Thursday and for android on friday

We have all been through this, when we try to setup our new laptop the first thing that we do is Install the basic applications that we require everyday. For Instance we would start by Installing the browsers-like Chrome, Firefox. And then probably if you have online storage accounts the Dropbox or One Drive. Each Application has got it’s own setup process where one would have to go their respective website, download an executable file and follow the wizard. A step gets repeated for each application that you Install.

Fortunately this should be a thing of the past since now there is a website called Ninite that helps you Install all your applications at once! Forget the hassle of going through different wizards and watching an application Install. So all you need to do is select the applications that you would like to Install from the website and then everything will be taken care of. This would Install applications in the background so you don’t need to bother about going through a wizard.