Skip to content

Instantly share code, notes, and snippets.

View jared-cone's full-sized avatar

Jared Cone jared-cone

View GitHub Profile
@hyun007
hyun007 / span.io-api-documentation.md
Last active May 21, 2024 03:30
span.io api documentation

Span.io API Documentation

The Span API does not at this time require any authentication. This will probably change in the future.

Description: Gets panel summary, firmware version, door state, serial number, network status Request: GET /api/v1/status Response:

{
  "software": {
    "firmwareVersion": "spanos2/r202216/04",
@yasirkula
yasirkula / EmptyParentCreator.cs
Last active February 13, 2024 05:55
Group the selected objects under a new parent object in Hierarchy (Unity 3D)
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public static class EmptyParentCreator
{
[MenuItem( "GameObject/Create Empty Parent", priority = 0 )]
private static void CreateEmptyParent( MenuCommand command )
{
// This happens when this button is clicked via hierarchy's right click context menu