Open in app

Sign In

Write

Sign In

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

213 Followers

Home

About

Aug 3

Remote Jobs websites

Looking for remote USD jobs? See those sites Hired (https://hired.com) Connect with top employers and apply for relevant cybersecurity and technology positions. Flex Jobs (https://www.flexjobs.com) Find legitimate remote work opportunities in various industries, including cybersecurity and technology. Jobspresso (https://jobspresso.co) …

Remote

1 min read

Remote

1 min read


Aug 3

How remove accents with PHP 7.4+

Sometimes we need to remove some characters from strings to use they like slugs or for other usages, so two of the possible solutions are Transliterator $string = 'Ãéïòû'; $transliterator = Transliterator::createFromRules(':: Any-Latin; :: Latin-ASCII; :: NFD; :: [:Nonspacing Mark:] Remove; :: NFC;', Transliterator::FORWARD); echo $normalized = $transliterator->transliterate($string); it will output: Aeiou

PHP

1 min read

PHP

1 min read


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

Flávio H. Ferreira

Flávio H. Ferreira

213 Followers

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

Following
  • Kenneth Reilly

    Kenneth Reilly

  • Hari Santanam

    Hari Santanam

  • javinpaul

    javinpaul

  • John Au-Yeung

    John Au-Yeung

  • berastis

    berastis

See all (1,311)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams