Skip to content

Instantly share code, notes, and snippets.

View akashjobanputra's full-sized avatar

Akash Jobanputra akashjobanputra

View GitHub Profile
@akashjobanputra
akashjobanputra / README-Python-3.5.1.md
Created October 3, 2017 05:44
Build Python 3.5.1 from source

Python 3.5.1 from source

Extra modules required to build python from source

sudo apt install $(cat apt_requirements.txt)

@akashjobanputra
akashjobanputra / README-install-cv2-raspberryPi3.md
Last active October 4, 2017 09:29
Opencv 3.1.0 in Raspberry Pi3 .deb and requirements from apt

Installing OpenCV 3.1 on Raspbian Jessie (RPi3 - easy way)

Installation

  • Run the following commands
    -$ sudo apt install $(cat cv2_requirements_apt.txt)
    -$ sudo ldconfig
    -$ sudo dpkg -i opencv_3.1.0_armhf.deb
@akashjobanputra
akashjobanputra / createSwapFile.sh
Last active August 29, 2017 06:02
Create & use swap file to temporarily increase swap size
#!/bin/bash
sudo dd if=/dev/zero of=/swap bs=10M count=100 #Creates a file of size 1000M
sudo losetup /dev/loop0 /swap
sudo mkswap /dev/loop0
sudo swapon /dev/loop0