Skip to content

Instantly share code, notes, and snippets.

val ChaosDark = Color(0xFF0D0D0D)
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
@Composable
fun ChaosButton(
text: String,
modifier: Modifier = Modifier,
useV2: Boolean = true,
backgroundColor: Color = ChaosDark,
textColor: Color = Color.White,
@tomaarsen
tomaarsen / export_locally.py
Last active February 4, 2026 02:12
Export Sentence Transformer models to ONNX (+ optimization, quantization) & OpenVINO
# requires sentence_transformers>=3.2.0
from sentence_transformers import SentenceTransformer, export_optimized_onnx_model, export_dynamic_quantized_onnx_model
# The model to export to ONNX (+ optimize, quantize), OpenVINO
model_id = "mixedbread-ai/mxbai-embed-large-v1"
# Where to save the exported models locally
output_dir = model_id.replace("/", "-")
onnx_model = SentenceTransformer(model_id, backend="onnx", model_kwargs={"export": True})
onnx_model.save_pretrained(output_dir)
@Pulimet
Pulimet / AdbCommands
Last active February 4, 2026 02:10
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@emschwartz
emschwartz / README.md
Last active February 4, 2026 02:09
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@OmerFarukOruc
OmerFarukOruc / claude.md
Last active February 4, 2026 02:08
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 4, 2026 02:03
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:

yt-dlp termux full installation guide.md

Prepare

  1. Install Termux from Github: https://github.com/termux/termux-app/releases
  2. Download the apk and install it -> Note that installing termux from Play Store is highly discouraged.

In Termux:

pkg update
@kshetline
kshetline / github.css
Last active February 4, 2026 01:58
Github styling for Jetbrains/Intellij Markdown Preview -- A Very Close Match
/*
This CSS allows the Jetbrains/Intellij Markdown Preview to closely match the appearance of Markdown
documentation as viewed on GitHub.
Both the light GitHub theme and the dark theme are included here, although only the light theme works by
default. The dark theme is deactivated with an as-yet-unsupported "@media (prefers-color-scheme: dark)"
media query. Simply delete and/or comment out the light theme colors below, and then remove the enclosing
media query from the dark theme colors, in order to use those colors instead.
Color matching GitHub's syntax coloring inside code fences remains a problem. The Jetbrains preview
@prayogalazmi
prayogalazmi / torrent-video-downloader-compressor.ipynb
Created February 4, 2026 01:53
Torrent Video Downloader & Compressor
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.