Skip to content

Instantly share code, notes, and snippets.

@paulscode
paulscode / picam-stream.sh
Created November 8, 2021 18:39 — forked from russfeld/picam-stream.sh
Stream Raspberry Pi Camera to Twitch
#!/bin/bash
# =================================================================
# Stream configuration file for Raspberry Pi Camera
#
# @author Russell Feldhausen (russfeldh@gmail.com)
# @version 2019-06-05
#
# This set of commands should allow you to stream video from your
# Raspberry Pi Camera to Twitch and Youtube (and possibly other
============================ pytest-warning summary ============================
WC1 /home/paul/nupic/tests/unit/nupic/engine/network_test.py cannot collect test class 'TestNode' because it has a __init__ constructor
WC1 /home/paul/nupic/tests/unit/nupic/frameworks/opf/htmpredictionmodel_classifier_helper_test.py cannot collect test class 'TestOptionParser' because it has a __init__ constructor
WC1 /home/paul/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py cannot collect test class 'TestOptionParser' because it has a __init__ constructor
WC1 /home/paul/nupic/tests/unit/nupic/support/decorators_test.py cannot collect test class 'TestParentException' because it has a __init__ constructor
WC1 /home/paul/nupic/tests/unit/nupic/support/decorators_test.py cannot collect test class 'TestChildException' because it has a __init__ constructor
=== 713 passed, 17 skipped, 8 xfailed, 5 pytest-warnings in 3734.65 seconds ===
@paulscode
paulscode / gist:38e5c7c3fd08bbea48a51903cf9ac9c4
Created September 8, 2018 23:54
nupic tests, Raspbian Stretch, attempt #2
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.7, py-1.6.0, pluggy-0.4.0
rootdir: /home/pi/nupic, inifile:
plugins: xdist-1.16.0, cov-2.5.0
collected 738 items
tests/unit/nupic/serializable_test.py ...
tests/unit/nupic/utils_test.py ......
tests/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py ...ss..
tests/unit/nupic/algorithms/anomaly_likelihood_test.py .....................
@paulscode
paulscode / gist:c8140121be1896df099d6958caa8b7a1
Created September 8, 2018 23:52
nupic.bindings tests, Raspbian Stretch, attempt #2
======================================================================== pytest-warning summary ========================================================================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
WC1 /home/pi/nupic.core/bindings/py/tests/network_test.py cannot collect test class 'TestLinks' because it has a __init__ constructor
@paulscode
paulscode / Dockerfile
Last active September 19, 2018 05:04
Dockerfile to build NuPIC 1.0.5 on Raspberry Pi
FROM armhf/debian:jessie
# To build on Intel processor (much faster!)
# sudo apt install -y qemu qemu-user-static qemu-user binfmt-support
# cp /usr/bin/qemu-arm-static ./
# docker run --rm --privileged multiarch/qemu-user-static:register --reset
# Comment below line if building on the Raspberry Pi itself
COPY ./qemu-arm-static /usr/bin/qemu-arm-static
RUN apt-get update && \
@paulscode
paulscode / gist:7db29d052755812c0ce85391ecf8b249
Created December 9, 2017 00:40
nupic tests, Raspbian Stretch, attempt #1
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.7, py-1.5.2, pluggy-0.4.0
rootdir: /home/pi/nupic, inifile:
plugins: xdist-1.16.0, cov-2.5.0
collected 734 items
tests/unit/nupic/serializable_test.py ..
tests/unit/nupic/utils_test.py ......
tests/unit/nupic/algorithms/anomaly_likelihood_jeff_test.py ...ss..
tests/unit/nupic/algorithms/anomaly_likelihood_test.py .....................
@paulscode
paulscode / gist:4dfb749caa8e04bac5d91b255ce7d1e3
Created December 8, 2017 10:59
nupic.bindings tests, Raspbian Stretch, attempt #1
Setup SWIG Python module
running test
running egg_info
writing requirements to src/nupic.bindings.egg-info/requires.txt
writing src/nupic.bindings.egg-info/PKG-INFO
writing namespace_packages to src/nupic.bindings.egg-info/namespace_packages.txt
writing top-level names to src/nupic.bindings.egg-info/top_level.txt
writing dependency_links to src/nupic.bindings.egg-info/dependency_links.txt
writing entry points to src/nupic.bindings.egg-info/entry_points.txt
@paulscode
paulscode / gist:0a97f5854a28667de080ec13cada670d
Created December 7, 2017 06:03
nupic.bindings tests, Raspbian Stretch, attempt #1
Setup SWIG Python module
running test
running egg_info
writing requirements to src/nupic.bindings.egg-info/requires.txt
writing src/nupic.bindings.egg-info/PKG-INFO
writing namespace_packages to src/nupic.bindings.egg-info/namespace_packages.txt
writing top-level names to src/nupic.bindings.egg-info/top_level.txt
writing dependency_links to src/nupic.bindings.egg-info/dependency_links.txt
writing entry points to src/nupic.bindings.egg-info/entry_points.txt
@paulscode
paulscode / Dockerfile
Created May 20, 2017 00:34 — forked from prateekgogia/Dockerfile
Dockerfile to build 32 bit Docker container, for 32 bit docker daemon dev version 17.04.0-ce
# This file describes the standard way to build Docker, using docker
#
# Usage:
#
# # Assemble the full dev environment. This is slow the first time.
# docker build -t docker .
#
# # Mount your source in an interactive container for quick testing:
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
#