Skip to content

Instantly share code, notes, and snippets.

# Project created by QtCreator 2017-05-31T16:27:44
QT += core gui concurrent
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
Samfox2 /
Created May 2, 2019 — forked from tetkuz/
GStreamer stream to HTML5


[Server] GStreamer ---> HTML [Client]


  • gstreamer-1.x
  • Browser which supports video tag of HTML5


Samfox2 /
Created Apr 25, 2019 — forked from Brainiarc7/
This bash script will compile a static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#install required things from apt
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
Samfox2 /
Created Mar 20, 2019 — forked from jkjung-avt/
Capture and display video from either IP CAM, USB webcam, or the Tegra X2/X1 onboard camera.
# --------------------------------------------------------
# Camera sample code for Tegra X2/X1
# This program could capture and display video from
# IP CAM, USB webcam, or the Tegra onboard camera.
# Refer to the following blog post for how to set up
# and run the code:
# Written by JK Jung <>
View laundry-spy.ino
// (see the blog post at
// ==============
// The baud rate of serial output for logging. If necessary, change the baud
// rate in your Serial Monitor to match this.
#define BAUD_RATE 115200
// The name by which this device will identify itself over mDNS (Bonjour).
View gist:712eb2a012d36d0a43e83968043addf9
//"use strict";
var Accessory, Service, Characteristic, UUIDGen;
var JSONRequest = require("jsonrequest");
var inherits = require('util').inherits;
var path = require('path');
var fs = require('fs');
var moment = require('moment');
let localCache;
let localPath;
let _homebridge;