Skip to content

Instantly share code, notes, and snippets.

View tghelere's full-sized avatar
🇧🇷
Eat, Sleep, Code, Repeat

Thyago Ghelere tghelere

🇧🇷
Eat, Sleep, Code, Repeat
  • Softhing S/A
  • Brazil (Londrina - PR)
  • X @tghelere
View GitHub Profile
@tghelere
tghelere / README-Template.md
Created April 6, 2017 19:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

AddDefaultCharset UTF-8
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{QUERY_STRING} !.*=.*
//Este é o array que tenho
const array1 = [
{
"name": "João",
"lastname": "Afonso",
"participation": 12
},
{
"name": "Maria",
"lastname": "Fonseca",
<template>
<div>
<b-form @submit="onSubmit">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="col-md-6">
<b-form-group>
<b-form-input id="nome" type="text" v-model="form.nome" required placeholder="Nome *"></b-form-input>
</b-form-group>
<b-form-group>
@tghelere
tghelere / OrcamentoComponent.vue
Last active May 21, 2018 01:00
formulário de solicitação de orçamento
<template>
<div>
<a @click="modalShow = !modalShow" v-show="!modalShow" class="link-quote" title="Solicite um orçamento"><span>Solicite um orçamento</span></a>
<!-- Modal Component -->
<b-modal ref="reqAQuote" v-model="modalShow" hide-footer hide-header id="modal">
<loading :active.sync="isLoading" :can-cancel="false"></loading>
<b-link class="seta" @click="hideModal"></b-link>
<b-row>
<template>
<div v-show="banners.length > 0">
<swiper :options="swiperOption">
<swiper-slide v-for="(banner, index) in banners" :key='index'>
<img :src="'/img/banners/home/' + banner.image" :alt="banner.title">
<div v-if="banner.title != null" class="text container">
<h4>{{ banner.title }}</h4>
<p>{{ banner.description }}</p>
<a :href="banner.link" class="leia text-uppercase" title="Leia Mais">Leia Mais</a>
</div>
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ $content['title'] }}
@endcomponent
@endslot
{{-- Body --}}
<template>
<div>
<b-form @submit.prevent="onSubmit" class="m50">
<b-row>
<b-col md="4">
<b-form-group>
<b-form-select @input="getCities(form.state.id)" id="states" required v-model="form.state" :options="states">
<template slot="first">
<option :value="null" disabled>UF *</option>
</template>
<template>
<div class="row">
<div class="col-md-9">
<div class="row">
<div class="col-md-4" v-for="(post, index) in filteredItems" :key='index'>
<div class="item-post">
<a :href="'/blog/post/' + post.slug" :title="post.title" >
<img :src="post.image" :alt="post.title" class="img-fluid img-thumbnail" >
<h4>{{post.title}}</h4>
<p>{{post.description}}</p>
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoryPostTable extends Migration
{
/**
* Run the migrations.