Skip to content

Instantly share code, notes, and snippets.

View UiharuKazari2008's full-sized avatar
🏳️‍🌈

Yukimi Kazari UiharuKazari2008

🏳️‍🌈
View GitHub Profile
@inonote
inonote / umiguri_led_controller_protocol.md
Last active March 9, 2024 06:57
UMIGURI LED Controller Protocol

UMIGURI LED Controller Protocol v1

Overview

This is a protocol to control a LED without dependence on a specific controller. UMIGURI uses it through WebSocket.

Terms in This Document

@demonixis
demonixis / toggleFullscreen.js
Created March 18, 2013 16:07
A simple function to toggle fullscreen in JavaScript. It work well on Firefox and Webkit browsers.
/**
* Toggle fullscreen function who work with webkit and firefox.
* @function toggleFullscreen
* @param {Object} event
*/
function toggleFullscreen(event) {
var element = document.body;
if (event instanceof HTMLElement) {
element = event;