Skip to content

Instantly share code, notes, and snippets.

View NateBrune's full-sized avatar
📈
decentralizing

Nate Brune NateBrune

📈
decentralizing
  • Reckless Capital
  • CA
View GitHub Profile
export const optimismPools = [
{
id: 'WETH-OP-ZIPSWAP',
logo: 'tokens/ZIP.webp',
name: 'ZIPSWAP OP-WETH',
token: 'WETH-OP-ZS',
shortToken: 'WETH',
tokenDescription: 'ZipSwap',
tokenAddress: '0x167dc49c498729223D1565dF3207771B4Ee19853', // want token
tokenDecimals: 18,

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

MAX0="$(cat /sys/class/power_supply/BAT0/charge_full)"
CAP0="$(cat /sys/class/power_supply/BAT0/charge_now)"
BAT="$(echo "100*(${CAP0})/(${MAX0})" | bc)"
echo $BAT%
@NateBrune
NateBrune / radiation.dcpu
Created March 9, 2016 02:51
Radiation effect on dcpu
:main
SET A, 0
SET B, 0xB800
HWI 0
SET A, 0xB800
SET X, A
SET I, X
SET Z, 0xB800
ADD Z, 0x0180
SET I, 0xB800
@NateBrune
NateBrune / cup.dcpu
Created March 9, 2016 02:44
Filling Cup DCPU
:main
SET A, 0
SET B, 0xB800
HWI 0
SET A, 0xB800
SET X, A
SET I, X
SET Z, 0xB800
ADD Z, 0x0180
SET I, 0xB800
#!/usr/bin/env python
import os
import sys
import Queue
import time
import threading
import urllib2
# Various settings
numthreads = 150
#!/usr/bin/env python
import os
import sys
import dns.resolver
import Queue
import time
import threading
# Various settings
numthreads = 150
#!/usr/bin/env python
import os
import sys
try:
import dns.resolver
except:
print 'dnspython is required'
print 'http://www.dnspython.org/'
'''
Simple socket server using threads
'''
import socket
import sys
from thread import *
HOST = '' # Symbolic name meaning all available interfaces
PORT = 1347 # Arbitrary non-privileged port
@NateBrune
NateBrune / keybase.com
Created September 22, 2015 20:14
Keybase Proof
### Keybase proof
I hereby claim:
* I am natebrune on github.
* I am natebrune (https://keybase.io/natebrune) on keybase.
* I have a public key whose fingerprint is B4C5 70D8 B4A0 BA4D 9C34 2FA5 C95C E6BC 6735 BAD7
To claim this, I am signing this object: