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
class Address | |
{ | |
public string City { get; set; } | |
public string PostalCode { get; set; } | |
} | |
class Currency | |
{ | |
public string Code { get; set; } |
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
{ | |
"symbols.hidesExplorerArrows": false, | |
"workbench.iconTheme": "symbols", | |
"workbench.colorTheme": "Min Dark", | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "JetBrains Mono", | |
"editor.fontSize": 18, | |
"editor.lineHeight": 1.8, | |
"editor.rulers": [ | |
80, |
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 random | |
model_training = [ | |
] | |
tokens = {} | |
for i in range(0, len(model_training)): | |
phrase_tokens = model_training[i].split() |
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
#include <DFRobot_ENS160.h> | |
#include "DFRobot_AHT20.h" | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x38,16,2); | |
#define I2C_COMMUNICATION | |
#ifdef I2C_COMMUNICATION | |
DFRobot_ENS160_I2C ENS160(&Wire, /*I2CAddr*/ 0x53); |
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
== arquivo 1 == | |
export namespace CreateRecipientGateway { | |
export type Input = { | |
firstName: string | |
} | |
export type Output = { id: string } | |
export interface Contract { | |
handle(i: Input): Promise<Output> |
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
#include <DFRobot_ENS160.h> | |
#include "DFRobot_AHT20.h" | |
#define I2C_COMMUNICATION | |
#ifdef I2C_COMMUNICATION | |
DFRobot_ENS160_I2C ENS160(&Wire, /*I2CAddr*/ 0x53); | |
#else | |
uint8_t csPin = D3; | |
DFRobot_ENS160_SPI ENS160(&SPI, csPin); |
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
/* eslint-disable @typescript-eslint/ban-ts-comment */ | |
function number_format(number, decimals, decPoint, thousandsSep) { | |
// eslint-disable-line camelcase | |
number = (number + '').replace(/[^0-9+\-Ee.]/g, ''); | |
const n = !isFinite(+number) ? 0 : +number; | |
const prec = !isFinite(+decimals) ? 0 : Math.abs(decimals); | |
const sep = typeof thousandsSep === 'undefined' ? ',' : thousandsSep; | |
const dec = typeof decPoint === 'undefined' ? '.' : decPoint; | |
let s = ''; |
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
(async () => { | |
const si = require('systeminformation'); | |
const cron = require('node-cron') | |
let counter = 0; | |
let Seed = `${new Date().getSeconds()}${new Date().getDate()}`; |
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
//arquivo api.js | |
import axios from 'axios'; | |
const api = axios.create({ | |
baseURL: "https://min-api.cryptocompare.com" | |
}); | |
export default api; | |
//arquivo de request; |
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
<Button variant="contained" id="btnEntrar" style={{ | |
backgroundColor: '#67BF59', | |
fontSize:25, | |
fontWeight: 'bold' | |
}} | |
color="primary" onClick={() => { | |
alert('yeah button'); | |
}}>Entrar</Button> | |
<p style={{zIndex:-1}}>aeaeaesa</p> |
NewerOlder