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="form-group"> | |
<label for="recipient-name" class="control-label">Manter o Parceiro Selecionado?</label> | |
<label class="radio-inline"> | |
<input type="radio" name="manterParceiro" ng-model="manterParceiro_sim.Value" value="True" > Sim | |
</label> | |
<label class="radio-inline"> | |
<input type="radio" name="manterParceiro" ng-model="manterParceiro_nao.check" value="False"> Não | |
</label><br /><br /> |
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
'use strict'; | |
app.controller('homeCtrl', ['$scope', '$http', 'autenticacaoAPI', 'masterAPI', function ($scope, $http, autenticacaoAPI, masterAPI) { | |
//Autenticacao - carrega usuário | |
$scope.carregaUsuario = function () { | |
$scope.users = ""; | |
autenticacaoAPI.getUsuario().success(function (users) { | |
var result = JSON.parse(users); | |
var sNome = ""; |
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
============= minha combo html ===================== | |
div class="form-group" > | |
<label for="recipient-name" class="control-label">Empresa Padrão:</label> | |
<select class="form-control" data-ng-model="x.currentId" | |
data-ng-options="empresa.nome for empresa in empresas"> | |
</select> | |
</div> |
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
<script> | |
var app = new Vue({ | |
el: '#app', | |
data(){ | |
return { | |
markers: [], | |
MID: 0, | |
currentInfoWindow: null, | |
options : {timeout: 10000, enableHighAccuracy: true}, | |
} |
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
methods: { | |
api(lat, lng, km){ | |
this.loading = true; | |
var payload = this.payAuth; | |
var token = ""; | |
var urlAuth = 'http://localhost:49921/token'; | |
return new Promise((resolve, reject) => { | |
axios.post(urlAuth, JSON.stringify(payload), |
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
import sys | |
from importlib._bootstrap_external import _check_name | |
from PyQt5.QtWidgets import QMainWindow, QPushButton, QLabel, QMenu, qApp, QApplication, QWidget | |
from PyQt5.QtCore import QObject, Qt, pyqtSignal | |
from PyQt5.QtGui import QPainter, QFont, QColor, QPen | |
class MainWindow(QMainWindow): | |
def __init__(self, parent=None): | |
super(MainWindow, self).__init__() |
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
import { useState, createContext, useContext } from 'react' | |
// Lift state up -> Levantar o estado | |
// Context API | |
// Prop Drilling | |
type CartContextType = { | |
productsInCart: string[]; | |
addProductToCart: (name: string) => void; |
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
const { transactions, balance } = response.data; | |
const newTransactions = transactions.map(transaction => { | |
return { | |
...transaction, | |
formattedValue: formatValue(transaction.value), | |
// outros campos aqui | |
} | |
}); |
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
name: CI | |
on: | |
push: | |
branches: [master] | |
env: | |
BUCKET: reactdeploy.getomni.dev | |
jobs: |
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
.DayPicker { | |
background: #28262e; | |
border-radius: 10px; | |
} | |
.DayPicker-wrapper { | |
padding-bottom: 0; | |
} | |
.DayPicker, |
OlderNewer