Skip to content

Instantly share code, notes, and snippets.

View brunokunace's full-sized avatar
🕶️
Turn down for what?

Bruno Henry brunokunace

🕶️
Turn down for what?
View GitHub Profile
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
<template>
<div id="app">
<h2>Avaliações - {{ bimestre }}º Bimestre</h2>
<el-tabs type="border-card">
<el-tab-pane :label="tab.text" v-for="tab in tabs" v-bind:key="tab.id">
<a class="nav-link" :class="{'active': tab.id === selected}" @click="select(tab)">{{tab.text}}</a>
<!-- <div v-if="tab.text === 'Arte'"> -->
<div>
<el-table
:data="TableArt"
@brunokunace
brunokunace / section.vue
Last active April 24, 2018 02:23
how change the a.selector background style
<template lang="pug>
section(id="main")
a(href="#" @click="ModalShow" :class="{'selector' : sectionModal}")
span
i(class="fa fa-bar-chart")
span Open section modal
<modal v-if="sectionModal">
h1 hello my friend!!
button(class="button is-info is-large modal-button" @click="closeModal") Close
</modal>
<!--
Sistema Tagnos
TDR Informatica Ltda
Todos os direitos reservados ©
***********************************************
Nome do arquivo: listagem.vue
Criado por : Hamilton Gabriel
Data da criacao : 07/04/2018
Observacao :
$model['sefaz'] = array();
$array_sefaz_0 = array();
$tabelas = $dom->getElementsByTagName('table');
foreach($tabelas as $node){
if($node->nodeName=='table' && $node->getAttribute('class')=='toggle box' OR $node->getAttribute('class')=='toggable box'){
if($node->getAttribute('class')=='toggle box'){
foreach($node->childNodes as $child){
$cols = $child->getElementsByTagName('td');
$array_sefaz_0['numero_item'] = (int)$cols->item(0)->nodeValue;
$array_sefaz_0['nome_produto'] = $cols->item(1)->nodeValue;
version: '3.1'
services:
apache-achei:
image: ambientum/php:7.1-apache
container_name: apache-achei
volumes:
- ./:/var/www/app
ports:
- 8100:8080
links:
public function getAllOrders($status = null)
{
$origin = auth()->user();
$montages = Montage::where('origin_id', '=', $origin->id);
if ($status) {
$montages->where('status', '=', $status);
}
if (!$montages) {
return response()->json([
'status' => 'success',
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
# v2 syntax
version: '2'
services:
mysql-HOST:
image: ambientum/mysql:5.7
container_name: mysql-HOST
volumes:
- ./.docker/mysql:/var/lib/mysql
public function authenticate()
{
$credentials = request()->only('cpf', 'password');
try
{
$token = JWTAuth::attempt($credentials);
if(!$token){
$credentials['email'] = $credentials['cpf'];
unset($credentials['cpf']);