🔖 💎
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
#!/bin/bash | |
brew search librabbitmq | |
brew install rabbitmq-c | |
pecl install amqp | |
# set the path to librabbitmq install prefix [autodetect] : /usr/local/Cellar/rabbitmq-c/0.10.0 | |
# if it fails follow the following (reference: https://github.com/pdezwart/php-amqp/issues/355#issuecomment-563203121): |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Go Dynamic Launch", | |
"type": "go", | |
"request": "launch", |
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
{ | |
"default-address-pools": [ | |
{ | |
"base": "172.240.0.0/16", | |
"size": 24 | |
} | |
], | |
"dns": [ | |
"127.0.2.2", | |
"127.0.2.3", |
docker run -it --rm --name php-8.2-cli-alpine \
-v "$PWD":/usr/src/app -w /usr/src/app php:8.2-cli-alpine \
php -l admin/cronjobs/daemon.prise.product.price.calculated.php
host.docker.internal
docker.for.mac.localhost
(MacOS only)
You can also reach the gateway using gateway.docker.internal
- Go to iTerm Preferences → Profiles
- select your profile
- then the Keys tab with its sub-tab Key Mappings
- Click Load Preset...
- and choose Natural Text Editing
credits: https://apple.stackexchange.com/questions/136928/using-alt-cmd-right-left-arrow-in-iterm