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 | |
| # ~/jenv-maven-auto-switcher.sh | |
| # ----------------------------------------------------------------------------- | |
| # Configuration | |
| # Update the path based on your mavel location | |
| # ----------------------------------------------------------------------------- | |
| : "${MAVEN_388:=$HOME/Development/maven-versions/apache-maven-3.8.8/bin}" | |
| : "${MAVEN_LATEST:=$HOME/Development/maven-versions/apache-maven-3.9.11/bin}" |
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
| # Dependency directories | |
| node_modules | |
| npm-debug.log | |
| # Git & Local Configs | |
| .git | |
| .gitignore | |
| .dockerignore | |
| Dockerfile |
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
| version: '3.1' | |
| services: | |
| zookeeper: | |
| image: wurstmeister/zookeeper | |
| container_name: zookeeper | |
| ports: | |
| - "2181:2181" | |
| kafka: | |
| image: wurstmeister/kafka | |
| container_name: kafka |
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
| version: "3.8" | |
| services: | |
| mysql: | |
| image: mysql:8 | |
| platform: linux/arm64 # Specify the architecture for M1 | |
| container_name: mysql8 | |
| environment: | |
| MYSQL_ROOT_PASSWORD: 123456 | |
| ports: | |
| - "3306:3306" |
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
| version: "3.8" | |
| services: | |
| zookeeper: | |
| image: bitnami/zookeeper:latest | |
| container_name: zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: | |
| - ALLOW_ANONYMOUS_LOGIN=yes |
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
| version: "3.8" | |
| services: | |
| mongodb: | |
| image: mongo | |
| container_name: mongodb | |
| ports: | |
| - 27017:27017 | |
| volumes: | |
| - data:/data | |
| environment: |
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
| Steps to remove a package from Laravel are: | |
| 1. Remove declaration from composer.json | |
| 2. Remove Service Provider from "app/config/app.php" | |
| 3. Remove any Class Aliases from "app/config/app.php" | |
| 4. Remove any references to the package from your code. | |
| 5. Run "composer update vendor/packagename". This will remove the package folder from "vendor" folder and will rebuild composer autoloading map | |
| it will remove the package folder from "Vendor" folder |
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 defined('BASEPATH') OR exit('No direct script access allowed'); | |
| use PhpAmqpLib\Channel\AMQPChannel; | |
| use PhpAmqpLib\Connection\AMQPStreamConnection; | |
| use PhpAmqpLib\Exception\AMQPIOException; | |
| use PhpAmqpLib\Message\AMQPMessage; | |
| /** | |
| * CodeIgniter RabbitMQ Library | |
| * @category Libraries |