Skip to content

Instantly share code, notes, and snippets.

0x2dc3006649e50d0214fd708523cfb63f6077e21e8798c966f05aa8d885bc38bc

Keybase proof

I hereby claim:

  • I am macarse on github.
  • I am macarse (https://keybase.io/macarse) on keybase.
  • I have a public key ASCaIrF5cZLkIZEeCSdACELgI4zQ1dg1yQ_zOkVtfOdXhQo

To claim this, I am signing this object:

@Macarse
Macarse / dpi.py
Created September 14, 2020 22:54
DPI value calculated through Coingecko API
from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
per_set = {
"YFI": 0.000798,
"LEND": 33.272727,
"SNX": 3.148585,
"COMP": 0.08535,
"MKR": 0.023989,
"LRC": 30.833333,
@Macarse
Macarse / gist:1241535
Created September 26, 2011 03:09
brew install -v mplayer
==> Downloading ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc4.tar.bz2
File already downloaded in /Users/macarse/Library/Caches/Homebrew
/usr/bin/tar xf /Users/macarse/Library/Caches/Homebrew/mplayer-1.0rc4.tar.bz2
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.7.1) https://raw.github.com/gist/1105164/704c64c97ab7ffcc3e5f69b1c5d4fb0850f572c1/vd_mpng.c.diff -o 001-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching