Skip to content

Instantly share code, notes, and snippets.

View bweis's full-sized avatar
💭
Eating a burrito

Ben Weis bweis

💭
Eating a burrito
View GitHub Profile
@bweis
bweis / Cargo.toml
Created November 11, 2023 19:17
Generating ts types from rust
[package]
name = "typegen"
version = "0.1.0"
edition = "2021"
[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
# -- App Libs
lib-base = { path = "../../libs/lib-base" }
lib-core = { path = "../../libs/lib-core" }
'use strict'
const autocannon = require('autocannon');
let jsf = require('json-schema-faker');
let schema = {
type: 'object',
properties: {
id: -1,
Info: {
package org.firstinspires.ftc.teamcode.devices;
import android.util.Log;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.I2cAddr;
import com.qualcomm.robotcore.hardware.I2cDevice;
import com.qualcomm.robotcore.hardware.I2cDeviceSynch;