In the world of software development, the ability to quickly and reliably deploy code changes is crucial. This is where Continuous Integration/Continuous Deployment (CI/CD) pipelines come in. A CI/CD pipeline is a set of automated processes that allow developers to quickly build, test, and deploy code changes to production environments. This post explains the steps… Continue reading Setup CI-CD Pipeline in AWS
Category: TIL
Get values from PHP to Javascript
Check this out…
How to delete all commit records from Github without deleting the source
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
Javascript – The Weird Parts
JavaScript is a powerful and versatile programming language that has been widely adopted by developers around the world. However, as with any programming language, javascript possesses certain quirks and weird parts that can cause confusion and frustration for developers. One such example is the behavior of the built-in JavaScript functions and operators when dealing with… Continue reading Javascript – The Weird Parts
What is Atomic Design Pattern?
Atomic Design is the one of methodology that can accelerate the process of creating modular designs.
How can I parse a string with a comma thousand separator to a number?
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.
WordPress asking for FTP credentials on localhost
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.
InsertMany in MongoDB via file
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.
Start a basic server using express
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.
Nodemon not refreshing page automatically
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.