CELO_VALIDATOR_GROUP_ADDRESS=468847b978572efe6fb1d52a5b76dd537c8283e2 CELO_VALIDATOR_ADDRESS=b57d4b48f955d4f0606102dedff38ad1d7e2bd82
This file contains hidden or 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
Attestation: | |
Message: https://www.aztecprotocol.com/ignition/participant/0x69dbe791cffd6295a1327f0d2015eaf6e2f52c1d/?timestamp=1578749888000 | |
Hash: 0x541e4bc9f8c6f95e5a8b7ade214f258989a526d5fb19ec1f830e590609e1b24d | |
Signature: 0x9c2b6658586b8bdc4ecbb136c4aa5ded33ea4c9183e27ac4bc6b1cbf8cfe37767523256824c370dad81585a8e71b7e0cca2274ec558c46b3a1a318e3d7543c881c |
This file contains hidden or 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
in=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
out=da5698be17b9b46962335799779fbeca8ce5d491c0d26243bafef9ea1837a9d8 | |
in=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f | |
out=fc99a2df88f42a7a7bb9d18033cdc6a20256755f9d5b9a5044a9cc315abe84a7 | |
in=ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff | |
out=ef0c748df4da50a8d6c43c013edc3ce76c9d9fa9a1458ade56eb86c0a64492d2 | |
in=243f6a8885a308d313198a2e03707344a4093822299f31d0082efa98ec4e6c89452821e638d01377be5466cf34e90c6cc0ac29b7c97c50dd3f84d5b5b5470917 |
This file contains hidden or 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.0; | |
contract SHA256Test { | |
function calc_sha() public returns (bytes32) { | |
bytes32 a = 0x5; | |
bytes32 b = 0x0; | |
return sha256(a, b); | |
} | |
} |
I hereby claim:
- I am kobigurk on github.
- I am kobigurk (https://keybase.io/kobigurk) on keybase.
- I have a public key ASC5Lcvkhu5DkD9YZaw43OMLNt97xRw_YhTgTKIl-CMWLAo
To claim this, I am signing this object:
This file contains hidden or 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
var bip39 = require('bip39'); | |
var bitcoin = require('bitcoinjs-lib'); | |
var Wallet = {}; | |
// FILL IN: REDEEM_SCRIPT, MNEMONIC1, PASSPHRASE, MNEMONIC2, TARGET_ADDRESS, TXID, VALUE | |
// build like here: https://github.com/blocktrail/blocktrail-sdk-nodejs/blob/ff4bde6983385f5adff3a89e10959ddc323e4160/lib/wallet_sweeper.js#L228 | |
var redeemScript = new Buffer('REDEEM_SCRIPT', 'hex'); |
This file contains hidden or 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
sorted = candy.sort.to_a | |
sorted.each_with_index{|item, index| index+k-1 >= sorted.size() ? (results[index] = Float::INFINITY) : (results[index] = (sorted[index+k-1] - sorted[index]))} | |
ans = results.min |
This file contains hidden or 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
'use strict' | |
if(process.env.ENV === 'dev') delete process.versions['electron'] | |
const fs = require('fs') | |
const path = require('path') | |
const ipfsd = require('ipfsd-ctl') | |
const IpfsApi = require('ipfs-api') | |
const Logger = require('logplease') | |
const Orbit = require('./src/Orbit') |
This file contains hidden or 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
FROM ubuntu:16.04 | |
MAINTAINER Sami Mäkelä | |
RUN apt-get update && \ | |
apt-get install -y coq wget gcc ocaml menhir libmenhir-ocaml-dev libcoq-ocaml-dev libzarith-ocaml-dev libocamlgraph-ocaml-dev unzip liblablgtksourceview2-ocaml-dev libzip-ocaml-dev vim libxtst6 | |
env PATH="/src/Isabelle2016/bin:${PATH}" | |
RUN mkdir src ; cd src && \ | |
wget https://alt-ergo.ocamlpro.com/download_manager.php?target=alt-ergo-static-1.01-x86_64 -O alt-ergo && \ |
This file contains hidden or 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 Bank { | |
int[] balances = {0, 100, 0}; | |
void send(int from, int to, int amount) { | |
if (balances[from] >= amount) { | |
balances[from] -= amount; | |
balances[to] += amount; | |
} | |
} |