Flight rules

Chris Hadfield in his book ‘An Astronauts Guide to Life on Earth’ refers to NASA’s documented ‘Flight Rules’.

"a hard earned body of knowledge recorded in manuals that list, step by step, what to do if X occurs,and why."

I have done this before when working with teams at companies, but I never thought of making a “global” one, listing every error I have ever encountered, with a solution. This is as much as a personal reference as it is public.

Everything is organized alphabetically per language/technology, spanning everything I work(ed) with.

  • AWS
  • Arduino
  • Composer
  • Django
  • Docker
  • Hugo
  • Javascript
  • Jekyll
  • Jenkins
  • MongoDB
  • MySQL
  • Nodejs
  • Npm
  • PHP
  • Prestashop
  • Python
  • Symfony
  • Twig
  • Vagrant
  • Wordpress

Your configuration does not allow connections to [REPO].git. See https://getcomposer.org/doc/06-config.md#secure-http for details.

Solution
Simply change your configuration to allow connection to non SSL repos; Run: composer config -g secure-http false

Bitbucket SSH

Solution
Bitbucket doesn't work like github, so you need to add this in /.ssh/config:
Host bitbucket.org
        IdentityFile ~/.ssh/id_rsa

Your configuration does not allow connections to [REPO].git. See https://getcomposer.org/doc/06-config.md#secure-http for details.

Details
details details details details details detailsdetails
Why
whyhwhy whyhwhyhwhyhwhy whwhyhwhyhw
Solution
Simply change your configuration to allow connection to non SSL repos; Run: composer config -g secure-http false

About the author

Amando Abreu is a serial entrepreneur, Fractional CTO, and engineer who has been involved in several startups and launched dozens of products. He has worked with companies such as trivago, Portugal Telecom, and Vizrt. He has experience in several industries, most notably e-commerce, SaaS, media, travel, insurance, property development, and construction.