Skip to content

Instantly share code, notes, and snippets.

View ahundt's full-sized avatar

Andrew Hundt ahundt

View GitHub Profile
@ahundt
ahundt / README.md
Last active March 17, 2026 20:59
Fix: DISABLE_TELEMETRY blocks 1M context and /remote-control in Claude Code v2.1.76

Fix: DISABLE_TELEMETRY Blocks 1M Context and /remote-control in Claude Code

Binary patch for Claude Code that fixes the bug where setting DISABLE_TELEMETRY=1 silently disables ALL feature gates — blocking 1M context, /remote-control, and every other gated feature — not just telemetry. Tested on v2.1.76 and v2.1.77, Max 20x, macOS. Works on macOS, Linux, and Windows.

For a simpler workaround that only fixes 1M context (no patching required), see Simple Workaround below.

import os
import h5py
import io
import matplotlib.pyplot as plt
import numpy as np
from PIL import Image
def JpegToNumpy(jpeg):
stream = io.BytesIO(jpeg)
@ahundt
ahundt / # glog - 2017-08-01_03-28-15.txt
Last active August 1, 2017 10:45
glog on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for glog on macOS 10.11.6
Build date: 2017-08-01 03:28:15
@ahundt
ahundt / # sdformat5 - 2017-06-05_20-38-01.txt
Created June 6, 2017 00:39
sdformat5 (osrf/simulation/sdformat5) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for osrf/simulation/sdformat5 on macOS 10.11.6
Build date: 2017-06-05 20:38:01
@ahundt
ahundt / # bullet - 2017-05-08_23-34-01.txt
Last active May 9, 2017 03:54
bullet on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for bullet on macOS 10.11.6
Build date: 2017-05-08 23:34:01
@ahundt
ahundt / atrous_test.py
Created March 13, 2017 06:34
tf tensorflow atrous convolution aka dilated convolution test
import tensorflow as tf
import numpy as np
dim = 256
kernel_dim = 3
dilation_rate = np.array([2, 2])
input_img_np = np.random.random((1, dim, dim, 1)).astype(np.float32)
kernel = np.random.random((kernel_dim,kernel_dim,1,1)).astype(np.float32)
with tf.Session() as sess:
@ahundt
ahundt / CMakeLists.txt
Last active January 11, 2017 00:18
boost log error
cmake_minimum_required (VERSION 3.5)
project (HELLO)
find_package(Boost COMPONENTS log_setup log)
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
add_executable(main main.cpp)
target_link_libraries(main ${Boost_LOG_SETUP_LIBRARY} ${Boost_LOG_LIBRARY})
@ahundt
ahundt / X_t.txt
Last active November 7, 2016 04:41
grl Tasks V-REP plugin debug data for https://github.com/jrl-umi3218/Tasks/issues/10
Xt_ std::__1::vector<sva::PTransform<double>, std::__1::allocator<sva::PTransform<double> > > size=10
[0] sva::PTransform<double>
E_ sva::PTransform<double>::matrix3_t
Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> > Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> >
m_storage Eigen::DenseStorage<double, 9, 3, 3, 0>
m_data Eigen::internal::plain_array<double, 9, 0, 0>
array double [9]
[0] double -0.99999999931219463 -0.99999999931219463
[1] double -0.000026226043692152668 -0.000026226043692152668
[2] double 0 0
@ahundt
ahundt / # cmake-basis - 2016-10-26_01-55-15.txt
Created October 26, 2016 05:56
cmake-basis (ahundt/robotics/cmake-basis) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for ahundt/robotics/cmake-basis on macOS 10.11.6
Build date: 2016-10-26 01:55:15
@ahundt
ahundt / # tasks - 2016-05-19_17-14-36.txt
Created October 25, 2016 22:02
tasks (ahundt/robotics/tasks) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for ahundt/robotics/tasks on macOS 10.11.6
Build date: 2016-05-19 17:14:36