HSHarshit Sainiinblog.harshitsaini.com·Apr 6, 2021 · 2 min readWhat is YAML?YAML Ain't a Markup Language. This is the full form of YAML. Why YAML ? YAML is a serialization language. Means that it is used to transfer the data from one end to other like from the backend to the frontend and it is also used to store data in k...00
HSHarshit Sainiinblog.harshitsaini.com·Apr 3, 2021 · 3 min readModules in PythonCreating Modules As our program grows we should split our code across multiple files. We refer to each file as a module. A module should contain related data, functions, and objects. def calc_tax(): pass def calc_shipping(): pass Importi...00
HSHarshit Sainiinblog.harshitsaini.com·Apr 2, 2021 · 1 min readDelete all node_modules folder using npkillStep 1: Install it sudo npm i -g npkill Or you can use it without installing with npx npx npkill Step 2: Go the directory where you want to scan for node_modules folder npkill # if you have installed it npx npkill # if you have not install...00
HSHarshit Sainiinblog.harshitsaini.com·Apr 2, 2021 · 9 min readOop In PythonClasses All the functions in a class should have at least one parameter and by default, we call it self. self is a reference to the current object # CREATEING CLASS class Point: def draw(self): print("draw") # CREATING OBJECT FROM THE...00
HSHarshit Sainiinblog.harshitsaini.com·Mar 31, 2021 · 1 min readNotifications in react : react-toastifyThis is not like pop notifications. This is more like a customized alert notification. Click here to visit the official GitHub page of this project. How to use react-toastify Step 1: Install it npm i react-toastify Step 2: Import it in app.js ...00