Skip to content

Instantly share code, notes, and snippets.

@korrio
korrio / networks.ts
Last active May 16, 2022 07:57
EVM-compatible Networks
const NETWORKS = {
'1': 'https://eth-mainnet.alchemyapi.io/v2/q1gSNoSMEzJms47Qn93f9-9Xg5clkmEC',
'3': 'https://eth-ropsten.alchemyapi.io/v2/cidKix2Xr-snU3f6f6Zjq_rYdalKKHmW',
'4': 'https://eth-rinkeby.alchemyapi.io/v2/XVLwDlhGP6ApBXFz_lfv0aZ6VmurWhYD',
'5': 'https://eth-goerli.alchemyapi.io/v2/Dkk5d02QjttYEoGmhZnJG37rKt8Yl3Im',
'10': 'https://mainnet.optimism.io',
'42': 'https://eth-kovan.alchemyapi.io/v2/6OVAa_B_rypWWl9HqtiYK26IRxXiYqER',
'56': 'https://bsc-dataseed.binance.org/',
'65': 'https://exchaintestrpc.okex.org',
'66': 'https://exchainrpc.okex.org',
@Akhil-Suresh
Akhil-Suresh / postman_installation.md
Last active June 9, 2024 10:12
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

@ivan-aksamentov
ivan-aksamentov / fix_ubuntu_18_04_llvmpipe.sh
Created October 15, 2018 22:31
Fix Ubuntu 18.04 fallback to llvmpipe software rendering when Nvidia driver is installed
sudo rm -rf /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
sudo rm -rf /usr/lib/xorg/modules/drivers/nvidia_drv.so
@sutlxwhx
sutlxwhx / README.md
Last active October 28, 2023 07:29
Comparison of different popular VPS providers
@bsodmike
bsodmike / README.md
Last active March 13, 2023 05:04
OC Nvidia GTX1070s in Ubuntu 16.04LTS for Ethereum mining

Following mining and findings performed on EVGA GeForce GTX 1070 SC GAMING Black Edition Graphics Card cards.

First run nvidia-xconfig --enable-all-gpus then set about editing the xorg.conf file to correctly set the Coolbits option.

# /etc/X11/xorg.conf
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
@lars-tiede
lars-tiede / asyncio_loops.py
Last active April 3, 2024 15:28
asyncio + multithreading: one asyncio event loop per thread
import asyncio
import threading
import random
def thr(i):
# we need to create a new loop for the thread, and set it as the 'default'
# loop that will be returned by calls to asyncio.get_event_loop() from this
# thread.
loop = asyncio.new_event_loop()
@0mkara
0mkara / Ethereum_private_network.md
Last active April 19, 2024 00:09
Ethereum private network configuration guide.

Create your own Ethereum private network

Introduction

Used nodes:

Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
Linux localhost.localdomain 4.14.5-200.fc26.x86_64 #1 SMP Mon Dec 11 16:29:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
@staltz
staltz / introrx.md
Last active June 15, 2024 12:24
The introduction to Reactive Programming you've been missing