Skip to content

Instantly share code, notes, and snippets.

View DavraYoung's full-sized avatar

Davron Sherbaev DavraYoung

View GitHub Profile
@DavraYoung
DavraYoung / claude-code-termux-setup.sh
Created January 19, 2026 15:50
Claude Code Termux Setup - Patches Claude Code to work on Termux (fixes /tmp path issues and ripgrep)
#!/data/data/com.termux/files/usr/bin/bash
# ============================================================
# Claude Code Termux Setup Script
# ============================================================
# This script installs and patches Claude Code to work on Termux.
#
# Termux doesn't allow access to /tmp, so Claude Code fails
# because it hardcodes /tmp paths. This script patches those
# paths to use Termux-compatible directories.
#
@DavraYoung
DavraYoung / http-toolkit-export.js
Created January 12, 2026 21:36
Export all intercepted HTTP exchanges from HTTP Toolkit to JSON
/**
* HTTP Toolkit Export Script
* Exports all intercepted HTTP exchanges to JSON
*
* Usage: Paste this entire script into Chrome DevTools console while HTTP Toolkit is open
*
* Tested with: HTTP Toolkit Desktop (2024-2025 versions)
* GitHub: https://github.com/httptoolkit/httptoolkit-ui
*/
(function() {
@DavraYoung
DavraYoung / guide.md
Created August 15, 2024 22:59
Python Audio processing Guide

Python Audio processing Guide

Introduction

This guide is intended to provide a comprehensive overview of audio processing in Python. It will cover the basics of audio processing, including reading and writing audio files, audio manipulation, and audio analysis.

Reading and Writing Audio Files

I recommend using either pydub AudioSegment or librosa to read and write audio files in Python. Pydub is a simple and easy-to-use library for audio manipulation in Python, while librosa is a more advanced library that provides additional functionality for audio analysis.

from pydub import AudioSegment