Skip to content

Instantly share code, notes, and snippets.

View danilosoarescardoso's full-sized avatar
🏠
Working from home

Danilo Soares F. Cardoso danilosoarescardoso

🏠
Working from home
View GitHub Profile
@chranderson
chranderson / nvmCommands.js
Last active May 22, 2024 08:51
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node
@flyingluscas
flyingluscas / UsingFakerInPT-BR.md
Last active April 18, 2024 11:12
Utilizando Faker em pt-BR

Utilizando Faker em pt-BR

Acesse o seu arquivo app/Providers/AppServiceProvider.php, e no método register adicione o seguinte :

/**
 * Register any application services.
 *
 * @return void
 */
@rafaeltuelho
rafaeltuelho / rh-sso.md
Last active July 26, 2022 23:19
Keycloak Project (Red HAt SSO)

Keycloak Project

Principais características

Keycloak é uma Solução de Identidade para aplicações modernas, Serviços e APIs

Fornece as seguintes funcionalidades:

  • Autenticação
  • Autorização
  • Single Sign On
@andyg1
andyg1 / DatabaseSeeder.php
Created November 20, 2015 11:05
Truncating Laravel tables before seeding them
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder
{
protected $toTruncate = ['users'];
public function run()