Open in app

Sign In

Write

Sign In

Flávio H. Ferreira
Flávio H. Ferreira

201 Followers

Home

About

Feb 28

How to solve BREW MacOS error: php@7.4 has been disabled because it is a versioned formula? #tip #php

brew tap shivammathur/php brew install shivammathur/php/php@7.4 brew link php@7.4

PHP

1 min read

PHP

1 min read


Jun 1, 2022

How to fix kubectl exec plugin invalid apiVersion client.authentication.k8s.io/v1alpha1 into MacOS

are you getting this error after updating kubectl? if you are at version 1.24, so you could downgrade or try to use asdf. brew install asdf asdf plugin-add kubectl asdf install kubectl 1.23.7 asdf shell kubectl 1.23.7 So the command: kubectl version --client=true --short=true Should display: Client Version: v1.23.7

Asdf

1 min read

Asdf

1 min read


May 1, 2022

Deel Card Conversion fees

If you decide receive money through a https://letsdeel.com card, please prepare to reduce your amount consirally 3.5/3.8% in conversion rate to a non USD amount.

Deel

1 min read

Deel

1 min read


May 14, 2021

How can you prevent to be hacked with a PHP file uploaded to your server?

Add it to your .php file to prevent any file with that extension to be executed. nginx.conf of your server location ~ (\.php$|myadmin) { return 403; } I hope it help someone.

PHP

1 min read

PHP

1 min read


Apr 28, 2021

Docker — exec: “bash”: executable file not found in $PATH

If bash shell is not working, try sh. $ docker exec -it 4d3232519433 bash OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused “exec: \”bash\”: executable file not found in $PATH”: unknown So you should try: $ docker exec -it 4d3232519433 sh /application/home # I hope it help you!

Docker

1 min read

Docker

1 min read


Feb 6, 2021

How can I access another docker container using virtual host domain? Como acessar outro container docker via virtual hosts?

I have been trying to access my other domains through docker images but I have no success because they have different networks, after some research I solved it in a easy way: First I discover my "nginx/apache" internal IP with: docker inspect -f \ '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${YOUR_DOCKER_WEBSERVER} Just adding that piece "extra_hosts" inside my docker-composer.yml php-fpm-frontend: build: phpdocker/php-fpm container_name: php-fpm-frontend working_dir: /application/frontend/ extra_hosts: - "admin.dev:172.27.0.5" volumes: - .:/application/ - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.4/fpm/conf.d/99-overrides.ini

PHP

1 min read

How can I access another docker container using virtual host domain?
How can I access another docker container using virtual host domain?
PHP

1 min read


Oct 20, 2020

Skipping Certificate Checks With Wget

If you want to download a file using wget from a server that has an invalid SSL certificate (expired, not from a trusted issuer etc) then you can use the flag to make wget ignore such errors: --no-check-certificate It’s worth noting that you shouldn’t blindly ignore certificate errors. If you’re downloading from what is normally a trusted source and have no reason to expect to be presented with an invalid cert, then further investigation is due.

1 min read

1 min read


Sep 1, 2020

[Alert] Malaysia Fraudster

His phone number: +60 13 883–0009 [Alzhariff Alvee] That guy/girl has contracted me to develop https://swizzy.io and https://teamclick.io, after my job they didn't pay me and blocked me in all services Telegram/Whatsapp/Email. Emails used by this guy: aisyah.wong@gmail.com coreit51@gmail.com support@escrow.com info@shakhawat.com jstrlomboy@gmail.com kaptchasoftwares@gmail.com support@teamclick.io https://volsargroup.com/ emails @volsargroup.com

Fraud Prevention

2 min read

Fraud Prevention

2 min read


Aug 5, 2020

How to Fix ERR_SSL_OBSOLETE_VERSION Warning Notifications

I've used Letsencrypt to generate my self-signed ssl certs but when I was trying to access my sites at browser I was receiving an error: ERR_SSL_OBSOLETE_VERSION Researching I found the problem, now the browsers were not supporting anymore the TLSv1/TLSv1.1/SSLv3, so we should update our sites (in my case, /etc/nginx/sites-available) with: ssl_protocols TLSv1.2 TLSv1.3; After that you should just restart the NGINX service and the sites start to be accessible again.

1 min read

1 min read


Jul 22, 2020

Images in Gmail not displaying due to Google Image Cache / Proxy

Please follow these steps: Check if the URL's are directly accessible from browser as HTTP/HTTPS verification IF yes: You must to add a query string at your files, just to prevent the problem to be from google cache. (It occurs sometimes when you sent test emails but the images has not been uploaded yet) The last one(that was my case), do not use .SVG, use .PNG/.JPG/.GIF the google content cache appears to have problem with .SVG files.

Google

1 min read

Google

1 min read

Flávio H. Ferreira

Flávio H. Ferreira

201 Followers

FullStack PHP/JS Developer #soudev #father #curious http://www.zend.com/en/yellow-pages/ZEND019415

Following
  • John Au-Yeung

    John Au-Yeung

  • Sebastian

    Sebastian

  • Doried Abdallah

    Doried Abdallah

  • Eric Elliott

    Eric Elliott

  • Baptiste

    Baptiste

See all (1,316)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech