This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define USE_OCTOWS2811 | |
#include<OctoWS2811.h> | |
#include<FastLED.h> | |
// Led strip lengths, (0 if there is no strip): | |
#define STRIP_1 123 | |
#define STRIP_2 69 | |
#define STRIP_3 123 | |
#define STRIP_4 69 | |
#define STRIP_5 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <string> | |
#include <stdlib.h> | |
// QT include | |
#include <QString> | |
#include <QJsonObject> | |
#include <QJsonValue> | |
#include <QJsonArray> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Fire 2012", | |
"script" : "fire2012.py", | |
"args" : | |
{ | |
"fps" : 60, | |
"cooling" : 55, | |
"sparking" : 120 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Python include | |
#include <Python.h> | |
#include <frameobject.h> | |
// stl includes | |
#include <iostream> | |
#include <sstream> | |
#include <cmath> | |
// Qt includes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Python include | |
#include <Python.h> | |
#include <frameobject.h> | |
// stl includes | |
#include <iostream> | |
#include <sstream> | |
#include <cmath> | |
// Qt includes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from plugin import * | |
import time | |
def onCompStateChanged(comp, state): | |
print(comp, state) | |
def onSettingsChanged(settings): | |
None # or do somthing else with settings | |
log("Register callback functions ...") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
from plugin import * | |
import time | |
import random | |
def onCompStateChangedAllEvents(comp, state): | |
log("onCompStateChangedAllEvents called") | |
def onCompStateChangedSpecificEvents(comp, state): | |
log("specific event " + comp + " called") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.abrenoch.hyperiongrabber.wizard; | |
import android.content.Context; | |
import android.net.nsd.NsdManager; | |
import android.net.nsd.NsdServiceInfo; | |
import android.util.Log; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script for installing Hyperion.NG release on LibreElec | |
# Examples of usage: | |
# Download and install latest Hyperion.NG release: libreelec.sh | |
# Download an specific Hyperion.NG release: libreelec.sh 2.0.0-alpha.6 | |
# Install an specific Hyperion.NG release tar.gz file: libreelec.sh /storage/deploy/Hyperion-2.0.0-alpha.7-Linux-armv7l.tar.gz | |
#Set welcome message | |
echo '*******************************************************************************' | |
echo 'This script will install Hyperion.NG on LibreELEC' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cfg = { | |
"first": { | |
"label": "Habitat", | |
"children": ["water", "air", "ground"] | |
}, | |
"water": { | |
"title": "Animal", | |
"label": "In Water", | |
"children": ["fish", "squid", "crab"] | |
}, |
OlderNewer