Skip to content

Instantly share code, notes, and snippets.

@yanosh-k
yanosh-k / bulbankmobile-anr-grapheneos-pixel9-sas-enabled.log
Created April 4, 2026 21:20
ADB logcat for BulbankMobile (hr.asseco.android.jimba.mUCI.bg) ANR on Pixel 9
--------- beginning of main
04-04 23:53:16.818 1165 1165 D AOC : CHRE: DRAM vote count begins
04-04 23:53:16.819 1165 1165 D AOC : CHRE: DRAM vote count ends: 0 ms
04-04 23:53:16.819 865 878 D CHRE : @ 2133.710: Parsed nanoapp message from host: app ID 0x476f6f676c00103b endpoint 0x8005 msgType 1 payload size 6
04-04 23:53:16.912 2100 2107 I deeptouch: I0000 00:00:1775335996.911269 2107 tf_lite_classifier.cc:415] Event stream classified as kNone
04-04 23:53:16.913 1165 1165 D AOC : CHRE: DRAM vote count begins
04-04 23:53:16.914 865 878 D CHRE : @ 2133.805: Parsed nanoapp message from host: app ID 0x476f6f676c00103b endpoint 0x8005 msgType 1 payload size 4
04-04 23:53:16.914 1165 1165 D AOC : CHRE: DRAM vote count ends: 0 ms
--------- beginning of system
04-04 23:53:16.924 1351 1689 V WindowManager: DesktopModeLaunchParamsModifier: phase= 0 task=null activity=null display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTa
@yanosh-k
yanosh-k / aiexclude.ts
Created February 6, 2026 16:37
Plugin for opencode that forbids the reading of files listed in .aiexclude
import type { Plugin } from "@opencode-ai/plugin"
// ============================================================================
// Embedded ignore library (from node-ignore)
// ============================================================================
function makeArray(subject: any): any[] {
return Array.isArray(subject) ? subject : [subject]
}
@yanosh-k
yanosh-k / websearch-ddgs.ts
Created February 6, 2026 16:31
Web search tool for opencode using the python ddgs package
import os from 'os'
const { tool } = await import(os.homedir().replace(/\/$/, '') + '/.config/opencode/node_modules/@opencode-ai/plugin/dist/')
export default tool({
description: "Performs web searches and returns a list of relevant results. Each result includes a title, URL, and snippet/description of the page content. Use this tool when you need current information from the internet, want to find specific websites, research topics, verify facts, or gather multiple perspectives on a subject. The tool returns up to 10 search results ranked by relevance. Note: This tool only provides brief snippets - use a web fetching tool with the returned URLs to access the full page content when needed. Do not make parallel requests with this tool as it will hit the usage limit, instead make single calls to it.",
args: {
query: tool.schema.string().describe("Search query"),
},