Best Practices Deployment Laravel Config RDS connection for Laravel the right way | Best practices I have faced RDS connection issues a lot. Cause AWS RDS used a different env variable rather than the Laravel default one for MySQL connection. So what is the best way to resolve the issue? Add this code on the top of your /config/database.php And change your MySQL connection to: Great! You are done! If […] Written by Ashiqur Rahman May 31, 2022July 3, 2022 Saving Bookmark this article Bookmarked
git git best practices While starting a project, you must follow some best practices. It can be naming convention, branching, git-flow, issue tracking, commit message, pull request and so on. Today I will let you know the most & important one that we overlooked every time we started a project. Project Naming Convention Creating a repository requires a project […] Written by Ashiqur Rahman June 5, 2020June 11, 2020 Saving Bookmark this article Bookmarked
How to set up your SSH key for GitLab on macOS One of the most common issues while getting started with Git and GitLab is setting up the private and public keys. Background The most common error you may get when trying to close a Git repository over SSH is this one: [email protected]: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. What is SSH? […] Written by Ashiqur Rahman March 8, 2022March 11, 2022 Saving Bookmark this article Bookmarked
Gmail SMTP config for cPanel First, turn on the less secure app accessVisit – https://myaccount.google.com/lesssecureapps then in .env add these credentials switch the MAIL_PORT between (465 or 587) Test your Mail config Visit here Written by Ashiqur Rahman February 16, 2022February 16, 2022 Saving Bookmark this article Bookmarked
Using Queues on cPanel Shared Hosting with Laravel Sometimes, shared hosting must be used that does not permit the installation of supervisor to run the queue worker. A typical example of these are servers deployed with Cpanel access only. One approach for non-time-sensitive queue work (such as sending emails) is to add a task to the scheduler that starts the queue worker every […] Written by Ashiqur Rahman February 9, 2023February 9, 2023 Saving Bookmark this article Bookmarked
How to Build a Spying Tool Using Java Today we are going to build a spying tool using Java. In order to spy on a victim’s computer, we will use two things. Screenshot and voice recording from his microphone. Our basic idea is to capture the screen and voice. And we can inject this malware inside any game or custom software as a […] Written by Farhat Shahir October 2, 2020October 2, 2020 Saving Bookmark this article Bookmarked
Deploy scalable Laravel app in AWS Written by Ashiqur Rahman July 16, 2020July 16, 2020 Saving Bookmark this article Bookmarked