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
| fields @timestamp, @message, @logStream | |
| | parse @message "[*][*] *" as loggingTime, loggingType, loggingMessage | |
| | filter loggingType in ["ERROR", "WARNING", "DEBUG", "INFO"] | |
| | display loggingTime, loggingType, loggingMessage | |
| | filter loggingMessage like "my search criteria" | |
| | sort @timestamp desc | |
| | limit 1000 |
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
| service: service-name | |
| provider: | |
| name: aws | |
| stage: ${opt:stage, 'prod'} | |
| runtime: ${opt:runtime, 'python3.8'} | |
| region: ${opt:region, 'eu-west-1'} | |
| deploymentBucket: | |
| name: deployment_bucket_name | |
| iamRoleStatements: |
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
| # Open the current cmd path to the current VS Code window | |
| code . -r | |
| # Print the result of a command in bash | |
| echo $(operation) | |
| # Pretty print json output in bash | |
| echo '{"first_name":"Antoine","last_name":"Delia"}' | python -m json.tool |
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
| { | |
| "python.pythonPath": "/Users/antoine.delia/.pyenv/versions/3.9.0/bin/python", | |
| "python.formatting.autopep8Args": ["--max-line-length", "100"], | |
| "python.linting.pylintEnabled": false, | |
| "python.linting.flake8Enabled": true, | |
| "python.linting.enabled": true, | |
| "python.linting.flake8Args": [ | |
| "--max-line-length", "200" | |
| ], | |
| "autoDocstring.docstringFormat": "sphinx", |
NewerOlder