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
[ | |
{ | |
"id": "5146", | |
"hardware": "Pulmonary Ventilator", | |
"name": "Pump It Up", | |
"ip": "192.168.0.201", | |
"vendor": "B. Braun", | |
"serial": "112223333", | |
"familyModel": "INFUSOMAT COMACT", | |
"firmware": "6699584", |
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 isValidProductToIndicator = require('../validations/is-valid-product-to-indicator') | |
module.exports = (merged, volume_indicators) => { | |
const { REAL_CERVEJA_RETORNAVEL, PREMIUM, VOLUME_TOTAL, CORINGA_01, CORINGA_02 } = volume_indicators | |
let real_umb_cerv_ret = 0 | |
let meta_umb_cerv_ret = 0 | |
let real_hl_cerv_ret = 0 | |
let meta_hl_cerv_ret = 0 |
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 value = await sellModel.aggregate([ | |
{ | |
$match: { | |
$and: [ | |
{ 'status': { $in: [0, 8] } }, | |
{ 'oc': { $in: ['001', '002', '004'] } }, | |
//{'seller':seller_code} | |
] | |
} | |
}, |
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 nodemailer from 'nodemailer'; | |
const transporter = nodemailer.createTransport({ | |
host: 'smtp.gmail.com', | |
port: 465, | |
secure: true, // use SSL | |
auth: { | |
user: "mailer@gmail.com", | |
pass: "senha" | |
} |
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
[ | |
{ | |
"num_pedido": "201807120001", | |
"cod_cliente": "00240668", | |
"cod_vendedor": "110", | |
"data_pedido": "12/07/2018", | |
"fam_produto": "451", | |
"cod_produto": "0000219333", | |
"sequencia": "001", | |
"valor_unit": "141,6000", |
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
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# copy the downloaded file into /opt directory | |
cp gitkraken-amd64.tar.gz /opt/gitkraken | |
cd /opt |
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
var io = require('socket.io').listen(8000), | |
nicknames = {}; | |
io.sockets.on('connection', function (socket) { | |
socket.on('user message', function (msg) { | |
socket.broadcast.emit('user message', socket.nickname, msg); | |
}); | |
socket.on('nickname', function (nick, fn) { | |
if (nicknames[nick]) { |
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 Sequelize = require('sequelize') | |
const fs = require('fs') | |
const path = require('path') | |
let database = null | |
const loadModels = (sequelize) => { | |
const dir = path.join(__dirname, '../modules/models') | |
const models = [] |
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
/* | |
a) -> | |
b) -> | |
*/ | |
#include <locale.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
DISCIPLINA: ESTRUTURA DE DADOS | |
PROFESSOR: JOSÉ HONORATO FERREIRA NUNES | |
DATA DA AULA : 03/11/2017 | |
DATA DA ENTREGA : 09/11/2017 | |
ENVIAR P/ : honoratonunes@gmail.com | |
Escrever um programa que cadastre o nome, a matrÃcula e duas notas | |
de vários alunos. Em seguida imprima a matrÃcula, o nome e a média de | |
cada um deles. |
NewerOlder