Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
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', |
sudo rm -rf /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf | |
sudo rm -rf /usr/lib/xorg/modules/drivers/nvidia_drv.so |
This is a comparison that I made when I was testing different VPS / VDS providers using nench.sh server benchmark.
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"
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() |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.