Skip to content

Instantly share code, notes, and snippets.

View niradler's full-sized avatar
🎮

Nir Adler niradler

🎮
View GitHub Profile
@niradler
niradler / esp32-xiaozhi-board.md
Created May 16, 2026 00:32
Xiaozhi Ai Robot Deepseek Conversational Voice Dialogue PCBA Development Intelligent Electronic Toy For Fun And Learning

Generic AliExpress ESP32-S3 1.83-inch 2-Mic Board Spec

Hardware reference for a generic AliExpress ESP32-S3 board sold with a 1.83-inch LCD, two microphones, speaker output, three buttons, and one RGB LED. The board is commonly identified in firmware examples as xingzhi-cube 1.83 2mic.

Use this as the firmware integration baseline, but verify every pin against the exact board revision before ordering PCBs or making irreversible hardware assumptions.

Board Summary

Item Spec
@niradler
niradler / ESP32Marauder_guide.md
Created December 15, 2025 22:17
ESP32 Marauder Pocket Guide

ESP32 Marauder Pocket Guide

TTGO T-Display - Complete Command Reference

Serial Setup: 115200 baud | Press Enter for prompt
No SD Card Required for most functions


📡 WiFi Commands

@niradler
niradler / aliexpress_order_scraper.js
Created December 9, 2025 21:56
AliExpress Order Scraper
// AliExpress Order Scraper - Browser Console Script
// Paste this into the browser console on https://www.aliexpress.com/p/order/index.html
async function scrapeAliExpressOrders() {
const orders = [];
let loadMoreAttempts = 0;
const maxAttempts = 100; // Safety limit
console.log('Starting AliExpress order scraping...');
@niradler
niradler / claude.json
Last active August 21, 2025 23:48
portable-mcp-settings
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "C:/Projects"]
},
"puppeteer": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-puppeteer"]
},
#!/bin/bash
cd /usr/app
# Function to monitor resource usage
monitor_resources() {
local pid=$1
local log_file=$2
echo "Monitoring PID: $pid"
while kill -0 $pid 2>/dev/null; do
import os
import shutil
import tkinter as tk
from tkinter import messagebox, filedialog
from PIL import Image, ImageTk
class ImageTagger:
def __init__(self, root):
self.root = root
#!/bin/bash
# Variables
REGION="" # e.g., us-east-1
SECRET_NAME="" # Replace with your secret name
USE_IAM_AUTH=false # Set to true if you want to use IAM auth
# Function to fetch secret from AWS Secrets Manager
fetch_secret() {
echo "Fetching secret from AWS Secrets Manager..."
@niradler
niradler / README.md
Created April 24, 2024 23:30 — forked from dominikwilkowski/README.md
ANSI codes for cli controled output

ANSI escape codes

ANSI escape codes can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.

A great article about it can be found here.

Content

@niradler
niradler / passthrough-proxy-headers-test.mjs
Last active April 16, 2024 11:44
how to validate axios is compatible with my proxy
import { HttpsProxyAgent } from "https-proxy-agent";
import * as https from "https";
const { CAS_HTTPS_PROXY } = process.env;
const agent = new HttpsProxyAgent(CAS_HTTPS_PROXY);
const headers = {
"User-Agent": "axios/1.6.8",
"Accept-Encoding": "gzip, compress, deflate, br",