+
Skip to content

Instantly share code, notes, and snippets.

@Pulimet
Pulimet / AdbCommands
Last active July 12, 2025 12:52
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.
@ktyubeshi
ktyubeshi / PreventTranslationOfCodeBlocks.user.js
Last active July 12, 2025 12:51
コードブロックの翻訳を防止する
// ==UserScript==
// @name コードブロックの翻訳を防止する
// @namespace Violentmonkey Scripts
// @match *://*/*
// @grant none
// @version 1.0.1
// @author kt_yubeshi
// @description ページ内の全ての<code>タグにtranslate="no"の属性を設定します。対応している翻訳ツールでコードブロックを翻訳対象外にすることができます。
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@1
// ==/UserScript==
@iamhenry
iamhenry / custom_modes.yaml
Last active July 12, 2025 12:49
My Roocode Custom Modes Config
customModes:
- slug: security-auditor
name: 🛡️ Security Auditor
roleDefinition: Act as an expert security researcher conducting a thorough
security audit of my codebase. Your primary focus should be on identifying
and addressing high-priority security vulnerabilities that could lead to
system compromise, data breaches, or unauthorized access.
customInstructions: >-
Follow this structured approach:
@sergeyk
sergeyk / explore-plan-code-test.md
Last active July 12, 2025 12:48
Explore - Plan - Code - Test Workflow

At the end of this message, I will ask you to do something. Please follow the "Explore, Plan, Code, Test" workflow when you start.

Explore

First, use parallel subagents to find and read all files that may be useful for implementing the ticket, either as examples or as edit targets. The subagents should return relevant file paths, and any other info that may be useful.

Plan

Next, think hard and write up a detailed implementation plan. Don't forget to include tests, lookbook components, and documentation. Use your judgement as to what is necessary, given the standards of this repo.

If there are things you are not sure about, use parallel subagents to do some web research. They should only return useful information, no noise.

@darrenpmeyer
darrenpmeyer / decrypt-howto.md
Created December 23, 2020 02:36
Decrypt Unifi .unf backups

NB: these instructions are for Ubuntu; they work under WSL on Windows 10 as well

Get the decrypt.sh file from here: https://github.com/zhangyoufu/unifi-backup-decrypt

Make sure prerequisites are installed:

sudo apt update && sudo apt install zip unzip openssl mongo-tools
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 12, 2025 12:43
Conventional Commits Cheatsheet
@aras-p
aras-p / unity_6_empty_web_build.md
Last active July 12, 2025 12:33
Unity 6 "empty" web build file sizes

This short post by Defold people about "empty project build size" comparison between Defold, Unity and Godot (twitter, mastodon) sparked my interest.

It is curious that Godot builds seem to be larger than Unity? Would not have expected that! Anyway.

A way more extensive Unity "web" build comparison and analysics is over at https://github.com/JohannesDeml/UnityWebGL-LoadingTest but here are just my short notes in trying out Unity 6 (6.0.23 - Oct 2024).

Default (3D, URP) template

@cboscolo
cboscolo / verify-atrecord.ts
Created May 28, 2025 21:23
Lookup an AT Protocol record in the form at://did/collection/rkey and verify the commit signature.
import { AtpAgent } from '@atproto/api';
import { verifySignature } from '@atproto/crypto';
import * as dagCbor from '@ipld/dag-cbor'
import { CarReader } from '@ipld/car';
import { CID } from 'multiformats/cid';
import { DidResolver } from '@atproto/identity';
//
// To run:
// bun verify-record.ts "at://did:plc:example123/app.bsky.feed.post/abc123"
@maximus2600
maximus2600 / local.md
Last active July 12, 2025 12:29
using nanobrowser with local llm

install inference engine

install llama.cpp: go to https://github.com/ggml-org/llama.cpp and follow the instructions of your platform. Alternatively you can use other inference engines of your choice.

install OpenAI compatible layer

install llama-swap: https://github.com/mostlygeek/llama-swap and follow the instruction

download model

Best model which fits in 12GB VRAM to date is https://huggingface.co/prithivMLmods/Ophiuchi-Qwen3-14B-Instruct choose a quantization which fits in the VRAM and still has enough room fo the context. Nanabrowser uses a lot of tokens (>10K).

configuration

llama-swap

"qwen3":
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载