Web Development

[NPM Tip] Error: self signed certificate in certificate chain

May 10, 2018 JavaScript, Javascript Development, OpenSource, TypeScript, Web, Web Development No comments

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 your windows machine, you could simply try the following fix:

    • Simply Add an Environment Variable
Environment Variable Name: NODE_TLS_REJECT_UNAUTHORIZED, Value: 0

image

image

Hope that solves your problem.

[NPM Tip] Rewriting the default protocol for GitHub package references

May 9, 2018 JavaScript, Javascript Development, OpenSource, TypeScript, Web, Web Development No comments

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 snippets:

git config --global url."https://github.com/".insteadOf git@github.com
git config --global url."https://".insteadOf git://

WordPress Blog in Azure App Service In Minutes–Part 02 (Configuring WordPress)

March 24, 2018 App Service, Azure, Back-2-Bascis, Emerging Technologies, KnowledgeBase, Microsoft, OpenSource, Tips & Tricks, Web Development, Windows Azure Development No comments

In the last part of this series, we experienced how to create a new wordpress blog instance in Azure App Service. In this part we will learn, how to configure your wordpress instance for publishing.

Now that we have WordPress instance deployed in Azure App Service, lets expore the app service instance a bit.

Step 1: Go to “All Resources” and select “mywordpress-blog” app

image

Step 2:  Copy URL and open in another browser window

image

Step 3: WordPress Configuration will automatically kick-in.  Select your desired language, in my case it would be ‘English’ and click on Continue.

image

Step 4: Specify your blog name, initial admin username, password, email etc.

Click on [Install WordPress]

image

Step 5: Congragulations!, Your installation is successful and you will be greeted with Success message. Now it is your time to get started with your blog.

image

You can simply login to <your_wordpress_website_url>/wp-admin, with the admin login and start creating your content.

If you are a beginner and need additional help in using wordpress, please visit – Official WordPress-Configuration  Help

TypeScript for Visual Studio 2012–v0.8.3.1

March 30, 2013 .NET, Community, Frameworks, JavaScript, JavaScript, Javascript Development, Microsoft, MSDN, TypeScript, Updates, VisualStudio, VS2012, Web Development No comments

Microsoft has released an Incremental update to TypeScript for Visual Studio 2012 – the version 0.8.3.1, which is the first update to the v0.8.3 released in Feb 2013.

You can download the latest bits from here:

Download TypeScript for Visual Studio 2012 – v0.8.3.1