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 required tools | |
import requests | |
from datetime import datetime | |
# print current date and time | |
print(datetime.now()) | |
print() | |
# define array of cryptos & quantities owned | |
# TO DO: Enter Your Portfolio Holdings |
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
#!/bin/bash | |
gitUsernames=("github-username1" "github-username2") | |
echo "Open Issues (by user)" | |
echo "---" | |
# https://cli.github.com/manual/ | |
for username in ${gitUsernames[@]}; do | |
echo -n "$username: " |
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
#!/bin/bash | |
# Function that will print requirements if the user passes in the -help flag as the first argument | |
function help | |
{ | |
echo "Parameters are: " | |
echo "[Required]: search-term" | |
} | |
# Check for '-help' flag |
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 json | |
import requests | |
# https://opensea.io/assets/<your-asset-contract-address>/<your-token-id> | |
ASSETCONTRACTADDRESS = "<your-asset-contract-address>" # Replace with your Asset Contract Address | |
TOKENID = "<your-token-id>" # Replace with your Token ID | |
# Construct URL for OpenSea API to make GET call | |
url = "https://api.opensea.io/api/v1/asset/" + ASSETCONTRACTADDRESS + "/" + TOKENID + "/" |
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 required tools | |
import requests | |
from datetime import datetime | |
# print current date and time | |
print(datetime.now()) | |
print() | |
# define array of cryptos to get the spot price of | |
CRYPTO = ["BTC-USD", "ETH-USD", "LTC-USD"] # Change this array to set what crypto currencies you want a spot price of |
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
#!/bin/bash | |
# | |
# Script that will start VSCode with a new file saved in a specified directory to edit. | |
# Filename of the new file saved will be taken in as an argument | |
# Directory will be specified within the script | |
# | |
# Location of the directory where the files created by the script should be stored | |
file_location=${HOME}/Documents/Programming/scratchpad |
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 json | |
import requests | |
# get API url provided by https://www.vaccinespotter.org/api/ | |
# this URL can be changed to any of the other states found at the URL above | |
URL = "https://www.vaccinespotter.org/api/v0/states/MN.json" # CHANGE STATE HERE | |
requestResponse = requests.get(URL) | |
parsedJSONResponse = requestResponse.json() |
NewerOlder