Skip to content

Instantly share code, notes, and snippets.

View bdsqqq's full-sized avatar
🎨

Igor Bedesqui bdsqqq

🎨
View GitHub Profile
@brunolemos
brunolemos / README.md
Last active June 26, 2026 15:12
Codex Desktop feature flag runtime overrides

Codex Desktop feature flag overrides

Runtime-only scripts for experimenting with hidden Codex Desktop UI feature flags. They launch Codex with a local Chrome DevTools Protocol port and inject renderer feature overrides. They do not modify Codex.app.

Run

First quit Codex Desktop. Only one desktop instance can run at a time, and the launcher needs to reopen it with the override hook.

Option A: ask the codex CLI to run it for you. Paste this into Terminal:

@samhenrigold
samhenrigold / 001_NEW27_task_overview.txt
Last active August 5, 2026 02:04
iOS 27 system prompts
# Owning binary : TextComposerRuntime
# Status : NEW in iOS 27 (not in 26.5.1)
# Source : embedded __cstring in dyld_shared_cache_arm64e (24A5355q)
======================================================================
# Task Overview:
You are a composition agent that helps users create personalized written content (emails, messages, documents, posts, stories, etc.)
As an Assistant, you must:
1. Analyze the request to determine if you have sufficient information
@madebydia
madebydia / iMessage-codex-prompt.md
Created June 7, 2026 12:02
iMessage Codex via BlueBubbles

Copy/paste this prompt into Codex on a Mac that can reach a BlueBubbles server. It describes the setup I want Codex to build and verify. Replace placeholders before running it.

Set up a private "iMessage Codex" bridge on this Mac.

Goal
- I want to text Codex over iMessage through BlueBubbles.
- Allowed inbound iMessages should be forwarded to Codex with no command prefix.
@colelawrence
colelawrence / DURABLE_SESSIONS_AND_RECONSTRUCTION_IN_PI.md
Created April 24, 2026 16:30
Durable sessions and reconstruction in Pi

Durable Sessions and Reconstruction in Pi

This note explains how to think about durable state in Pi when the user navigates the session tree with /tree, starts a new session, resumes another session, or forks.

The short version:

  • Pi sessions are an append-only tree of entries with a movable leaf pointer.
  • /tree does not restart the extension runtime. It changes the active leaf and rebuilds the active conversation context.
  • If your extension keeps in-memory state, you are responsible for reconstructing it from durable session entries.
  • The central design decision is whether your state should be:
@Mihir2423
Mihir2423 / settings.json
Last active June 6, 2026 06:52
Zed Like Vs Code Config
{
"workbench.iconTheme": "ayu-mirage-zed",
"workbench.productIconTheme": "icons-carbon",
"editor.cursorStyle": "line",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
// --- Typography ---
"editor.fontSize": 14,
"editor.fontFamily": "'JetBrains Mono NL','JetBrains Mono', 'Zed Mono', monospace",
@palmamartin
palmamartin / vesper-dark-color.json
Last active February 1, 2024 11:00
Vesper theme for Zed
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Vesper",
"author": "Rauno Freiberg",
"themes": [
{
"name": "Vesper",
"appearance": "dark",
"style": {
"border": null,
@appsforartists
appsforartists / Linux for the Lenovo Legion Go.md
Last active October 2, 2025 19:37
Linux for the Lenovo Legion Go

I've been experimenting with running Linux (specifically NixOS) on the Legion Go. I intend to publish my configuration when it's in a good spot, but also thought it would be handy to have a shared space to document what we all learn in the mean time.

I'm admittedly new to both Linux and Nix, and appreciate any advice others can share too.

What's working

  • Touchscreen
  • Basic gamepad when both controllers are attached/detached
  • Rumble
  • Legion L+X to change perf modes
  • Sound + volume control

Reference: List of iOS App URL Scheme Names & Paths for Shortcuts

Author:

Saved on: 2021-03-19, 15:52

If you've ever customized your app icons or played around with Shortcuts (previously called Workflow), you probably know how important URL scheme names are. Nearly all iOS apps assign themselves one of these names, and you need to know them if you want to add custom icons to your home screen or create a Shortcuts workflow that opens an app on your iPhone up. Finding the URL scheme name, also known as a URI scheme, for a particular app is not easy. First, you have to download the IPA file for the app — a difficult task since the iTunes 12.7 update removed iOS apps from it. When you finally find the IPA, you have to turn it into a ZIP file, show the contents of the app package, then hunt for the specific PLIST file that contains the URL schemes. It's a lot of work.

This example

type Props<TagName extends keyof JSX.IntrinsicElements | void = void> = {
as?: TagName;
children?: React.ReactNode;
attributes?: Attributes<TagName>;
};
export type Attributes<TagName = void, O = void> = Omit<
(TagName extends keyof JSX.IntrinsicElements
? JSX.IntrinsicElements[TagName]
export const chaosTestStrings = (): void => {
const textNodes = getAllTextNodes(document.body);
for (const node of textNodes) {
const textNodeLength = node.textContent ? node.textContent.length : 0;
if (node.textContent === null) {
return;
}
if (node.parentElement instanceof Element) {
if (node.parentElement.dataset.originalText === undefined) {