Skip to content

Instantly share code, notes, and snippets.

View elhigu's full-sized avatar

Mikael Lepistö elhigu

  • Freelancing
  • Tampere
View GitHub Profile
@elhigu
elhigu / connect_rpi.sh
Created November 12, 2016 14:53
Record Raspberry PI camera module stream and vector data directly with remote computer (a.k.a I <3 Netcat! a.k.a. Netcat te amo!)
nc yourrpi-address.duckdns.org 3000 > video.h264 &
nc yourrpi-address.duckdns.org 3001 > vectors.out &
@elhigu
elhigu / FindOpenCL.cmake
Created March 31, 2014 12:48
Cygwin friendly FindOpenCL?
# - Try to find OpenCL
# This module tries to find an OpenCL implementation on your system. It supports
# AMD / ATI, Apple and NVIDIA implementations, but should work, too.
#
# To set manually the paths, define these environment variables:
# OpenCL_INCPATH - Include path (e.g. OpenCL_INCPATH=/opt/cuda/4.0/cuda/include)
# OpenCL_LIBPATH - Library path (e.h. OpenCL_LIBPATH=/usr/lib64/nvidia)
#
# Once done this will define
# OPENCL_FOUND - system has OpenCL