Skip to content

Instantly share code, notes, and snippets.

View HereIsJade's full-sized avatar

Jade HereIsJade

  • New York
View GitHub Profile
@lmccart
lmccart / gist:2273a047874939ad8ad1
Last active February 18, 2024 21:57
p5.js + p5.dom.js + clmtracker.js
<html>
<head>
<script src="clmtrackr.js"></script>
<script src="model_pca_20_svm.js"></script>
<script src="p5.js"></script>
<script src="p5.dom.js"></script>
<script>
var ctracker;
@bellbind
bellbind / server.js
Created September 27, 2013 06:29
[nodejs][linux][ffmpeg][chrome][html5]live streaming example on linux
var http = require("http");
var cp = require("child_process");
// live streaming example on linux (for chrome, not for firefox)
// for ubuntu, required libavcodec-extra-53 instead of libavcode53
// for ffmpeg command
// see: http://granular.cs.umu.se/browserphysics/?p=2287
var server = http.createServer(function (req, res) {
console.log(req.url);