Skip to content

Instantly share code, notes, and snippets.

View lefuturiste's full-sized avatar
📜
A lot of things going on at the same time!

Le_Futuriste lefuturiste

📜
A lot of things going on at the same time!
View GitHub Profile
var express = require('express');
var app = express()
var server = require('http').Server(app);
var io = require('socket.io')(server);
app.use(express.json())
server.listen(8080, '0.0.0.0');
app.get('/', function (req, res) {
from gpiozero import DigitalInputDevice
from math import pi
from threading import Thread
class FreeWheel:
phaseA = None
phaseB = None
ticks = 0
diameter = 0
perimeter = 0
# CONFIG RETROBOX
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1
dtparam=spi=on
dtoverlay=waveshare32b
from gpiozero import DigitalInputDevice
from threading import Thread
from time import sleep
from math import *
from adafruit_crickit import crickit
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v2="http://v2.pointretrait.geopost.com/">
<soapenv:Header/>
<soapenv:Body>
<v2:findRDVPointRetraitAcheminement>
<!--Optional:-->
<accountNumber>MY_LOGIN</accountNumber>
<!--Optional:-->
<password>MY_PASSWORD</password>
<!--Optional:-->
- pages
|_ devices
|_ _slug.vue
|_ modele
|_ _slug.vue
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
set $mod Mod4
set $term terminator
set $menu "rofi -show drun"
@lefuturiste
lefuturiste / aruco_test.py
Created October 13, 2019 16:01
aruco_test
import numpy as np
import cv2
import cv2.aruco as aruco
import os
from picamera.array import PiRGBArray
from picamera import PiCamera
import time
camera = PiCamera()
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
}
#canvas {
height: 100vh;
}