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
| DB_CONNECTION=mysql | |
| DB_HOST=db | |
| DB_PORT=3306 | |
| DB_DATABASE=prospect_db | |
| DB_USERNAME=user | |
| DB_PASSWORD=password |
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
| <?php | |
| namespace App\Passport; | |
| use App\User; | |
| use Lcobucci\JWT\Builder; | |
| use Lcobucci\JWT\Signer\Key; | |
| use League\OAuth2\Server\CryptKey; | |
| use Lcobucci\JWT\Signer\Rsa\Sha256; | |
| use Laravel\Passport\Bridge\AccessToken as BaseToken; |
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
| # First go to your Kaggle account and create New API Token, a kaggle.json file will be download. | |
| # Second | |
| # Select the kaggle.json file. | |
| from google.colab import files | |
| files.upload() | |
| # Make sure you have a kaggle.json file. | |
| !ls -lha kaggle.json |