- Create a
composer.jsonfile
{
"name": "your-user/package-name",
"description": "Package Description",
"type": "library",
"require": {
"php": ">=7.4"| <?php | |
| /** | |
| * Helper para validação e cálculo de CNPJ Alfanumérico. | |
| * baseado na especificação oficial da Receita Federal do Brasil. | |
| * @see https://servicos.receitafederal.gov.br/servico/cnpj-alfa/validar | |
| * @author Vinicius de Santana <[email protected]> | |
| */ | |
| class CNPJAlfanumerico { |
| /** | |
| * Automatiza a criação e inserção do codiguin do free fire | |
| * Objetivo: gerar codiguins automaticamente e tentar validar no site da garena | |
| * Para executar: | |
| * - primeiro entre e faça login em https://reward.ff.garena.com/en | |
| * - na aba do Rewards Redemption Site, cole no terminal a function "tentaCodiguin" acima, isso habilitará o uso da função | |
| * - execute no terminal um setInterval chamando a function, isso gerará codiguins e executará no servidor da garena: | |
| * > codiguinIterval = setInterval(()=>{ tentaCodiguin("W8TAU", 12,1) }, 5000); | |
| * - e para parar: | |
| * > clearInterval(codiguinIterval); |
It add the submodule:
git submodule add -b <branch> <repository_url> <diretory_path>
Cloning a project who has submodules, use the clone command with the option --recurse-submodules. It will garantee submodules are also cloned.
git clone --recurse-submodules <repository_url>
Enter in your local svn repo and execute the following command, this creates a users.txt file
svn log -q | awk -F '|' '/^r/ {gsub(/ /, "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > users.txt
An filled line example:
admin.svn = Admin Svn <[email protected]>
| // Web Masks | |
| /** | |
| * Mascara de Telefone para ser usada em inputs html | |
| * @param {KeyboardEvent} evt - O evento será entregue aqui | |
| * @example <caption>Executa a mascara quando evento keyup é lançado.</caption> | |
| * document.querySelector('#phone').addEventListener('keyup',execMascaraTel); | |
| * @author Vinicius de Santana <[email protected]> | |
| * @license CC BY-NC | |
| */ |