Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts
#The Release must exist as a draft releaase | |
REPO=repo/name | |
TAG=$(gh release list -L 1 -R github.com/$REPO | grep -P '^v[0-9\.]+' -o) | |
gh release edit $TAG --draft=false -R github.com/$REPO |
Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts
<?php | |
namespace App\Traits; | |
use Rhumsaa\Uuid\Uuid; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
/** | |
* Trait UuidModel | |
* @package App\Traits |
<?php | |
function validaCPF($cpf) { | |
// Extrai somente os números | |
$cpf = preg_replace( '/[^0-9]/is', '', $cpf ); | |
// Verifica se foi informado todos os digitos corretamente | |
if (strlen($cpf) != 11) { | |
return false; |
#! /bin/bash | |
### TO ACTIVATE THIS ALIAS, PUT THIS FILE IN: /etc/profile.d/aliases.sh | |
### AND RUN: source /etc/profile.d/aliases.sh | |
### YOU CAN RUN THIS COMMAND: | |
### sudo rm -f /etc/profile.d/aliases.sh; sudo wget --no-cache --no-cookies https://gist.githubusercontent.com/henryavila/f3a5ccd470d250428ef504f610514ecb/raw/5f533285f77f0145f21bca6f8d8abec6199586c8/aliases.sh -O /etc/profile.d/aliases.sh; source /etc/profile.d/aliases.sh | |
### | |
### | |
### BASED ON: https://github.com/laradock/laradock/blob/master/workspace/aliases.sh |