Skip to content

Instantly share code, notes, and snippets.

View micheljansen's full-sized avatar

Michel Jansen micheljansen

View GitHub Profile
@micheljansen
micheljansen / templates.html
Created December 20, 2011 12:26
Example Underscore Templates
<script type="text/template" id="listing_template">
<li class="listing">
<a href="#">
<div class="image_wrapper">
<img src="<%= img_url %>" />
</div>
<h3><%= title %></h3>
<div class="metadata">
<p>
<%= summary %>
#include "helloworldprocessor.h"
#include <QDebug>
#include "HelloWorldProcessor.h"
#include <plvcore/Pin.h>
#include <plvcore/CvMatData.h>
#include <plvcore/CvMatDataPin.h>
#include <opencv/cv.h>
Running build steps for project parlevision-all...
Starting: /usr/bin/make clean -w
make: Entering directory `/Users/dawuss/Projects/parlevision-all-build'
cd src/ && /usr/bin/make -f Makefile clean
make[1]: Entering directory `/Users/dawuss/Projects/parlevision-all-build/src'
cd plvcore/ && /usr/bin/make -f Makefile clean
make[2]: Entering directory `/Users/dawuss/Projects/parlevision-all-build/src/plvcore'
rm -f moc_Pin.cpp moc_PipelineElement.cpp moc_Pipeline.cpp moc_Scheduler.cpp
rm -f Types.o Application.o Pin.o PinConnection.o PipelineElement.o PipelineElementFactory.o PipelineProducer.o RefCounted.o PipelineProcessor.o Pipeline.o PipelineLoader.o Scheduler.o Plugin.o CvMatData.o CvMatDataPin.o Enum.o Util.o moc_Pin.o moc_PipelineElement.o moc_Pipeline.o moc_Scheduler.o
rm -f *~ core *.core
#include <QDebug>
#include "DummyProcessor.h"
#include "Pin.h"
#include "OpenCVImage.h"
#include <opencv/cv.h>
using namespace plv;
#define INPUT_PIN_NAME "input"
#!/bin/sh
# Convenience script for operations on class files
[[ -n "$1" ]] || {
echo "Convenience script for operations on class files";
echo
echo "Usage: $0 [list of classes]";
echo "For Example:"
echo "git add \`$0 MyClass OtherClass sub/YetAnotherClass\`"
exit 0 ;
/* Delayless Analog Read to LED
* ------------------
*
* Snappier version of "Analog Read to LED" example
* found on http://arduino.cc/en/Tutorial/BlinkWithoutDelay
* This implementation does not use delay() so it is quicker
* in picking up changes to the potmeter value.
*
* Turns on and off a light emitting diode(LED) connected to digital
* pin 13. The amount of time the LED will be on and off depends on
portal.acm.org
scopus.com