Krishna RegmiBase Conversion in JavascriptWhen you write a number .. lets say 132, there is a implicit understanding of what 132 means. It means there are 132 cows, 132 years etc…May 23, 20201May 23, 20201
Krishna RegmiHow to optimize a factoryIf you are curious like me and you’ve wondered how factories with lots of machines that need to produce lots of SKUs plan out their…Apr 12, 2020Apr 12, 2020
Krishna RegmiHow to write comments in a GraphQL Schema to enhance auto-generated documentationOne of the main benefits of GraphQL is its self-documenting API. GraphQL runtime turns the schema into auto-generated documentation…Feb 21, 20203Feb 21, 20203
Krishna RegmiLooping through arrays in javascript : When to use forLoop vs map vs forEach vs filter in…Javascript provides many different ways to loop over your array. Which one should you choose and when?Nov 26, 2019Nov 26, 2019
Krishna RegmiHow to make a border box with title on top-border .. just like Vox.com doesIf you go to vox.com, you will be greeted with the top stories section. Top stories section essentially has a yellow-ish canopy on the top…May 14, 2019May 14, 2019
Krishna RegmiWait-for-it + Docker ComposeWait-for-it helps overcome limitations with depends_on in docker-composeMay 14, 2019May 14, 2019
Krishna RegmiHandling Model Relationships in Django Rest FrameworkThis is a topic not very well explained in django documentations. We will use two different cases, and we will build our API using both…May 1, 20195May 1, 20195
Krishna RegmiPipenv vs virtualenv vs conda environmentPython has three popular ways of creating virtual environment at the moment. In this post I want to talk about how to use each.Apr 19, 201912Apr 19, 201912
Krishna RegmiAccessing Global variable in JavascriptWhen you declare global variable in javascript, you can access it from inside a function like so:Apr 5, 20191Apr 5, 20191
Krishna RegmiHow to create dynamic forms in Angular 7 using FormControlLets clarify some assumptions. I am guessing that you are here because you have a need to create forms dynamically in Angular. We will…Feb 22, 201912Feb 22, 201912