I hereby claim:
- I am antonydenyer on github.
- I am antonydenyer (https://keybase.io/antonydenyer) on keybase.
- I have a public key whose fingerprint is 2CD7 D01A 1C9E FFAD E60F A1B9 0977 3615 F91A 8498
To claim this, I am signing this object:
const { Web3 } = require("web3"); | |
async function multiCall() { | |
const abi = | |
{ | |
"stateMutability": "payable", | |
"type": "function", | |
"name": "aggregate3", | |
"inputs": [ |
const toRoman = (numeral) => | |
new Array(numeral + 1) | |
.join('I') | |
.replaceAll('IIIII', 'V') | |
.replaceAll('VV', 'X') | |
.replaceAll('XXXXX', 'L') | |
.replaceAll('LL', 'C') | |
.replaceAll('CCCCC', 'D') | |
.replaceAll('DD', 'M') | |
.replaceAll('IIII', 'IV') |
content1 |
I hereby claim:
To claim this, I am signing this object:
spotless { | |
java { | |
// This path needs to be relative to each project | |
target fileTree('.') { | |
include '**/src/*/java/**/*.java' | |
exclude '**/.gradle/**' | |
exclude '**/generated/**' | |
} | |
removeUnusedImports() | |
googleJavaFormat("1.7").aosp() |
0x61bb711d3d431F404B06505848a9e9C999a83c31 |
FROM ubuntu:bionic | |
RUN apt-get update && \ | |
apt-get -y -qq upgrade && \ | |
apt-get -y -qq install software-properties-common && \ | |
add-apt-repository ppa:ethereum/ethereum && \ | |
apt-get update && \ | |
apt-get -y -qq install geth-unstable solc && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* |
The Kata says you should write a function to convert from Decimals to Roman numerals. In order to keep the kata light, we will not check for valid Roman Numeral.
Roman numerals, the numeral system of ancient Rome, uses combinations of letters from the Latin alphabet to signify values. They are based on seven symbols:
#!/bin/sh | |
set -e | |
echo "Updating known host for $1 ..." | |
KEY=$(ssh-keyscan -t ecdsa-sha2-nistp256 $1 2> /dev/null) | |
if grep -q $1 ~/.ssh/known_hosts; | |
then | |
ESCAPED_KEY=${KEY//\//\\\/} | |
sed -i "" "s/$1.*$/$ESCAPED_KEY/g" ~/.ssh/known_hosts |
disable_flush
and disable_recovery
(TD)