Homepage
Open in app
Sign inGet started

Hi, I’m Narain.

I code stuff and write rants.

Go to the profile of Narain Sagar
Narain Sagar
Sep 18, 2022

Quickly host your Angular2+ app on GitHub Pages (github.io) using Angular CLI

Since Angular uses TypeScript code, It has lots of node dependencies and a ‘production mode’, deploying on GitHub Pages turned out not to be so straight-forward. But after a bit of surfing over…

Read more…
Go to the profile of Narain Sagar
Narain Sagar
Apr 19, 2020

Beginners Guide to Build Technical social web presence / portfolios AND Starting Freelance / Work from Home!

NOTE: This is just a reference materials/notes for the talk that I presented in TechKaro meetup session titled ”Beginning of new chapter? What’s…

Read more…
Go to the profile of Narain Sagar
Narain Sagar
Apr 18, 2020

How to Dynamically send a newsletter with MailChimp 3.0 via PHP

Read more…
Go to the profile of Narain Sagar
Narain Sagar
Apr 18, 2020

Windows - Kill process by its Port Number

DO YOU HAVE A RUNNING PROCESS ON WINDOWS AND NEED TO KILL IT BY ITS PORT NUMBER?

If you need to kill a process manually on Windows it’s actually pretty easy. First, fire up a…

Read more…
Go to the profile of Narain Sagar
Narain Sagar
Jun 14, 2017

My first ever open source contribution (added sindhi locale support for momentjs)

About Moment:

Parse, validate, manipulate, and display dates in javascript. http://momentjs.com — via moment.js
Read more…
1 response
Go to the profile of Narain Sagar
Narain Sagar
Mar 1, 2017

Bitbucket Issues Viewer

FYI: This was my first ever blog post I written in my life.

Bitbucket & its Issue…

Read more…
Go to the profile of Narain Sagar
Narain Sagar
Feb 28, 2017

How to sync your one mysql database with another (for backup purpose only)

Note: This blog post describes a way of replicating / copying one mysql database to different one via database triggers approach only. There can be a lot other ones and probably are different approaches…

Read more…
About Narain SagarLatest StoriesArchiveAbout MediumTermsPrivacy