While you are writing PowerShell modules, with lot with parameters and you might want to verify these parameters are not ‘null’ to validate some business cases. In normal powershell inline scripting context, $variablename -eq “$null” would work : if ($varibalename -eq $null) { Write-Host "variable is null.Please supply the values for variablename." } RECOMMENDED APPROACH: […]
Read more →Category: Others
All Other Developer
Node.js 9.x.x and npm 6.x.x – “npm audit” to identify and fix security vulnerabilities in dependencies
It has been a while I have been reading about the major changes that areintroduced in Node.js 9.x.x / NPM 6.x.x and myself faced by Node.js application going to a toss after I upgraded to Node.js 9.x.x, as I always keep Node.js up to date in my development environment. I use NVM(Node Virtual Manager) to […]
Read more →[NPM Tip] Error: self signed certificate in certificate chain
As a developer, if you are behind a corporate proxy that assigns an intermediatory self signed SSL certificate to every request to provide secure content filtering as part of cybersecurity measures, I am sure you might have gone through the pain to get it working when working with NodeJS. if you have Admin access to […]
Read more →[NPM Tip] Rewriting the default protocol for GitHub package references
Some times as a Modern Web Developer you will face some “npm install” as some of the packages would be referring to git/ssh protocol to reference private packages from Git Hub. This would fail when you are behind a corporate proxy. Rewriting the default protocol for GitHub, run the following snippet in your command line […]
Read more →Setting up Local NPM repository to Speedup Dev/CI Builds
As a modern day JavaScript developer working with Node.js and NPM, it has been always any developer’s case to clean up local node modules sometimes when local build is broken. It is a tedious tasks to cleanup %appData%\npm-cache to do a fresh install of all the modules again. Depending on the number of modules your […]
Read more →WordPress Blog in Azure App Service In Minutes–Part 01
All my life I have been a tech saavy person would make my hands dirty trying out all odds available. Here I am going to help you with setting up your own WordPress Blog in Azure App Service. SPOILER ALERT: We will be using a B1 – Basic instance to save the cost. Step 1: […]
Read more →