Skip to content

Instantly share code, notes, and snippets.

View Path-A's full-sized avatar

Austin Anderson Path-A

  • Sarasota, FL
View GitHub Profile
@domvwt
domvwt / vaex-optuna.ipynb
Created February 2, 2021 17:55
vaex-optuna.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattwang44
mattwang44 / download_from_s3_async.py
Last active September 3, 2025 07:47
async download from AWS S3 using aiobotocore
import os
import asyncio
import aiobotocore
import io
from PIL import Image
AWS_ACCESS_KEY_ID = os.environ['AWS_ACCESS_KEY_ID']
AWS_SECRET_ACCESS_KEY = os.environ['AWS_SECRET_ACCESS_KEY']
@rhine3
rhine3 / xeno-canto.md
Last active November 5, 2023 11:09
Downloading files from Xeno-Canto

This script is no longer supported.

Over the years since I posted this script, it has become more and more common to scrape audio files off of Xeno-Canto.org. This has resulted in an overwhelming amount of traffic to their servers.

Please do not scrape Xeno-Canto without contacting the organizers first to ask for permission and for more information. They will be able to advise you on the best time of day to download data from their servers, or any alternative download options that are available.

@tobiasraabe
tobiasraabe / python-downloader.py
Last active March 8, 2025 10:47
Script to download files, resume downloads and validate downloads. Everything wrapped with a beautiful progressbar.
import click
import hashlib
import requests
from pathlib import Path
from tqdm import tqdm
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
@jalapic
jalapic / viridisschiz
Created October 3, 2015 01:27
Australian Schizophrenia Births
### Example Viridis Plot
library(ggplot2)
library(viridis)
library(season)
library(gridExtra)
pa<-ggplot(schz, aes(year, month, fill = SczBroad)) +
geom_tile(colour="gray20", size=1.5, stat="identity") +
scale_fill_viridis(option="A") +