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
// Dear ImGui: SDL2 + OpenGL + libuv | |
#include "imgui/imgui.h" | |
#include "imgui/backends/imgui_impl_sdl2.h" | |
#include "imgui/backends/imgui_impl_opengl3.h" | |
#include <stdio.h> | |
#include <uv.h> | |
#include <SDL.h> | |
#if defined(IMGUI_IMPL_OPENGL_ES2) | |
#include <SDL_opengles2.h> |
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
# author: A.J. Loonstra <arnaud@sphaero.org> | |
# Test to decode rokoko UDP data | |
# | |
import struct | |
import socket | |
from collections import namedtuple | |
import liblo | |
import time | |
UDP_IP = "0.0.0.0" |
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
# PiCam h264 RTP Sender controllable by ZOCP | |
# Copyright (C) 2015 Arnaud Loonstra | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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 | |
# | |
# Seamless loop test | |
# Copyright (c) 2015 Arnaud Loonstra <arnaud@sphaero.org> | |
# | |
# This is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
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 python | |
# | |
# For the sake of humanity here's a python script retrieving | |
# ip information of the network interfaces. | |
# | |
# Pay some tribute to my soul cause I lost a few years on this one | |
# | |
# based on code from jaraco and many other attempts | |
# on internet. | |
# Fixed by <@gpotter2> from scapy's implementation to |
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
#!/bin/bash --debugger | |
set -e | |
BRANCH="master" | |
if grep -q BCM2708 /proc/cpuinfo; then | |
echo "RPI BUILD!" | |
RPI="1" | |
fi | |
[ -n "$1" ] && BRANCH=$1 |
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
/* | |
ESPTest for ZMTP + ZRE + ZOCP | |
Original author: Ronald Hof <ronald@k-n-p.org> | |
license: MPLv2 | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <string.h> |
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/python3 | |
from time import sleep | |
from picamera import PiCamera | |
camera = PiCamera() | |
camera.resolution = (1920, 1080) | |
#camera.start_preview() | |
# Camera warm-up time | |
sleep(5) | |
count = 0 |
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
#include <stdio.h> | |
#include <wchar.h> | |
#include <locale.h> | |
wchar_t tl=0x250f; | |
wchar_t tr=0x2513; | |
wchar_t bl=0x2517; | |
wchar_t br=0x251b; | |
wchar_t vs=0x2503; | |
//wchar_t hs[23]={0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x2501,0x0}; |
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
#include "Nodes.h" | |
namespace ImGui | |
{ | |
template<int n> | |
struct BezierWeights | |
{ | |
constexpr BezierWeights() : x_(), y_(), z_(), w_() | |
{ | |
for (int i = 1; i <= n; ++i) |
NewerOlder