How to open any file or directory using its associated Windows application
In WSL, sometimes, you might want to open a file or directory with its associated Windows application. Let’s figure out how. — If you have ever used the terminal on macOS, you probably know that you can use the open command to open any file or directory with its default application. To my knowledge, there is no straightforward way to do this on Windows using WSL, and this has bugged me a…
How to Use Modified Stub Files when Running Artisan Commands
Customizing the stub files used when running Artisan’s make commands — Think about how often you repeat yourself when generating new models, migrations, factories, and so on using Artisan’s make commands. As of Laravel 7, you have the option of publishing these stubs to your project. Let me show you how.