Skip to content

Instantly share code, notes, and snippets.

@ogero
ogero / expand_disk.py
Created January 18, 2017 20:19
Python script to expand VirtualBox VMDK disk (created to expand vagrant boxes using VB provider)
import subprocess,re,os,random,string,sys,fileinput
from sys import platform as _platform
from time import sleep
# VirtualBox disk resize tool
# Author: Geronimo Onativia (geronimox@gmail.com)
# Some ideas taken from
# https://github.com/mitchellh/vagrant/issues/2339#issuecomment-230839878
# http://stackoverflow.com/a/31177761/13116
@ogero
ogero / OPENCV341_Android_compile.MD
Last active January 12, 2022 05:33
This process explains how to compile shared libs of opencv and contrib modules from sources for Android ABI `abi-armeabi-v7a`

Compilation of OpenCV & contrib modules from sources for Android

This process explains how to compile shared libs of opencv and contrib modules from sources for Android ABI abi-armeabi-v7a.

##Requirements

  • Sources for opencv-3.4.1
  • Sources for opencv_contrib-3.4.1
  • CMake 3.11.3
  • mingw-w64 x86_64-7.3.0-posix-seh-rt_v5-rev0