This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="table" cellpadding="0" cellspacing="0" border="0"> | |
<thead> | |
<tr> | |
<th>PRODUTO</th> | |
<th>QTD.</th> | |
<th>PREÇO</th> | |
</tr> | |
</thead> | |
<tbody> | |
@foreach ($cart->items as $item) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* Base */ | |
body, body *:not(html):not(style):not(br):not(tr):not(code) { | |
font-family: Roboto, 'Helvetica Neue', Helvetica, sans-serif; | |
box-sizing: border-box; | |
} | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
'App\Events\FooEvent' => [ | |
'App\Listeners\FooListener', | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
use Respect\Validation\Validator as v; | |
class Cpf implements Rule | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/ | |
// See also: http://www.paulund.co.uk/change-url-of-git-repository | |
$ cd $HOME/Code/repo-directory | |
$ git remote rename origin bitbucket | |
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git | |
$ git push origin master | |
$ git remote rm bitbucket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row-fluid clearfix"> | |
<div class="span12"> | |
<div class="title-container clearfix"> | |
<h1 class="pull-left">Dúvidas</h1> | |
</div> | |
<!-- /title-container --> | |
<hr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.steps { | |
margin: 30px 0 0 0; | |
} | |
.step-question { | |
height: 310px; | |
} | |
.step-question.step-1 { | |
width: 460px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Cria os filtros | |
$filters = array(); | |
foreach ( $products as $product ) { | |
$options = array(); | |
// Primeiro resgata os filtros pai | |
foreach ( $product->filters as $filterOption ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function prepareServicesForSave( $services ) { | |
$availableServices = $this->all()->toArray(); | |
$preparedServices = array(); | |
foreach( $services as $service => $value ) | |
{ | |
// If checkbox is selected | |
if( $value == '1' ) | |
{ | |
// If permission exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Estilo da lista | |
.box-book { | |
width: 195px; | |
height: 430px; | |
padding: 10px; | |
float: left; | |
position: relative; | |
margin: 0 30px 30px 0; |
NewerOlder