Instantly share code, notes, and snippets.

Andrei Paz andreipaz

View GitHub Profile
View backup - Personal Desired State Machine Script
Set-ExecutionPolicy AllSigned
chocolatey (CMD) -> @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
chocolatey (PS) -> iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
git -> choco install git // instala também o ssh
git config --global user.name "Andrei Paz"
git config --global user.email andrei.benhur@gmail.com
7zip -> choco install 7zip
View CountriesTableSeeder.php
<?php
use Illuminate\Database\Seeder;
class CountriesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void