Skip to content

Instantly share code, notes, and snippets.

/*
* Masthead.css: (version 1.2)
* @[email protected]'s Mastodon boost
*
* I wrote this in a way you can hopefully remove parts you don't want, and/or
* know what everything does.
*
* I use Arc Browser (when I'm on macOS, anyways), so to add/update this just
* click + -> New Boost -> Style -> [Your mastodon instance URL]
*

Privacy Policy

Last updated: January 26, 2022

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.

We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy. This Privacy Policy has been created with the help of the Privacy Policy Template.

Interpretation and Definitions

Reverse Engineering SP110e LED Controller

Through Bluetooth sniffing, using this method I've been able to (semi reliably) control the SP110e controller via Homebridge.

You can find this controller for very cheap here: https://www.aliexpress.com/item/4000773623427.html?spm=a2g0o.productlist.0.0.4f09329cJ7C1H4&algo_pvid=542e757b-587f-4540-8652-2195883f1349&algo_expid=542e757b-587f-4540-8652-2195883f1349-0&btsid=0bb0622a16012309671478585ed4bd&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

This entire guide is for Bluetooth LE libraries, and uses hexidecimal.

LE configuration

// @flow
import * as React from "react";
type Breakpoint = {
type: "Breakpoint",
x: number,
y: number
};
(* Written in Turbo Pascal on an old MS-DOS computer at my family home. *)
(* Will this work in DOSBox? *)
program game;
uses Crt, Dos;
type
Coord = ARRAY[1..2] of Integer;
Player = Object
Number, Percent : Integer;
Pos : Coord;

WARNING: Specifications are subject to change.

GCP - General Chat Protocol

About

IRC, in it's current incarnation, is a very powerful communication tool. It's used from small online communities, to powering team collaboration and communication at a large scale like at Facebook.

But, IRC as a platform has not really grown in a suitable way to meet the needs of it's users. To provide services, user authentication, etc, IRC resorts to services to provide this. User authentication is not part of the protocol itself. Services are a hack on the IRCd, at best. Not even the connection between the IRCd and the services, or the functionality of the services, is standardized. Often times, setting up services with an IRCd is a long and painful process.