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
### Keybase proof | |
I hereby claim: | |
* I am bigomby on github. | |
* I am bigomby (https://keybase.io/bigomby) on keybase. | |
* I have a public key ASDYt3a8ZczX8ezR_W8fAJNg320ryfnwFimqk3xTJkfGOAo | |
To claim this, I am signing this object: |
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
swagger: '2.0' | |
info: | |
version: 0.1.0 | |
title: license-manager-api | |
basePath: /api/v0 | |
paths: | |
'/users/{id}/accessTokens/{fk}': | |
get: | |
tags: | |
- user |
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 Wallet = require('ethereumjs-wallet') | |
const key = Buffer.from('<tu clave privada>', 'hex') | |
const wallet = Wallet.fromPrivateKey(key) | |
console.log(wallet.toV3String('<tu contraseña>')) |
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
await Promise.all( | |
elements | |
.map(elem => functionThatThrows(elem)) | |
.map(p => p.catch(e => console.error(e)) | |
); |
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 java.util.ArrayList; | |
interface Servicio { | |
void asignarValor(int valor); | |
int getValor(); | |
} | |
class Servicio1 implements Servicio { | |
private int valor; |
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
// Las estructuras comunes a lectura y escritura se introducen en un fichero | |
// de cabecera y se importa. | |
#define MAX_CHARS 30 | |
struct datos { | |
char usuario[MAX_CHARS]; | |
char password[MAX_CHARS]; | |
}; |
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
abstract class Mamífero { | |
abstract amamantar(otro: this); | |
} | |
class Perro extends Mamífero { | |
amamantar(otro: Perro) { | |
// Implementación para Perros | |
} | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am bigomby on github. | |
* I am bigomby (https://keybase.io/bigomby) on keybase. | |
* I have a public key ASBFlH7pkEYz5R5T4n02Um1RhIMlpODw7WhoCmQ-8W6Tnwo | |
To claim this, I am signing this object: |
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
pragma solidity ^0.4.20; | |
import "./ERC20Basic.sol"; | |
contract BasicToken is ERC20Basic { | |
// Evento que se ejecuta cuando se realiza una compra. Se emite en el evento | |
// la dirección de quien ha comprado tokens y la cantidad. | |
event Buy(address buyer, uint256 amount); |
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 { Wallet, Chat, Identity } from './'; | |
import { RequestSigner } from './request-signer'; | |
import { MemorySignalStore } from './signal-account/stores/memory-signal-store'; | |
import { SignalAccount } from './signal-account'; | |
const chatUrl = 'https://chat.development.service.toshi.org'; | |
const identityUrl = 'https://identity.development.service.toshi.org'; | |
function createMessage(destinationRegistrationId: number, destination: string) { | |
return { |