Skip to content

Instantly share code, notes, and snippets.

//
// ContentView.swift
// playing2
//
// Created by Scott O'Brien on 12/29/22.
//
import SwiftUI
import RealityKit
import ARKit
import cv2
import cv2.aruco as aruco
import numpy as np
from enum import Enum
from math import cos, sin
import pandas as pd
# define a video capture object (continuinity camera)
# Swap it out in the instance of it picking the internal MacBook camera
# (why it's not constant I don't know)
// All dimensions are in mm
width = 1.5;
cubeWidth = 20;
outerWidth = cubeWidth + width;
height = 5;
difference() {
cube([outerWidth, outerWidth, height], center = true);
cube([cubeWidth, cubeWidth, 20], center = true);
[scott@node02 cogg]$ cat map.tin
#VAR {previousRoom} {""};
#VAR {currentRoom} {""};
#NOP ---
#NOP - Either creates or go-to's the room ID seenEither creates or go-to's the room ID seenEither creates or go-to's the room ID seenEither creates or go-to's the room ID seen
#NOP --
#action {::ROOM-ID-%1::} {
#VAR {previousRoom} {$currentRoom};
#VAR {currentRoom} {%1};
@scottyob
scottyob / Apple-Wireless-Keyboard.kbd.json
Created March 22, 2021 05:05
Apple Wireless Keyboard
[
{
"backcolor": "#dbdbdb",
"name": "Apple Wireless Keyboard",
"author": "Alistair Calder",
"radii": "6px 6px 12px 12px / 18px 18px 12px 12px"
},
[
{
"y": 0.75,
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK;
public class VRTK_RadialPoint : MonoBehaviour {
public VRTK_DestinationMarker pointer;
public VRTK_RadialMenuController radialController;
public const int angle_offset = 90;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VRTK_CursorMouse : VRTK.VRTK_StraightPointerRenderer {
public Camera camera;
public Transform hand;
protected override Transform GetOrigin(bool smoothed = true) {
+-----------+
| |
| |
| R1 |
| |
| |
+-----+-----+
|
|
|
"""
Prints out a list of overlapping/duplicate IP addresses
"""
import os
import sys
import cPickle as pickle
import heapq
import pprint
from SubnetTree import SubnetTree