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
<template> | |
<div style="margin-top:100px; margin-left:30px;"> | |
<h1>COMPONENTE: 01 Emitindo eventos...</h1> | |
</div> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { |
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
<template> | |
<div style="margin-top:100px; margin-left:50px;"> | |
<h2>COMPONENTE 02: Ja fui renderizado, mas quero ouvir o evento foo</h2> | |
</div> | |
</template> | |
<script> | |
export default { | |
data() { |
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
window.Vue = require('vue'); | |
window.events = new Vue(); | |
Vue.component('emit', require('./components/Emit.vue')); | |
Vue.component('listen', require('./components/Listen.vue')); | |
const app = new Vue({ | |
el: '#app', | |
}); |
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
export default { | |
props: ['resource'], | |
data() { | |
return { | |
attributes: { | |
importance: this.resource.importance, | |
impact: this.resource.impact, | |
probability: this.resource.probability, | |
}, |
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
update() { | |
axios.patch('/chapters/'+ this.resource.chapter_id + '/questions/' + this.question.id, this.attributes) | |
.then(({data}) => { | |
if(data.success) { | |
flash(data.message); | |
this.ui.edit = false; | |
} | |
}) | |
}, |
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\Merge; | |
class Marge | |
{ | |
protected $data = []; | |
public function setData($data) | |
{ |
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 | |
/* | |
* | |
* Lista de checagem para fazer Deploy via Webhook | |
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
* | |
* O servidor possui acesso via SSH? | |
* | |
* O git foi iniciado na pasta raiz? (git init --bare) |
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
// Lista | |
AC, Acre | |
AL, Alagoas | |
AP, Amapá | |
AM, Amazonas | |
BA, Bahia | |
CE, Ceará | |
DF, Distrito Federal | |
ES, Espirito Santo |
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\Charts; | |
use App\Charts\ColorPallete; | |
use App\Solicitation; | |
use ConsoleTVs\Charts\Classes\Highcharts\Chart; | |
use Jenssegers\Date\Date; | |
class VolumePerSolicitationsType extends Chart |
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 | |
use Hyn\Tenancy\Contracts\Repositories\CustomerRepository; | |
use Hyn\Tenancy\Contracts\Repositories\HostnameRepository; | |
use Hyn\Tenancy\Contracts\Repositories\WebsiteRepository; | |
use Hyn\Tenancy\Models\Customer; | |
use Hyn\Tenancy\Models\Hostname; | |
use Hyn\Tenancy\Models\Website; | |
use Illuminate\Database\Seeder; |
OlderNewer