This file contains 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
import gefry3 # My model code | |
import pymc | |
import numpy as np | |
import seaborn as sb | |
from scipy.stats import multivariate_normal | |
# P is an object that encompasses the geometry and problem, can be | |
# called to compute detector response |
This file contains 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
#!/usr/bin/env python3 | |
import paho.mqtt.client as mqtt | |
from influxdb import InfluxDBClient | |
from math import isnan | |
MQTT_ADDR = 'raspi' | |
TOPIC = "/sensors/#" | |
DB_SRV = { | |
"host": "###", |
This file contains 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
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Text.Parsec | |
import Text.Parsec.String | |
import Text.Parsec.Char | |
import Control.Monad | |
import Data.List | |
import Data.Either |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#!/usr/bin/env python3 | |
import paho.mqtt.client as mqtt | |
from influxdb import InfluxDBClient | |
TOPIC = "/sensors/#" | |
DB_SRV = { | |
"host": "#.#.#.#", | |
"username": "#", | |
"password": "#", |
This file contains 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
{-# LANGUAGE DeriveDataTypeable #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE ExistentialQuantification #-} | |
import Data.Generics | |
import Data.List | |
class Shape a where | |
name :: a -> String | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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": "Adafruit NeoPixel", | |
"keywords": "neopixel, adafruit, ws2812, rgb led", | |
"description": "Adafruit library for controlling ws2812 RGB LEDs", | |
"repository": | |
{ | |
"type": "git", | |
"url": "https://github.com/adafruit/Adafruit_NeoPixel.git" | |
}, | |
"frameworks": "arduino", |
This file contains 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:fdbedaf62f5a23c8be84f75bd5664070880dd1796fd54e0d6dd7b8a7be357099" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:0b269c2597f8b6955f508e0f2faa72bcf9ea11b4801e967f18cb1bb8f9695295" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |