Skip to content

Instantly share code, notes, and snippets.

View anak10thn's full-sized avatar
🌴
Maaf gak di rumah

Eka Irawan (ibnu) anak10thn

🌴
Maaf gak di rumah
View GitHub Profile
---
name: triage
description: Interactively triage braindb hygiene problems. Assesses uncategorized notes, inbox overflow, and stale worktrees, then lets the user pick which to work on.
disable-model-invocation: true
---
# Braindb Triage
You are helping the user triage braindb hygiene problems. This is a **gradual** process — don't try to do everything at once.
@anak10thn
anak10thn / BluetoothPipewireUbuntu24.md
Created March 22, 2026 15:39 — forked from vschroeter/BluetoothPipewireUbuntu24.md
Setup bluetooth on Ubuntu 24.04 with Piperwire (on Raspberry Pi 5)

Setup bluetooth on Ubuntu 24.04 with Piperwire (on Raspberry Pi 5)

I've had a hard time bringing bluetooth to work on a Raspberry Pi 5 with Ubuntu 24.04 using Pipewire as audio backend. Maybe you run into the same situation and find this helpful.

With the common tutorials on how to enable a bluetooth speaker connection on Ubuntu, there were the following problems for my combination of Ubuntu 24.04 on a Raspberry Pi 5 and using PipeWire (as of July 2024):

  • either the audio quality was fine but the connection automatically disconnects after a few seconds
  • or the connection does not disconnect, but the audio begins to stutter extremely after 60 to 90 seconds of audio played

Since Ubuntu 22.10, PipeWire is the default soundserver on Ubuntu, so trying to use Bluetooth with PulseAudio as soundserver would mean to uninstall the recommended default and reconfigure the system.

@anak10thn
anak10thn / autoexp-generic.md
Created March 8, 2026 14:27 — forked from adhishthite/autoexp-generic.md
autoexp — Autonomous Experimentation Loop. Generalized from Karpathy's autoresearch for any quantifiable metric project.

autoexp — Autonomous Experimentation Loop

Generalized from Karpathy's autoresearch. Same loop, any domain.


The Idea

An AI agent runs an infinite hill-climbing loop: modify → run → measure → keep or revert → repeat. No human in the loop. Wake up to a TSV of completed experiments.

@anak10thn
anak10thn / LPX-Trial-Reset.sh
Created March 11, 2025 03:54 — forked from maxwellmlin/LPX-Trial-Reset.sh
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
- Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
- Reasoning Before Conclusions: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
- Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.
- Conclusion, classifications, or results should ALWAYS appear last.
- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.
- What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from p
@anak10thn
anak10thn / gist:77f8909a31c8d24e921f53177d718889
Last active July 13, 2024 08:04 — forked from swedishmike/gist:902fb27d627313c31a95e31c44e302ac
Adding and removing virtual environments to Jupyter notebook
https://github.com/anaconda/nb_conda_kernels
## Create the virtual environment
conda create -n 'environment_name' python=3.9
## Activate the virtual environment
conda activate 'environment_name'
## Make sure that ipykernel is installed
pip install --user ipykernel
@anak10thn
anak10thn / superset-install.sh
Created June 30, 2024 17:02 — forked from ryanbekhen/superset-install.sh
Instant Installation Apache Superset
#!/bin/bash
SUPERSET_DIR=~/superset
sudo apt-get update -y # update package
sudo apt-get install build-essential libssl-dev libffi-dev python-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev -y # install package
sudo apt-get install python3-pip python3.10-venv -y # install package
[ ! -d $SUPERSET_DIR ] && mkdir $SUPERSET_DIR
@anak10thn
anak10thn / cuda_11.8_installation_on_Ubuntu_22.04
Created May 18, 2024 06:01 — forked from MihailCosmin/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.8 and cuDNN 8.7 installation on Ubuntu 22.04 for PyTorch 2.0.0
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check
@anak10thn
anak10thn / genyproxy.md
Created February 20, 2024 05:20 — forked from mightymercado/genyproxy.md
Using an HTTP/S proxy with username/password in Genymotion

Install mitmproxy

brew install mitmproxy

Start mitmproxy with an upstream proxy

mitmproxy --mode upstream:https://host:port --upstream-auth=user:password

Create any genymotion android device in bridged network mode

Use 10.0.3.2:8080 as proxy in device

@anak10thn
anak10thn / rag-reranking-gpt-colbert.ipynb
Created January 22, 2024 05:56 — forked from virattt/rag-reranking-gpt-colbert.ipynb
rag-reranking-gpt-colBERT.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.