Javascript – if else and switch

Javascript – if else and switch

if, else, else if and switch are condition statements and are used when you want to execute a block of statements according to a condition. if (condition) { statement(s) } if (condition) { statement(s) } else { statement(s) } if (condition) { statement(s) } else if (condition) { statement(s) } else { statement(s) } Instead of having multiple if statements you can use switch switch(expression) { case a: statement(s) break; case b: statement(s) break; case b: statement(s) break; default: statement(s) Javascript – if else and switch

Javascript – if else and switch Read More

Windows 10 – Switch and close an app

Screenshot 20190108 092028

Switch and close an app You can see the open apps and switch to the one you want by clicking the app icon on the taskbar you can also move the mouse on app icon to see it’s preview, thumbnail by clicking the task view button at the left of the taskbar and click to the app preview, thumbnail If you scroll down you can see the apps timeline, the apps you have opened in the past. by pressing Alt + Tab and hold them you will see the open…

Windows 10 – Switch and close an app Read More

Windows Server 2016 – Hyper-V Add/Remove Virtual Switch

Screenshot 20181106 074718

Open Hyper-V Manager and at the right panel click Virtual Switch Manager. Select what typer of VS you want to create and click Create Virtual Switch. By selecting one of three different types you can see below the “Create Virtual Switch” button, information about this type. Choose a name for the VS. You can also change the type of the VS here. Some information about the 3 three checkboxes: Allow Management… excludes the host OS from the network, but there is access to the VMs Enable Single… the external virtual switch…

Windows Server 2016 – Hyper-V Add/Remove Virtual Switch Read More