Overview:
- Redis supports PUB/SUB
- It supports pattern matching. Clients may subscribe to glob-style patterns in order to receive all the messages sent to channel names matching a given pattern.
Assuming Fedora 23.
# Sets up | |
FROM ubuntu:precise | |
# Install Subversion 1.8 and Apache | |
RUN apt-get install -y wget | |
RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ precise universe' >> /etc/apt/sources.list | |
RUN sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/WANdisco.list' | |
RUN wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | apt-key add - | |
RUN apt-get update -y |
/* | |
Author: Gary Clayburg | |
This file allows IntelliJ IDEA to perform basic syntax checking and code completion for | |
Jenkins workflow groovy scripts. https://github.com/jenkinsci/workflow-plugin | |
These methods are supported | |
sh | |
readFile | |
node | |
echo |
Overview:
Assuming Fedora 23.
from scipy import misc | |
import numpy as np | |
import random | |
from pylab import * | |
import matplotlib.pyplot as plt | |
import matplotlib.image as mpimg | |
import matplotlib.pyplot as plt | |
im = misc.imread('lena512.bmp') | |
im = np.asarray(im) |
One option for compiling Redhawk for the Raspberry Pi is using QEMU on a host to compile it into the image before loading on the rpi hardware - this takes advantage of the superior hardware on your host to decrease compile time. These instructions verified for host system Ubuntu 16.04, Raspberry Pi image Raspbian Stretch 2017-09-07, and Redhawk 2.0.7.
It is important to note that Redhawk is only officially supported on CentOS 6 and 7 and therefore any time you try to compile it for other OS's it's possible (likely on systems like Ubuntu/Debian) that you'll have issues with newer versions of dependencies, the most likely offenders in the past have been:
Library | CentOS 6.9 | CentOS 7.4 | Ubuntu 16.04 | Debian 9.2 | Raspbian Stretch | Fedora 28 |
---|---|---|---|---|---|---|
gcc | 4.4.7 | 4.8.5 | 5.4.0 | 6.3.0 | 6.3.0 | 8.1.1 |
libstdc++ | 4.4.7 | 4.8.5 | 5.4.0 | 6.3.0 | 6.3.0 | 8.1.1 |
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
import zmq | |
def main(): | |
context = zmq.Context() |
#!/usr/bin/env python2.7 | |
# Converts uCsim dumps to ihx format https://en.wikipedia.org/wiki/Intel_HEX | |
# 'dch 0xXX 0xXX 16' dumps ROM to multiple rows formated like {adress} {byte 1} ... {byte 16} {ASCI_representation} | |
import argparse | |
import sys | |
NUMBER_OF_BYTES = 16 | |
def parse_arguments(): |
import telnetlib | |
import time | |
def read_header(tn): | |
tn.read_until("\n", 1) | |
def twos_complement(input_value): | |
return (~input_value +1) & 0xFF | |
def mbascii_request(payload): |
Note: This tutorial is written for Linux based systems.
To install the latest version of R please flollow the download and install instructions at https://cloud.r-project.org/
Neovim (nvim) is the continuation and extension of Vim editor with the aim to keep the good parts of Vim and add more features. In this tutorial I will be using Neovim (nvim), however, most of the steps are equally applicable to Vim also. Please follow download and installation instructions on nvim's GitHub wiki https://github.com/neovim/neovim/wiki/Installing-Neovim.
\ ADC single scan mode 1 channel at a time | |
\res MCU: STM8L051 | |
\res export CLK_PCKENR2 ADC1_CR1 ADC1_CR2 ADC1_CR3 | |
\res export RI_ASCR1 RI_IOSR2 | |
\res export ADC1_SQR1 ADC1_SQR2 ADC1_SQR3 ADC1_SQR4 | |
\res export ADC1_DRH ADC1_DRL | |
\res export ADC1_SR | |
#require ]B! |