sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
//Angular Material Components | |
import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | |
import {MatCheckboxModule} from '@angular/material'; | |
import {MatButtonModule} from '@angular/material'; |
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"região": "Norte", | |
"capital": "Rio Branco", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", |
<?php | |
class User extends Authenticatable | |
{ | |
use Notifiable; | |
public function colaborador() | |
{ | |
return $this->hasOne(Colaborador::class); | |
} | |
<?php | |
class Cargo extends Model | |
{ | |
protected $table = "cargos"; | |
public function colaborador() | |
{ | |
return $this->hasMany(Colaborador::class); | |
} | |
} |
<?php | |
class Colaborador extends Model | |
{ | |
protected $table = "colaboradores"; | |
public function user() | |
{ | |
return $this->belongsTo(User::class); | |
} |
DROP TABLE currency; | |
-- Create table variable | |
CREATE TABLE currency ( | |
name VARCHAR(100), | |
code VARCHAR(100), | |
symbol VARCHAR(100) | |
); | |
-- Insert currency records |
/* | |
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects. | |
It will generate several classes such as: | |
.m-r-10 which gives margin-right 10 pixels. | |
.m-r-15 gives MARGIN to the RIGHT 15 pixels. | |
.m-t-15 gives MARGIN to the TOP 15 pixels and so on. | |
.p-b-5 gives PADDING to the BOTTOM of 5 pixels | |
.p-l-40 gives PADDING to the LEFT of 40 pixels |
<?php | |
namespace App\Traits; | |
use App\User; | |
trait Friendship | |
{ | |
public function solicitationsOfMine() | |
{ |