https://github.com/benhurott/react-native-masked-text
https://github.com/Microsoft/react-native-code-push#how-does-it-work
//Hello World |
'Esse arquivo gera alguns stats dos algoritmos' | |
import numpy as np | |
import gym | |
# from main import random_search | |
import os | |
def run_episode(env, params, max_reward): | |
'Roda o episodio por no max. 200 timesteps, retornanto o totalReward para esse set de params' | |
observation = env.reset() | |
totalreward = 0 |
/* Método para iniciar sistema e maquininha */ | |
public async Task IniciarPinPad() | |
{ | |
string storagePath = "C:\\Storage\\"; | |
Directory.CreateDirectory(storagePath); | |
// Pega a porta COM associada a maquininha | |
while (pinPadComPort == null) | |
{ | |
await Task.Delay(1000); |
/* eslint-env mocha */ | |
/* eslint-disable func-names, prefer-arrow-callback */ | |
import { Meteor } from 'meteor/meteor'; | |
import { Accounts } from 'meteor/accounts-base'; | |
import { assert } from 'meteor/practicalmeteor:chai'; | |
import { resetDatabase } from 'meteor/xolvio:cleaner'; | |
import { Random } from 'meteor/random'; | |
import { Factory } from 'meteor/dburles:factory'; | |
import './methods.js'; // import all the methods that will be tested |
/* eslint-env mocha */ | |
/* eslint-disable func-names, prefer-arrow-callback */ | |
import { Meteor } from 'meteor/meteor'; | |
import { Accounts } from 'meteor/accounts-base'; | |
import { assert } from 'meteor/practicalmeteor:chai'; | |
import { resetDatabase } from 'meteor/xolvio:cleaner'; | |
import { Random } from 'meteor/random'; | |
import { Factory } from 'meteor/dburles:factory'; | |
import './methods.js'; // import all the methods that will be tested |
const boletoTransactionSchema = { | |
body: Joi.object() | |
.keys({ | |
model: Joi.string().valid('transaction'), | |
model_id: Joi.string().required(), | |
payload: Joi.string().required() | |
}) | |
.unknown(true) // permite outros campos além dos definidos acima | |
} |
Error at PagarMe request { Error: failed [500] {"errors":[{"type":"action_forbidden","parameter_name":null,"message":"Um erro interno aconteceu."}],"url":"/transactions/98301253/refund","method":"post"} | |
at Object.exports.makeErrorByStatus (packages/http.js:176:10) | |
at Request._callback (packages/http.js:140:24) | |
at Request.self.callback (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:185:22) | |
at emitTwo (events.js:126:13) | |
at Request.emit (events.js:214:7) | |
at Request.<anonymous> (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1161:10) | |
at emitOne (events.js:116:13) | |
at Request.emit (events.js:211:7) | |
at IncomingMessage.<anonymous> (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1083:12) |
{ | |
"idExterno": "fSkHv28beT26PktAL", | |
"ambienteEmissao": "Homologacao", | |
"enviarPorEmail": false, | |
"servico": { | |
"descricao": "17 - CONTORNO TOTAL - R$ 47.00 \nSALAO-PARCEIRO: 41.529.660/0001-41 - COTA PARTE: R$ 28.20 \nPROFISSIONAL-PARCEIRO: 21.465.006/0001-04 - COTA-PARTE R$ 18.80 \n\n", | |
"codigoInternoServicoMunicipal": 25010, | |
"issRetidoFonte": false | |
}, | |
"valorTotal": 47, |
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest |