This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Function to get the minumum swaps required to | |
* sort an unordered array of unique integers in | |
* ascending order | |
* | |
* @param Array arr | |
* @returns Number | |
*/ | |
const minimumSwaps = arr => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'sendgrid' => [ | |
'api_key' => env('SENDGRID_API_KEY'), | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAIL_DRIVER=sendgrid | |
MAIL_HOST=smtp.sendgrid.net | |
MAIL_PORT=587 | |
MAIL_USERNAME=sendgrid_username | |
MAIL_PASSWORD=sendgrid_password | |
MAIL_ENCRYPTION=tls | |
SENDGRID_API_KEY=sendgrid_api_key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'providers' => [ | |
Sichikawa\LaravelSendgridDriver\SendgridTransportServiceProvider::class | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAIL_DRIVER=sendgrid | |
MAIL_HOST=smtp.sendgrid.net | |
MAIL_PORT=587 | |
MAIL_USERNAME=sendgrid_username | |
MAIL_PASSWORD=sendgrid_password | |
MAIL_ENCRYPTION=tls |