Skip to content

Instantly share code, notes, and snippets.

View saksmt's full-sized avatar

Kirill Saksin saksmt

View GitHub Profile
@saksmt
saksmt / fsplit.py
Last active November 15, 2016 21:33 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to source format)
#!/usr/bin/env python2
# Shit code.. TODO: rewrite
import sys
import os
import os.path
import subprocess
import itertools
def safe[F[_] : Concurrent
: Timer
: Memoize
: ContextShift, T](size: Int,
name: String,
factory: => F[T])
// vs
def safe[F[_] : Concurrent