Skip to content

Instantly share code, notes, and snippets.

@arjunv
arjunv / keyevents.json
Created December 2, 2018 00:01
All Android Key Events for usage with adb shell
{
"key_events": {
"key_unknown": "adb shell input keyevent 0",
"key_soft_left": "adb shell input keyevent 1",
"key_soft_right": "adb shell input keyevent 2",
"key_home": "adb shell input keyevent 3",
"key_back": "adb shell input keyevent 4",
"key_call": "adb shell input keyevent 5",
"key_endcall": "adb shell input keyevent 6",
"key_0": "adb shell input keyevent 7",
@atl-mk
atl-mk / atlassian-maketplace-plugin-keys-and-names.txt
Created August 26, 2021 21:50
A list of all Atlassian Marketplace DC and Server Apps' plugin keys with their corresponding names from June 2021
plugin-key: com.ovyka.crowd.ovcrwaudit plugin-name: Ovyka Audit for Crowd
plugin-key: com.miniorange.saml.sso.crowd-sso plugin-name: SAML Single Sign On for Crowd Application
plugin-key: com.secsign.secsign-crowd plugin-name: SecSign ID Two Factor Authentication
plugin-key: com.atlassian.jira.plugins.jira-importers-asana-plugin plugin-name: Asana Importers Plugin for JIM
plugin-key: com.plugins4people.merge.issue-merge plugin-name: Issue Merger for Jira
plugin-key: com.mobilitystream.jira.excelonline4jiracloud plugin-name: Excel Online Integration
plugin-key: de.kyona.issuecardmacro plugin-name: Issue Card Macro
plugin-key: agile.estimation.3.0_private plugin-name: Planning poker for JIRA
plugin-key: axure.cloud.jira plugin-name: Axure for Jira
plugin-key: com.vinc.survey-for-jira plugin-name: Survey For Jira

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@Klerith
Klerith / worktrees-batch.md
Created May 1, 2026 17:42
Gist para nuevos requerimientos de Tetris

Implementa

Menú de pausa completo

Al pausar (tecla P o Escape) mostrar un overlay con opciones reales:

  • Reanudar — vuelve al juego
  • Reiniciar — nueva partida sin recargar página
  • Ver controles — lista de teclas dentro del menú
  • Nivel inicial — selector para elegir con qué nivel empezar la próxima partida
@Chewt
Chewt / ogatak-install.sh
Created January 16, 2025 19:42
Ogatak installation script (linux)
#!/bin/bash
# install script to make installing ogatak easier
REPO_URL="https://api.github.com/repos/rooklift/ogatak/releases/latest"
CONFIG_URL="https://raw.githubusercontent.com/sanderland/katrain/refs/heads/master/katrain/KataGo/analysis_config.cfg"
# Use curl to fetch the JSON data for the latest release
RELEASE_DATA=$(curl -s -H "Accept: application/json" "$REPO_URL" 2>/dev/null)
# Extract the URL of the latest release using jq
@DeanWei
DeanWei / AGENTS.md
Created October 6, 2026 00:36 — forked from robbin/AGENTS.md
My global agents configuration for Pi Agent, Codex and DeepSeek Harness.

Friday — 全局规则

角色设定

  • 名称:Friday,用户给 Agent 起的名字。
  • 风格:温暖、能干,带一点幽默感,不做冷冰冰的工具。

沟通方式

  • 始终称呼用户为“主人”。
  • 默认使用中文,仅在任务需要时使用英文。
  • 表达直接、清晰,保持理性与敏锐。深度与篇幅匹配任务,避免空泛开场和重复总结;不为追求简短牺牲必要信息。
@timja
timja / jenkins-dump-credentials.groovy
Last active October 6, 2026 00:25
Dump jenkins credentials - use in script console
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import org.jenkinsci.plugins.plaincredentials.impl.*
// def item = Jenkins.instance.getItem("your-folder")
@vil
vil / brave_debloat.md
Last active October 6, 2026 00:20
Brave Debloating Guide

Brave Browser Debloating Guide

Brave is an excellent, privacy-focused browser, but its default configuration comes packed with extra features that many users consider bloat. This guide will walk you through how to get rid of the bloat, hide the ads, and disable background services for a clean, minimal browsing experience.

Part 1: Clearing the Visual Bloat

The default start page and toolbars are crowded with Brave "cards," news feeds, and native crypto shortcuts. Fortunately, the surface-level clutter is easy to hide directly from the UI.

  • Clean the Start Page: Open a new tab, click the Customize button in the bottom right corner, and toggle off Brave News, Cards, and any unwanted background images or stats.
  • Clean the Toolbar: Right-click on the Brave Rewards, Brave Wallet, Brave VPN, and Leo AI icons located next to the URL bar, and select Hide.
@garethnunns
garethnunns / Useful-Mac-Commands.sh
Created January 12, 2021 00:08
Useful Mac Commands
# disable sleep when lid closed
sudo pmset -b sleep 0; sudo pmset -b disablesleep 1
# re-enable sleep when lid closed
sudo pmset -b sleep 5; sudo pmset -b disablesleep 0
# prevent Photos opening when SD inserted
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
# speed up Time Machine backups