Skip to content

Instantly share code, notes, and snippets.

@abarmat
abarmat / StakingV2.json
Created Feb 22, 2021
Graph Protocol - StakingV2 ABI (indexer-rewards)
View StakingV2.json
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "indexer",
"type": "address"
},
View TokenLockWalletABIRemix.json
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_oldManager",
"type": "address"
},
@abarmat
abarmat / marketplace-test-checklist.md
Last active Aug 2, 2019
Decentraland Marketplace : Test Checklist
View marketplace-test-checklist.md

Marketplace Test Checklist

Wallet

Connected

  • Show your MANA balance in the navbar
  • Show your MANA balance in the settings page
  • Show your wallet address in the settings page
View check-domain-cert.sh
openssl s_client -showcerts -connect ${DOMAIN}
View eth-tx-receipt.js
{ tx: '0x3e387318c3d6b9e640e233441069f53052da7e8e46c8473dfb9001c6fbdf0b1d',
receipt:
{ transactionHash: '0x3e387318c3d6b9e640e233441069f53052da7e8e46c8473dfb9001c6fbdf0b1d',
transactionIndex: 0,
blockHash: '0xaf2af5f3c1bad937f0f998b0ed0b0ae01a576380d4d96b550038acfc4e28eda9',
blockNumber: 643,
gasUsed: 45004,
cumulativeGasUsed: 45004,
contractAddress: null,
logs: [] },
View shasum.sh
sha1sum ${FILENAME} | awk '{print $1}'
View .vimrc
filetype plugin on
syntax on
set nocompatible
set expandtab
set shiftwidth=2
set tabstop=2
View create-swapfile.sh
# Create and attach swapfile
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
# Permanent mount
echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab