Codigo de validação de CPF para PHP
O código abaixo é de uma função em PHP otimizada para ter o menor numero de complexidade ciclomática que consegui baseado na explicação presente no…
Docker on Ubuntu. Service nginx failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder(…)/startup.sh: no such file or directory

Sometimes, when using Laradock, this error occurs after trying a container rebuild with no such file or directory message on docker-compose up -d –build nginx…
Datatables + HTML 5 Export Buttons + Laravel-Mix (Webpack)
In the last days, I have experienced a problem trying to use Datatables and Bootstrap 4 with support for exporting results to Excel and PDF…
Binding several values in PDO SQL Statement (PDOStatement)
How we can bind several placeholder with PDO when writing SQL instructions with multiple values to binding or single value to multiple columns
Naming files using list from 0 to Z
How to create incremental filenames from 0 through 9, so from A through Z.
PHP Comparison Error
Today, I was writing a script in PHP to be used in the command line when I came across unexpected behavior (at least on my…
Convertendo xor, shr e shl de Delphi para PHP
Estou migrando um software feito em Delphi para PHP e me deparei com um problema em uma maldita bendita função de criptografia. Sofri um bocado tentando…