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
Ice Minus studio tips | |
(Knowledge Magazine Studio Equipment) | |
Ice Minus studio tips part 1 | |
For those of you setting up a small studio or basic computer system for producing music there are a few things to consider |
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 base58 | |
import hashlib | |
from fastecdsa import curve | |
from fastecdsa import keys | |
updhsh = lambda h, s: [h.update(s), h][1] | |
b58chk = lambda s: base58.b58encode(bytes(hexbyt(s))) | |
concat = lambda s1, s2: "{}{}".format(s1, s2) | |
hexbyt = lambda s: bytes(bytearray.fromhex(s)) |
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
-....- | |
--./-././-/.-./--. | |
-.--/...-/../.-./..-. | |
...-/.- | |
-.-./..-/...-/-.--/-./--.-/.-./-.--/-.-./..-/...-/-./--..-- | |
-./--. | |
-./.- | |
...-/.-/--./.-././..-./.-./.--./--./...-/-.../.- | |
.---/.-. | |
-././.-. |
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
# rumsfeld.py | |
# for the fbi | |
import itertools | |
import sys | |
intel = ['known', 'unknown'] | |
detail = int(sys.argv[1]) if len(sys.argv) > 1 else 7 | |
rumsfeldian = itertools.product | |
s = lambda k: print(' '.join([j for i in k for j in i])) |
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 nltk | |
import nltk.data | |
import string | |
import sys | |
from nltk.corpus import wordnet | |
def wordnet_pos(treebank_tag): | |
if treebank_tag.startswith('J'): | |
return wordnet.ADJ |
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 | |
IFS=' | |
' | |
for key in $(cat ~/.ssh/keys); do | |
ssh-add -l | grep -E "$key |$key.fifo" > /dev/null | |
if [[ $? != 0 ]]; then | |
if [ ! -f $key.pass ]; then |
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
#!/usr/bin/env python3 | |
import glob | |
import os | |
import logging | |
import multiprocessing | |
import re | |
import shutil | |
import sys | |
from pyunpack import Archive |
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 argparse | |
import subprocess | |
import sys | |
import tempfile | |
def generate_view(infile, wave_width, wave_height): | |
_, datfilename = tempfile.mkstemp(suffix='.dat') | |
datfile = open(datfilename, 'r') | |
p = subprocess.Popen(['sox', infile, datfilename], | |
stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
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
<Ableton MajorVersion="5" MinorVersion="10.0_370" SchemaChangeCount="1" Creator="Ableton Live 10.0.1d1" Revision="b8761d5b3a670e00b16e716b603a7c9f50dcfcb0"> | |
<SkinManager> | |
<ControlForeground> | |
<R Value="210"/> | |
<G Value="210"/> | |
<B Value="210"/> | |
<Alpha Value="255"/> | |
</ControlForeground> | |
<TextDisabled> | |
<R Value="120"/> |
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
#include <windows.h> | |
#include <stdio.h> | |
#include <mmsystem.h> | |
#include <mmreg.h> | |
#include <conio.h> | |
#define BUFFERSIZE 200 | |
#define BUFFEROUTSIZE 120 | |
#define NUM_SEND 500 |
OlderNewer