List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
| function: | |
| foo: | |
| handler: index.handler | |
| # Ways to reference function in serverless.yml | |
| FunctionName: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${self:service.name}-${self:provider.stage}-foo | |
| FunctionName: !GetAtt FooLambdaFunction.Arn | |
| FunctionName: !Sub "${AWS::StackName}-foo" | |
| FunctionName: ${self:service.name}-${self:provider.stage}-foo |
| ########################################################## | |
| # PRODUCTS | |
| ########################################################## | |
| DELETE FROM `catalog_product_bundle_option`; | |
| DELETE FROM `catalog_product_bundle_option_value`; | |
| DELETE FROM `catalog_product_bundle_selection`; | |
| DELETE FROM `catalog_product_entity_datetime`; | |
| DELETE FROM `catalog_product_entity_decimal`; | |
| DELETE FROM `catalog_product_entity_gallery`; | |
| DELETE FROM `catalog_product_entity_int`; |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
As configured in my dotfiles.
start new:
tmux
start new with session name: