Skip to content

Instantly share code, notes, and snippets.

View noseratio's full-sized avatar

Andrew Nosenko noseratio

View GitHub Profile
@noseratio
noseratio / copilot-cli-oh-my-posh-statusline.md
Created May 12, 2026 21:28 — forked from shanselman/copilot-cli-oh-my-posh-statusline.md
Use Oh My Posh for the GitHub Copilot CLI statusline

Use Oh My Posh for the GitHub Copilot CLI statusline

GitHub Copilot CLI has an experimental statusline feature that can run a local command and render the command's output at the bottom of the Copilot terminal UI.

If you already use Oh My Posh, you can use the same engine, colors, and segments to render a Copilot-aware statusline in a few minutes.

This guide shows a Windows + PowerShell setup, but the idea is portable:

  1. Copilot calls a local script.
  2. Copilot sends session state to the script as JSON on stdin.
@noseratio
noseratio / Agent.py
Created July 7, 2025 14:48 — forked from codeninja/Agent.py
A Google ADK Agentic team to update mongoose from version 6 to version 8.
from google.adk.agents import Agent
from google.adk.events import Event
from google.adk.agents.invocation_context import InvocationContext
from google.genai.types import Content, Part
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
from google.adk.tools.mcp_tool import StdioConnectionParams, StreamableHTTPConnectionParams, SseConnectionParams
from google.adk.tools.agent_tool import AgentTool
from pydantic import BaseModel, Field
from mcp import StdioServerParameters
@noseratio
noseratio / use_existing_session.patch
Created August 3, 2021 11:01 — forked from nightuser/use_existing_session.patch
Use existing Xorg session for chrome-remote-desktop
Add an option to use the existing Xorg session with
chrome-remote-desktop.
The original idea of the patch: https://superuser.com/a/850359
--- a/chrome-remote-desktop 2021-04-05 11:53:16.537908500 +0000
+++ b/chrome-remote-desktop 2021-04-05 12:04:52.768536483 +0000
@@ -107,6 +107,8 @@
X_LOCK_FILE_TEMPLATE = "/tmp/.X%d-lock"
FIRST_X_DISPLAY_NUMBER = 20