Skip to content

Instantly share code, notes, and snippets.

@DJ-Laser
DJ-Laser / CanID.java
Created February 12, 2026 21:26
hood code
package frc.robot.util;
import com.ctre.phoenix6.CANBus;
import com.ctre.phoenix6.hardware.CANcoder;
import com.ctre.phoenix6.hardware.TalonFX;
public class CanID {
private final CANBus bus;
private final int deviceId;
// Copyright (c) Choreo contributors
package frc.robot.autos;
import choreo.auto.AutoChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import org.littletonrobotics.junction.LogTable;
import org.littletonrobotics.junction.Logger;
import org.littletonrobotics.junction.inputs.LoggableInputs;
import org.littletonrobotics.junction.networktables.LoggedNetworkInput;
@DJ-Laser
DJ-Laser / oops_all_greetd.nix
Created September 28, 2025 04:52
Replaces all getty/login instances with greetd+agreety
{
config,
pkgs,
lib,
...
}: let
inherit
(lib)
mkIf
mkOption