Skip to content

Instantly share code, notes, and snippets.

View chatchavan's full-sized avatar

Chat Wacharamanotham chatchavan

View GitHub Profile
@chatchavan
chatchavan / OpenVNAVI_setup.sh
Last active August 29, 2015 14:28
Additional code required for OpenVNAVI SD card
# These script are specific for OpenVNAVI project
sudo pip install flask
# MANUAL: Setup I2C: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
# MANUAL: setup Wifi (edimax): http://www.savagehomeautomation.com/projects/raspberry-pi-installing-the-edimax-ew-7811un-usb-wifi-adapte.html
# setup autorun when restart
sudo crontab -e
@chatchavan
chatchavan / OpenCV_OpenNI_Pi.md
Last active February 17, 2021 12:47
Setup OpenCV 2 + OpenNI 1 on Raspberry Pi Wheezy

Requirements

  • Raspberry Pi
  • Raspbian wheezy
  • Access to shell, e.g., via SSH

Initialze Raspbian and utilities for easy access

Note the MANUAL operations below

sudo raspi-config   # MANUAL: expand disk, set password, set locale to US, change the network name
@chatchavan
chatchavan / SDImage.sh
Last active April 18, 2024 07:11
Create a disk image from an SD card and write the disk image to another SD card (Mac OS X)
#!/bin/bash
### NOTE
# Ideally, you should create an image from small partition (e.g., 4 GB) instead of the whole SD card (e.g., 32 GB).
# For example, an image for Raspbian image should be created by the following procdure:
# (1) Install the official Raspbian image (3.5 GB for Jessie) on an SD card
# (2) Manually expand the partition to a modest size to accommodate your base software (e.g., 4 GB)
# (3) Perform apt-get update and upgrade, install software and configuration that you want.
# (4) Create an image from that (4 GB) partition
#