Skip to content

Instantly share code, notes, and snippets.

View provencher's full-sized avatar
🏠
Working from home

Eric prvncher provencher

🏠
Working from home
View GitHub Profile
@provencher
provencher / gist:5f76fe0472fbe8be01ff40f8337dd626
Last active January 29, 2026 09:55
Sentry Issue triage + RP-CLI planning
#!/usr/bin/env python3
"""
Sentry Triage Script - Template
================================
A script for triaging Sentry issues and optionally generating fix plans
using AI-assisted code analysis.
Usage: ./sentry-triage-template.py [version...] [--output-dir DIR] [--plan] [--plan-only]
@provencher
provencher / HandDataProcessor
Created May 22, 2020 16:57
Hand data processing to determine finger curls
public class HandDataProcessor : MonoBehaviour
{
private const float cThumbLength = 0.05f;
private const float cIndexLength = 0.08f;
private const float cMiddleLength = 0.09f;
[Header("Left Hand")]
[SerializeField]
private BoolReader _isLeftHandTracked = null;
@provencher
provencher / Test.cs
Created November 30, 2018 21:52 — forked from OswaldHurlem/Test.cs
// This doesn't seem to work properly
//#define USE_UNITY_PIN_FUNCTION
using System;
using System.Runtime.InteropServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine;
using UnityEngine.Assertions;
// Trick for creating a temporary NativeArray which points to the contents of a managed array.
@provencher
provencher / Test.JAVA
Created April 28, 2014 01:03
IO Stuff
import java.util.*;
import java.io.*;
public class Test {
public static void main (String[] args){
ArrayList<String> storage = new ArrayList<>();
int counter = 0;
public class ExampleCasting {
public static void main (String[] args) {
Animal a1 = new Dog();
Dog d1 = new Dog();
a1 = d1;
// Dog d2 = new Animal(); // compiler: incompatible types
// Dog d2 = (Dog) new Animal(); // runtime: ClassCastException
public class BinaryTree {
Node root;
public void addNode(int key, String name) {
// Create a new Node and initialize it
Node newNode = new Node(key, name);