Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

How to configure Symfony 4 with PostgreSQL on Ubuntu or Mac OS Install PostgreSQL on Ubuntu   Easily install PostgreSQL from the command line with apt-get. sudo apt-get update sudo apt-get install postgresql postgresql-contrib Install PostgreSQL on Mac    On Mac OS, go to your terminal and use brew as shown here. brew install postgresql postgres -V… Read more Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

AWS Elastic Beanstalk [Resolved]: “… not authorized to perform: iam:CreateServiceLinkedRole on resource …”

How to resolve the Elastic Beanstalk Error  not authorized to perform CreateServiceLinkedRole error ERROR Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User: arn:aws:iam::840750379902:user/eb_cli is not authorized to perform: iam:CreateServiceLinkedRole on resource: arn:aws:iam::840750379902:role/aws-service-role/elasticloadbalancing.amazonaws.com/AWSServiceRoleForElasticLoadBalancing Resolved by adding the following inline policy to the group the user was attached to via IAM : { “Version”: “2012-10-17”, “Statement”: [… Read more AWS Elastic Beanstalk [Resolved]: “… not authorized to perform: iam:CreateServiceLinkedRole on resource …”

How SOLID is the STRATEGY PATTERN?

STRATEGY PATTERN In a strategy pattern the main value is in being able to switch out different algorithms for different situations. Imagine that you had an application component that renders graphs for a website depending on what kind of device made the request. The application code could detect the type of browser and then use… Read more How SOLID is the STRATEGY PATTERN?

[RESOLVED] Docker Error: Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

If you are trying to run Docker on your Mac and you get this error:   ⨊ $> docker run -d -p 80:80 -v /Users/Someuser/Sites/project:/var/www/html gjuniioor/php-sqlsrv:7.0 7cfebd7ce8f9588c8d691a9cfef0d8b96ca56124779fe26dabe960b978d5fa73 docker: Error response from daemon: driver failed programming external connectivity on endpoint cocky_hamilton (09dcad6987a6410572c47d2d81f624ec86557fbe87f30c65a22f9889d85400a3): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE). Check to see… Read more [RESOLVED] Docker Error: Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

How to Install Mono and Run KeePass.exe on Mac

Do not install with HomeBrew. HomeBrew has issues with mono and when a thread was opened to address the issues homebrew monitor closed the thread without resolving the issue saying he did not like the tone of the thread. After Installing Mono via this download link from the official Mono site, mono may be used… Read more How to Install Mono and Run KeePass.exe on Mac

[RESOLVED] WAMP Windows Apache document root configured for shared directory on Mac OSX

No matter what I tried I could not configure the Apache DocumentRoot in Apache on Windows via WAMP to see a folder that had been shared by my MAc OS by way of VM Ware Fusion. I searched all over the internet and was unable to resolve this until setting up a Windows symlink in… Read more [RESOLVED] WAMP Windows Apache document root configured for shared directory on Mac OSX

Mac Locahost uploads broken after Mac OS Upgrade

Before the recent MAC OS upgrade, wordpress plugin updates were working fine on my local development environment. Then I started getting messages like “upload failed server error” when attempting to update wordpress plugins from my local hosted wordpress sites. At first, I made sure the permissions were correct and that the files and directories had… Read more Mac Locahost uploads broken after Mac OS Upgrade