Skip to content

Instantly share code, notes, and snippets.

exports.suma = function (valor1, valor2) {
console.log(valor1 + valor2);
};
exports.resta = function (valor1, valor2) {
console.log(valor1 - valor2);
};
exports.multiplicacion = function (valor1, valor2) {
console.log(valor1 * valor2);
};
exports.division = function (valor1, valor2) {
@torralbaalla
torralbaalla / NoToquesLaBandera.html
Last active July 15, 2018 21:01
Broma para WhatsApp basada en el viral "punto negro".
<html>
<body>
<span dir="ltr" class="selectable-text invisible-space copyable-text"><em>_No toques la bandera!_</em> <b>➔</b> 🇪🇸&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&lrm;&
@torralbaalla
torralbaalla / yet.sol
Created September 13, 2019 16:25
YetAnotherToken Ethereum contract.
/*
* yet.sol
*
* Copyright 2019 Alvarito050506 <donfrutosgomez@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
@torralbaalla
torralbaalla / dns3.sol
Last active September 15, 2019 18:15
dns3 Ethereum smart constract.
/*
* dns3.sol
*
* Copyright 2019 Alvarito050506 <donfrutosgomez@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
@torralbaalla
torralbaalla / gianthug.js
Created November 23, 2019 02:26
Gianthug
/*
* gianthug.js
*
* Copyright 2019 Alvarito050506 <donfrutosgomez@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
@torralbaalla
torralbaalla / client.min.js
Last active November 25, 2019 13:58
Example Box Critters standard mod.
var itemSS,itemData;function World(t,e){console.info("-----------------------------------"),console.info("[BOX CRITTERS]"),console.info("A awesome world created by RocketSnail and modded by the community!"),console.info("-----------------------------------"),console.info("https://twitter.com/rocketsnail"),console.info("https://rocketsnail.com"),console.info("-----------------------------------"),this.events={},this.player,this.settings={lobby:"tavern"},this.critters={},this.symbols={},this.effects={},this.items={},this.stage=new createjs.Stage(t),this.stage.room=new createjs.Container,this.stage.menu=new createjs.Container,this.stage.gear=new createjs.Container,this.stage.addChild(this.stage.room),this.stage.addChild(this.stage.menu),this.stage.addChild(this.stage.gear),this.beep=new BeepContainer(850,480),this.stage.addChild(this.beep),this.map=new MapContainer(this),this.stage.addChild(this.map),this.room,e&&(this.socket=e,this.chat=new Chat(e,this),this.code=new Code(e,this),this.handleSocket(e,this));var
//==UserScript==
// @name Test
// @namespace https://boxcrittersmods.ga
// @version 0.1.0
// @description Testeando
// @author Alvarito050506
// @match https://boxcritters.com/play/*
// @match http://boxcritters.com/play/*
// @run-at document-end
// @grant none
//==UserScript==
// @name Test
// @namespace https://boxcrittersmods.ga
// @version 0.1.0
// @description Testeando
// @author Alvarito050506
// @match https://boxcritters.com/play/*
// @match http://boxcritters.com/play/*
// @run-at document-end
// @grant none
// ==UserScript==
// @name a
// @namespace https://boxcrittersmods.ga
// @version a
// @description s
// @author A
// @match https://boxcritters.com/play/index.html
// @grant unsafeWindow
// @require https://cdn.boxcrittersmods.ga/crittersdk/master/src/lib.js
// @run-at document-end
// ==UserScript==
// @name Test
// @namespace https://boxcrittersmods.ga
// @version 0.1.0
// @description Test
// @author Alvarito050506
// @match https://boxcritters.com/play/index.html
// @grant unsafeWindow
// @require https://cdn.boxcrittersmods.ga/crittersdk/master/src/lib.js
// @run-at document-end