- Goto Keyboard settings and click 'Save a screenshot to Pictures' under 'Screenshots' section.
- Press 'Backspace' key delete 'PrtScr' key shortcut and press 'Set' button
- Press '+'(Plust) icon in the 'Custom Shortcuts' in the same window
- Enter 'Flameshot' in 'Name' field , 'flameshot gui' in 'Command' field, and click 'Set Shortcut' button and press 'PrtScr' button in the keyboard and close the dialog box 5.That's it. If you press 'PrtScr' key, the Flameshot selection area screen will appear.
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
| FROM alpine:3.7 | |
| # this is the "app" image, contains PHP-FPM | |
| RUN addgroup -g 82 -S www-data && \ | |
| adduser -u 82 -H -D -S -G www-data www-data && \ | |
| # etc.. | |
| # PHP-FPM is setup to run as "www-data" | |
| WORKDIR /app |
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
| DOCKER_COMPOSE = docker-compose | |
| EXEC_PHP = $(DOCKER_COMPOSE) exec -T php | |
| SYMFONY = $(EXEC_PHP) bin/console | |
| COMPOSER = $(EXEC_PHP) composer | |
| ## | |
| ## Проект | |
| ## ------ | |
| install: start db ## Установить и запустить проект |
composer require vich/uploader-bundle- In the config/services.yaml, add this configuration (it's just an example)
# config/services.yaml
parameters:
app.path.images: /uploads/images
- don't forget to create uploads directory inside public directory and images directory inside uploads directory
- And you configure the file config/packages/vich_uploader.yaml like
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
| #!/usr/bin/env php | |
| <?php | |
| require __DIR__ . '/../../vendor/autoload.php'; | |
| use Castor\Console\Command\CompileCommand; | |
| use Symfony\Component\Console\Application; | |
| use Symfony\Component\Console\Command\Command; | |
| // We extends the CompileCommand, to be able to remove the constructor, because |
OlderNewer