Check this out…
Do a temporary checkout git checkout –orphan temp Commit the changes git commit -am “cleaning” Delete the branch git branch -D main Rename the current branch to main git branch -m main Finally, force update your repository git push -f origin main At times we push the wrong update to the repository. In spite of… Continue reading How to delete all commit records from Github without deleting the source
Atomic Design is the one of methodology that can accelerate the process of creating modular designs.
You can always do it in the fastest way. If performance is a deal breaker for you where you are writing code for million concurrent connections then arr.length -1 is your thing. But if you fancy some ES6 like I do, then read on..
This is useful when we need to do calculations based on the user input. For formatting the entered number in front end we add comma as thousand separator. But problem is when we try to parse it.
Unable to Add/Delete plugin in localhost?
After you new and shiny localhost installation you go ahead and start cleaning up. Keeping one fallback theme twenty twenty and deleting others. Then you go ahead and try deleting the Hello Dolly plugin and the Akismat plugin which I believe may not have much usage in localhost and you face this issue of unable to delete or install wordpress plugin without error.
while studying for mongoDb certification I got a dataset file from the instructor. I had to fill my database with the data provided in that file. I already had the database created and the data which was there in the file was to be contained in a collection.
Express is an amazing framework. We can start running a server by writing only 4 lines of code. After that, we can also set routes and assign responses if someone is requesting those routes. For now, let’s spin up our basic server.
while setting up a MERN app, i was using nodemon to reflect code edits and render the new code in real time. I used npm i -g nodemon which didn’t work.