Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View coci's full-sized avatar
:octocat:
On the way

soroush safari coci

:octocat:
On the way
View GitHub Profile
@vassilyvv
vassilyvv / gist:bb70833bf546a5bfbd586f1aaf29b30d
Created July 11, 2021 10:25
Send ERC20 Token with python
from web3 import Web3
# or local url
INFURA_URL = "https://mainnet.infura.io/v3/<some_id>"
PRIVATE_KEY = b'<32 characters>'
web3 = Web3(Web3.HTTPProvider(INFURA_URL))
print(web3.isConnected())
@harlow
harlow / golang_job_queue.md
Last active March 4, 2024 21:16
Job queues in Golang
@aleks-mariusz
aleks-mariusz / safari-open-pages.py
Created August 24, 2014 16:35
This script fetches the current open tabs in all Safari windows. Useful to run remotely on your mac when you are at work and want to read a page you have open (remotely) at home but don't remember the url but can log in to your home system on the command line
#!/usr/bin/python
#
# This script fetches the current open tabs in all Safari windows.
# Useful to run remotely on your mac when you are at work and want
# to read a page you have open (remotely) at home but don't remember
# the url but can log in to your home system on the cmmand line
#
import sys