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: 1, | |
name: "Prueba 1" | |
}, | |
{ | |
id: 2, | |
name: "Prueba 2" | |
} | |
] |
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 { | |
AddSubmission, | |
VouchAdded, | |
VouchRemoved | |
} from "../generated/ProofOfHumanity/ProofOfHumanity"; | |
import { User } from "../generated/schema"; | |
export function handleVouchAdded(event: VouchAdded): void { | |
let user = User.load(event.transaction.from.toHex()); |
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
// Instanciamos una nueva entidad | |
const nameEntity = new Entity(); | |
// Instanciamos un texto con el valor @JuaniGallo | |
const myName = new TextShape("@JuaniGallo"); | |
// Asociamos nuestro nombre a la entidad que creamos al principio | |
nameEntity.addComponent(myName); | |
// Posicionamos nuestra entidad principal |
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 * as utils from "@dcl/ecs-scene-utils"; | |
//Text | |
const nameEntity = new Entity(); | |
const myName = new TextShape("@JuaniGallo"); | |
nameEntity.addComponent(myName); | |
nameEntity.addComponent(new Transform({ position: new Vector3(8, 1, 8) })); | |
nameEntity.addComponent( |
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 axios = require("axios"); | |
const url = | |
"https://www.apple.com/shop/pickup-message-recommendations?mts.0=regular&mts.1=compact&cppart=UNLOCKED/US&searchNearby=true&store=R623&product=MQ933LL/A"; | |
let lastMessageSend = 0; | |
const botId = ""; | |
const chatId = ""; | |
const jsonMap = { |
OlderNewer