Skip to content

Instantly share code, notes, and snippets.

View andreanidouglas's full-sized avatar
🎯
data in the morning; code in the evening

Douglas R Andreani andreanidouglas

🎯
data in the morning; code in the evening
View GitHub Profile
@andreanidouglas
andreanidouglas / cue_to_mp3.py
Last active October 30, 2017 11:08 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
#!/usr/bin/python2
import os
def generate_script(cue_file, file_path, file_name):
d = open(cue_file).read().splitlines()
general = {}
tracks = []
@andreanidouglas
andreanidouglas / install_opencv.md
Last active January 11, 2017 13:31
Quick guide on how to install and compile opencv 3.2 from its source

Disclaimer This guide has an intent to install the OpenCV libraries for development. Please notice that i'm no Linux expert and this can eventually break your system. Do at your own rist.

General

  • Many packages are required in order to compile the OpenCV libraries.

  • If you have a system with apt-get:

######
## Script to automatically compile and install opencv and opencv contrib libraries into debian-like systems
## Created by Douglas Andreani
## Created on: Sep 30th 2015
######
#!/bin/sh
if [ $(id -u) -ne 0 ]; then
echo "Please run as: sudo sh $0"