Setup CI-CD Pipeline in AWS

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

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

Categorized as TIL

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

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.

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.

Categorized as NodeJS, TIL