Skip to content

Instantly share code, notes, and snippets.

View gtxaspec's full-sized avatar
😾
Support public media!

gtxaspec

😾
Support public media!
View GitHub Profile
@crossan007
crossan007 / gist:733ff15f60c61d5d4412d08d06f43965
Created August 20, 2026 13:21
Thingino 802.11AC USB Adapter Driver Script
#!/bin/sh
LOGTAG="8821_run.sh"
# Global variables
RTL_IFACE=""
WORK_DIR=""
# ---------------------------------------------------------------------------
# Supported USB WiFi adapters
@andreagrandi
andreagrandi / statusline-enterprise-script.sh
Last active August 8, 2026 03:49
Claude Code Status Line Script: displays project info and cost information from ccusage
#!/bin/bash
# Claude Code Status Line Script
# Displays project info, context usage, session cost, and environment details.
#
# Session cost/credits usage is read from cost.total_cost_usd (the client-side
# estimated spend for the current session). The 5h/7d rate-limit usage is
# intentionally omitted: this is an enterprise account, where those fields are
# not populated. Monthly/total spend is not available locally -- the Console
# dashboard is the authoritative source for that figure.
@kabakaev
kabakaev / esphome_ble_esp32c6.yaml
Last active August 22, 2026 07:00
ESPHome BLE proxy on ESP32-C6 board
# # This is an esphome configuration file.
# # It is tested on debian-12 and [nanoESP32-C6](https://github.com/wuxx/nanoESP32-C6/blob/master/README_en.md).
# # This configuration should work on any Linux distribution and any ESP32-C6 board though.
#
# # Create and activate python venv, install esphome:
# test -d ./venv || python3 -m venv venv
# source ./venv/bin/activate
# pip install esphome --upgrade
#
# # Connect ESP32-C6 to USB, press and hold "Boot" button, press and release "Reset", release "Boot".
@subrezon
subrezon / openwrt-on-proxmox.md
Last active September 27, 2025 22:44
How to set up an OpenWRT VM in Proxmox
  1. Go to OpenWRT release page, select the latest release stable release, then targets -> x86 -> 64. Right-click generic-ext4-combined.img.gz (not the "efi"!) and copy the link.

  2. On the Proxmox host, download the archive and unpack it:

wget *paste link here*
gunzip openwrt-*.img.gz
  1. Resize the image to be the size you want your VM's disk to be (example with 8 GiB):
@MatthiasLohr
MatthiasLohr / README.md
Last active September 4, 2024 21:19
Beelink GTR5 + Proxmox + Windows Guest VM

Beelink GTR5 + Proxmox VE + Windows Guest using the Vega8 Graphics Card

Prerequisites

Hardware

  • Current BIOS version: 5.19
  • 1TB Kingston NVMe SSD (shipped with the device, used for system)
  • 1TB Samsung 860 EVO 2.5" SATA SSD (bought additionally, for Windows 10)
  • Installation images for Proxmox VE, Windows 10 (e.g. using Ventoy)
U-Boot SPL 2013.07 (Mar 03 2021 - 16:12:04)
Timer init
CLK stop
PLL init
pll_init:366
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
nf=116 nr = 1 od0 = 1 od1 = 2
cppcr is 07405100
CPM_CPAPCR 0740510d
nf=100 nr = 1 od0 = 1 od1 = 2
@FreddieOliveira
FreddieOliveira / docker.md
Last active September 7, 2026 14:58
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@amitkhare
amitkhare / Nginx RTMP module on Ubuntu 18.04.md
Last active December 2, 2024 06:01
Nginx RTMP module on Ubuntu 18.04 with RTMPS support for Facebook live streaming Hardware and Software live-streaming encoders have typically used the RTMP streaming protocol. With the Facebook enforcement of the RTMPS encrypted live-stream some older hardware and software encoders can no longer work. By using the method below we can convert RTM…

update

sudo apt-get update
sudo apt-get upgrade

install nginx

sudo apt-get install nginx -y
sudo apt-get install libnginx-mod-rtmp -y
@bz31
bz31 / gist:c1d1f2941eb5f6b0eeac8ef7ec78a281
Last active February 24, 2024 03:46 — forked from hacksalot/gist:72517b9b1c145116e89e
Delete GitHub wiki revisions
# Delete prior revisions from a GitHub wiki so that only the most-recent
# version of the content is available.
# Clone the wiki.
git clone https://github.com/[user]/[repo].wiki.git
# Example: git clone https://github.com/bz31/Buildroot.wiki.git
# Remove the .git folder.
cd [repo].wiki
rm -rf .git