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
Deployment Deploy scalable Laravel app in AWS Written by Ashiqur Rahman July 16, 2020July 16, 2020 Saving Bookmark this article Bookmarked
How to set Timezone in Laravel Inside config/app.php replace timezone‘timezone’ => ‘Asia/Singapore’ Inside env add DB configDB_TIMEZONE=+08:00 Written by Ashiqur Rahman February 24, 2021February 24, 2021 Saving Bookmark this article Bookmarked
username / alphanumeric validation in Laravel Laravel provide a rich set of pre-bult validation rules. If you need to validate alpha – numeric value you can use – alpha The field under validation must be entirely alphabetic characters. alpha_dash The field under validation may have alpha-numeric characters, as well as dashes and underscores. alpha_num The field under validation must be entirely […] Written by Ashiqur Rahman February 11, 2021February 11, 2021 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
git case-insensitive issue on mac By default – Windows has a case-sensitive file system. Mac has a case-insensitive file system. That’s why in mac, FileName.ext -> changes to -> Filename.ext will not show as changes in git status Rename the file like this to fix this problem – Hope this helps. Show some love by like this post. Written by Ashiqur Rahman June 29, 2020June 29, 2020 Saving Bookmark this article Bookmarked
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