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
#!/bin/bash | |
# Description: GNOME Widget for getting the current fee for transfering ERC-20 tokens in ETH mainnet | |
# Requirement: Use GNOME (in Ubuntu Linux, for example) | |
# Dependency: Install Argos https://github.com/p-e-w/argos | |
# Installation: Add your API keys to this file and copy the file into ~/.config/argos. | |
# Preview: https://ipfs.infura.io:5001/api/v0/cat?arg=QmXbxqwXCzSkQJKdvM6jxkBuKWiSPFc4cMqXMcnDEyxbLy | |
# Author: Ivan Diaz (github.com/ivandiazwm) | |
export PATH="/usr/local/bin:$PATH" |
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
#!/usr/bin/env python | |
import networkx as nx | |
import matplotlib.pyplot as plt | |
import math | |
from random import random | |
from numpy import arange | |
N = 1000 | |
K = 5 |