Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Clone all github.com repositories for a specified user.
if [ $# -eq 0 ]
then
echo "Usage: $0 <user_name> "
exit;
fi
@dappcenter
dappcenter / furucombo_airdrop.csv
Created March 10, 2021 11:27 — forked from LefterisJP/furucombo_airdrop.csv
furucombo_airdrop.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 11 columns, instead of 1 in line 9.
address,total,week_0,week_1,week_2,week_3,week_4,week_5,week_6,week_7,week_8
0xfa396090B4dfD2bd86bbf6de63635d6E390b5dE1,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0xe2689e394faE140069486becf07508a4b8AE2a32,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0xe64b1A000b931080A73546d4ED5d742495Ce2a92,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x0b13f13c0E99F24b96A835B787D1347B33d87776,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x0dbEd2F0155c4Eee12cb79605180618c49cf50C7,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x15F574311bf3408D413a6a3bAb569b3377AC146d,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x33eeCc48943aAeabb5328A25ff28eb85F67945C2,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x34567d53dd448feA28887fb5F76F80F544570d82,350,87.5,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125,32.8125
0x35d4b34696cdFC657
@dappcenter
dappcenter / DGX_fees.md
Created March 26, 2020 11:04 — forked from mrenoon/DGX_fees.md
DGX's fees calculation

DGX Token contract

Demurage fees

Overview

  • Demurrage fees can be turned off globally, exempting demurrage for all accounts. For the first one year, global demurrage is turned off
@dappcenter
dappcenter / .bash_profile
Created February 26, 2020 14:41 — forked from linuxbender/.bash_profile
SSH with plink (putty) = remote send linux command
if [[ $- != *i* ]] ; then
ON_A_TTY=No
else
ON_A_TTY=Yes
fi
# check that an ssh-agent is running
if [ -x /usr/bin/ssh-agent ]
then
SSH_AGENT_PID=-1
pragma solidity ^0.4.20;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
This file is intentionally left blank.
@dappcenter
dappcenter / Cloner.sol
Created November 14, 2019 15:33 — forked from holiman/Cloner.sol
A generic 'cloner' contract which clones other contract instances
pragma solidity ^0.4.4;
contract X{
string junk;
function y() returns(string){
//Uncomment the 'junk' below to make gas-measurements
//junk="0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF012345