Skip to content

Instantly share code, notes, and snippets.

View znotfireman's full-sized avatar

Fire znotfireman

  • Vietnam
  • 22:38 (UTC +07:00)
View GitHub Profile
@znotfireman
znotfireman / Robot.java
Created October 6, 2025 07:27
Template code for FRC Programming October 6th 2025
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
import edu.wpi.first.util.sendable.SendableRegistry;
import edu.wpi.first.wpilibj.TimedRobot;
@znotfireman
znotfireman / WTF EToH V6.server.luau
Created July 1, 2025 06:17
Attempt to bruteforce EToH's config blacklist
local actor = script:GetActor()
if not actor then
local ServerScriptService = game:GetService("ServerScriptService")
local ConfigBlacklist = ServerScriptService:WaitForChild("Server"):WaitForChild("ConfigBlacklist")
ConfigBlacklist:WaitForChild("Hash")
local workers = {}
for index = 1, 100 do
local actor = Instance.new("Actor")
@znotfireman
znotfireman / holonomic.rs
Created December 1, 2024 16:53
VEX V5 Holonomic X-Drive implemented in Rust
//! Implements a holonomic x-drive drivetrain.
// Yoinked from Höppenheimer, Destroyer of High Stakes
// Original implementation by edjubuh
// http://blog.elliotjb.com/
// https://github.com/edjubuh/HolonomicXDrive-PROS=
use core::f64::consts::PI;
use libm::{atan2, sqrt};