This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?><Response><Play loop="1">http://prtnsrc.com/2545.mp3</Play></Response> |
This file contains hidden or 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
| import configs from '../configs' | |
| import Vue from 'vue' | |
| const ip = configs.IP | |
| const ProdutoService = { | |
| insert(produto) { | |
| return Vue.http.post(`${ip}produto`, produto) | |
| }, |
This file contains hidden or 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
| const isPalindrome = (word) => word === word.split('').reverse().join('') | |
| console.log(isPalindrome('salas')) |
This file contains hidden or 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
| /* eslint-disable no-shadow */ | |
| import Vue from 'vue' | |
| import iziToast from 'izitoast' | |
| export default function install(Vue) { | |
| Object.defineProperties(Vue.prototype, { | |
| $iziToast: { | |
| get() { | |
| iziToast.settings({ | |
| position: 'topRight', |
This file contains hidden or 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
| 'use strict' | |
| var fs = require('fs') | |
| var request = require('request') | |
| request.post({ | |
| url: 'https://www.sefaz.mt.gov.br/nfce/consultainutilizacaonfce', | |
| headers: { | |
| 'Content-Type': 'application/x-www-form-urlencoded' | |
| }, | |
| body: 'ret=6&pagn=gerarExcel&cnpjContribuinte=17.332.316/0001-83&ano=17&bttnGerarExcel.x=14&bttnGerarExcel.y=11&bttnGerarExcel=Gerar Excel' |
This file contains hidden or 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
| const ModalService = { | |
| show(modalId) { | |
| $(`#${modalId}`).modal('show'); | |
| }, | |
| hide(modalId) { | |
| $(`#${modalId}`).modal('hide'); | |
| } | |
| }; |
This file contains hidden or 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
| import Model from './Model'; | |
| import Genero from './Genero' | |
| import Escolaridade from './Escolaridade'; | |
| import { required } from 'vuelidate/lib/validators'; | |
| import { validarCpf } from '../services/Utils'; | |
| class Candidato extends Model { | |
| constructor() { | |
| super(); | |
| this.cpf = undefined; |
This file contains hidden or 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
| function easyEditableController($scope) { | |
| $scope.editing = false; | |
| $scope.click = function(){ | |
| $scope.editing = !$scope.editing; | |
| } | |
| }; | |
| angular.module('myApp').component('easyEditable', { | |
| template: '<div class="col-sm-11">' + | |
| '<a href="" ng-click="click()" ng-show="!editing" style="border-bottom:1px dashed blue;">{{$ctrl.esModel || $ctrl.esDefault}}</a>' + |
This file contains hidden or 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> | |
| <nav aria-label="Page navigation"> | |
| <ul class="pagination pagination-sm"> | |
| <li :class="{'disabled': source.page === 1}"> | |
| <a href="#" aria-label="Previous" v-on:click.prevent="navigate($event, source.page - 1)"> | |
| <span aria-hidden="true">«</span> | |
| </a> | |
| </li> | |
| <li v-for="page in pages" track-by="$index" :class="{'active': source.page === page}" v-on:click.prevent="navigate($event, page)"><a href="#">{{page}}</a></li> |
This file contains hidden or 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 id="inputCpf"> | |
| <input type="text" class="form-control" id="txt1" v-bind:placeholder="placeholder"> | |
| <span v-bind:class="icon"></span> | |
| </div> | |
| </template> | |
| <script type="text/javascript"> | |
| import Vue from 'vue'; | |
| export default { | |
| props: ['value', 'placeholder', 'icon', 'disabled'], |