github github1s One second to read GitHub code with VS Code Github1s stands for One second to read GitHub code with VS Code Today I discovered a small project on GitHub that allows you to easily read a git repository in VSCode without cloning it. Github1s allows you to read a GitHub project with an online version of VSCode. You just need to add 1s after GitHub and press Enter in […] Written by Ashiqur Rahman February 10, 2021February 10, 2021 Saving Bookmark this article Bookmarked
Laravel How to make Service & Repository Class generator for Laravel Using Controller -> Service -> Repository -> Model pattern, we need to use custom service & repository class. By default Laravel included make:model & make:controller command. But to generate Service & Repository class, we need to create custom commands to generate these classes. So Let’s start. Service Class generator command 1st we need to generate […] Written by Ashiqur Rahman October 28, 2020October 28, 2020 Saving Bookmark this article Bookmarked
Ethical Hacking Java 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
Deployment Deploy scalable Laravel app in AWS Written by Ashiqur Rahman July 16, 2020July 16, 2020 Saving Bookmark this article Bookmarked
Laravel Laravel playground Today I will introduce you with a great day-to-day used tool for quick code testing in the online environment. Introducing Laravel Playground. You can do anything as you want in a Laravel project. A Great tool indeed to grow your productivity. What is Laravel Playground? Laravel Playground is a sandbox for your Laravel code and […] Written by Ashiqur Rahman July 13, 2020July 13, 2020 Saving Bookmark this article Bookmarked
git Remove local tracking branch that not exists on remote When a feature branch finished using git flow then it may still in the local branch on another developer machine. So to keep updated your local branches with remote branches you need to clean up your local branches that aren’t on the remote. Follow this to clean up & get synced with the remote origin […] Written by Ashiqur Rahman July 13, 2020July 13, 2020 Saving Bookmark this article Bookmarked
git 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 git – move a commit between repositories If you want to move a complete commit from one repository to another (and you don’t want to add it as a remote), you can use these steps: Create a patch In the source repository, create a patch based on the commit by running git format-patch SHA1_OF_COMMIT~..SHA1_OF_COMMIT Example – git format-patch c2d42a0583481652ce037b899beef45d9858b98f~..c2d42a0583481652ce037b899beef45d9858b98f (note the ~).This will […] Written by Ashiqur Rahman June 15, 2020June 15, 2020 Saving Bookmark this article Bookmarked
Laravel Laravel mail configuration test To test the mail configuration of Laravel. Follow this simple steps – SSH into the server Run the tinker Artisan command to enter the Tinker environment Run this following command If tinker shows successful then check mail to ensure mail received properly. Otherwise tinker will throw error. Follow the error to solve the mail configuration. Written by Ashiqur Rahman June 14, 2020June 14, 2020 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
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
Remove local tracking branch that not exists on remote When a feature branch finished using git flow then it may still in the local branch on another developer machine. So to keep updated your local branches with remote branches you need to clean up your local branches that aren’t on the remote. Follow this to clean up & get synced with the remote origin […] Written by Ashiqur Rahman July 13, 2020July 13, 2020 Saving Bookmark this article Bookmarked