Skip to content

Instantly share code, notes, and snippets.

@colinwilson
colinwilson / new_do_pricing_effective_2022.07.01.md
Last active October 24, 2024 13:40
New DigitalOcean Pricing - Prices effective starting July 1, 2022
@ccj5351
ccj5351 / itera_dataloader_example.py
Created February 19, 2020 03:06
Modified code with the article "How to Build a Streaming DataLoader with PyTorch" at https://medium.com/speechmatics/how-to-build-a-streaming-dataloader-with-pytorch-a66dd891d9dd.
import random
from itertools import chain, cycle, islice
import torch.utils.data as data
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
import time
import torch
import numpy as np
@natowi
natowi / audio2midi.md
Last active October 4, 2025 07:44
List of open source audio to midi packages
@pathikrit
pathikrit / README.md
Last active August 19, 2025 23:28
My highly opinionated list of things needed to build an app in Scala
@juanrh
juanrh / RawFromRDDGenTest.scala
Created December 15, 2015 03:20
brute force scalacheck generator from a Spark RDD
package es.ucm.fdi.sscheck.spark
import org.junit.runner.RunWith
import org.specs2.runner.JUnitRunner
import org.specs2.Specification
import org.specs2.ScalaCheck
import org.specs2.scalacheck.Parameters
import org.scalacheck.{Prop, Gen}