Skip to content

Instantly share code, notes, and snippets.

diff -Naur MIToolbox.orig/CMakeLists.txt MIToolbox/CMakeLists.txt
--- MIToolbox.orig/CMakeLists.txt 1969-12-31 16:00:00.000000000 -0800
+++ MIToolbox/CMakeLists.txt 2017-03-31 10:59:40.000000000 -0700
@@ -0,0 +1,23 @@
+project(MIToolbox)
+
+cmake_minimum_required(VERSION 2.8.0)
+
+if(NOT EXISTS MIToolbox)
+ exec_program(unzip ARGS "MIToolbox.zip")
diff -Naur Bayes++.orig/CMakeLists.txt Bayes++/CMakeLists.txt
--- Bayes++.orig/CMakeLists.txt 1969-12-31 16:00:00.000000000 -0800
+++ Bayes++/CMakeLists.txt 2017-03-30 11:28:27.000000000 -0700
@@ -0,0 +1,22 @@
+project(Bayes++)
+
+cmake_minimum_required(VERSION 2.8.0)
+
+find_package(BOOST REQUIRED)
+include_directories(${Boost_INCLUDE_DIRS})
@iabaldwin
iabaldwin / ffserver.conf
Created October 19, 2011 17:43
ffserver configuration file, take 3
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 1000
# max bandwidth per-client (kb/s)
MaxBandwidth 100000
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon
@iabaldwin
iabaldwin / ffserver.conf
Created October 19, 2011 16:55
ffserver configuration file, take 2
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 1000
# max bandwidth per-client (kb/s)
MaxBandwidth 100000
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon
@iabaldwin
iabaldwin / ffserver.conf
Created October 19, 2011 16:23
ffserver configuration file
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 1000
# max bandwidth per-client (kb/s)
MaxBandwidth 100000
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon
@iabaldwin
iabaldwin / ffserver.conf
Created October 19, 2011 15:53
ffserver configuration file
Port 8090
# bind to all IPs aliased or not
BindAddress 0.0.0.0
# max number of simultaneous clients
MaxClients 1000
# max bandwidth per-client (kb/s)
MaxBandwidth 100000
# Suppress that if you want to launch ffserver as a daemon.
NoDaemon
@iabaldwin
iabaldwin / Info.plist
Created October 11, 2011 15:25
libusb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOUSBFamily</key> <string>1.8</string>
<key>com.apple.kernel.libkern</key> <string>6.0</string>
</dict>
@iabaldwin
iabaldwin / img_streaming_1.sh
Created October 10, 2011 14:08
Image streaming, part 1
mkfifo image_pipe
@iabaldwin
iabaldwin / pydc_camera_driver.py
Created October 10, 2011 13:58
pyDC camera driver
import Image
from pydc1394 import DC1394Library, Camera
class camera:
def __init__(self):
self._lib = DC1394Library()
self._handle = None
def Read(self):