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
from struct import unpack | |
from scipy.io import wavfile | |
import scipy.io | |
import numpy as np | |
import os, sys | |
import glob | |
threshold = 0 |
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
package generic_cont_example | |
trait ~> [-F[_], +G[_]] { | |
def run[A](fa: F[A]): G[A] | |
} | |
final case class ContT[M[_], A](x: λ[a => A => M[a]] ~> M) { | |
def map[B](f: A => B): ContT[M, B] = | |
ContT[M, B]( |
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
// ==UserScript== | |
// @name :don: - スラングにabbrつけるやつ | |
// @namespace https://github.com/unarist/ | |
// @version 0.21.1 | |
// @author unarist | |
// @match https://mstdn.maud.io/* | |
// @grant none | |
// @downloadURL https://gist.github.com/unarist/ce93c77eee6ff9bf51491ff06a3109d3/raw/mastodon-add-abbr.user.js | |
// @noframes | |
// ==/UserScript== |