This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import pandas as pd | |
from scipy.stats import ttest_ind | |
# set up Coingecko API endpoint | |
base_url = "https://api.coingecko.com/api/v3" | |
endpoint = "/coins/bitcoin/market_chart" | |
# set number of days to retrieve historical data for | |
days = "max" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# act as a KSysGuard sensor | |
# provides NVIDIA GPU info via `nvidia-smi` | |
# Usage: | |
# 1. Save this script, make it executable and move it to a directory in your $PATH | |
# 2. Save this ksysguard sensor file for Nvidia: https://gist.github.com/Sporif/31f0d8d9efc3315752aa4031f7080d79 | |
# 2. In KSysGuard's menu, open "File > Import Tab From File option" | |
# 3. Open the sensor file (nvidia.srgd) |