Skip to content

Instantly share code, notes, and snippets.

@belovictor
belovictor / Dockerfile
Created October 27, 2023 11:38 — forked from tobiasfriden/Dockerfile
Gstreamer WebRTC python demo working Dockerfile
FROM maxmcd/gstreamer:1.14-buster
WORKDIR /usr/src
RUN apt-get update && apt-get install -y python3-pip \
pkg-config \
libcairo2-dev \
gcc \
python3-dev \
libgirepository1.0-dev \
@belovictor
belovictor / spherical_coords.py
Created February 14, 2023 18:44 — forked from telegraphic/spherical_coords.py
Conversion between (theta, phi) and (azimuth, elevation) coordinate systems
"""
# spherical_coords.py
Convert between (theta, phi) and (azimuth, elevation) coordinate systems.
Author: Danny Price
License: MIT
## Overview
@belovictor
belovictor / gist:76e696c06b7c239447ea
Created January 19, 2015 20:57
cc3200 Energia sketch with WiFi and MQTT
#include <Wire.h>
#include <WiFi.h>
#include <PubSubClient.h>
#include <Adafruit_TMP006.h>
char ssid[] = "<WiFi SSID>";
char pass[] = "<WiFi key>";
int status = WL_IDLE_STATUS;
IPAddress ip;
// MQTTServer to use