Skip to content

Instantly share code, notes, and snippets.

View liviust's full-sized avatar
👾

Liviu-Daniel liviust

👾
View GitHub Profile
@fnky
fnky / ANSI.md
Last active March 15, 2026 17:16
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@grapeot
grapeot / extractFeatures.py
Created April 24, 2017 03:14
Use Caffe2 to extract features
# Initial imports
import os
import sys
import logging
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
from caffe2.proto import caffe2_pb2
import numpy as np
import skimage.io
import skimage.transform
@KarthikMAM
KarthikMAM / gridcorpus.sh
Created March 28, 2017 08:13
Download the grid corpus dataset and extract it.
#preparing for download
mkdir "gridcorpus"
cd "gridcorpus"
mkdir "raw" "audio" "video"
cd "raw" && mkdir "audio" "video"
for i in `seq $1 $2`
do
printf "\n\n------------------------- Downloading $i th speaker -------------------------\n\n"