Skip to content

Instantly share code, notes, and snippets.

View stemcc's full-sized avatar

stemcc

  • Los Angeles
  • 00:53 (UTC -07:00)
View GitHub Profile
@stemcc
stemcc / SPEC
Created May 25, 2022 18:59
GST-INTERPIPE
Name: gst-interpipe
Version: 1.1.8
Release: 1%{?dist}
Summary: GStreamer plug-in for interpipeline communication
License: LGPL2.1
URL: https://github.com/RidgeRun/gst-interpipe
Source0: https://github.com/RidgeRun/gst-interpipe/archive/refs/tags/v1.1.8.tar.gz
BuildRequires: git
@stemcc
stemcc / app.js
Created November 2, 2016 16:24
Vuejs -- working with server data
//app.js
function mountComponents() {
const components = document.querySelectorAll('[data-behaviour="component"]')
for (let i = 0; i < components.length; i++) {
const node = components[i]
const props = JSON.parse(node.getAttribute('data-props'));
const $Vue = new Vue({
el: node,
data: props,