Skip to content

Instantly share code, notes, and snippets.

@torralbaa
torralbaa / gianthug.js
Created November 23, 2019 02:26
Gianthug
/*
* gianthug.js
*
* Copyright 2019 Alvarito050506 <[email protected]>
*
* 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,
@torralbaa
torralbaa / dns3.sol
Last active September 15, 2019 18:15
dns3 Ethereum smart constract.
/*
* dns3.sol
*
* Copyright 2019 Alvarito050506 <[email protected]>
*
* 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.
*
@torralbaa
torralbaa / yet.sol
Created September 13, 2019 16:25
YetAnotherToken Ethereum contract.
/*
* yet.sol
*
* Copyright 2019 Alvarito050506 <[email protected]>
*
* 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.
*
@torralbaa
torralbaa / 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;&
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) {