Skip to content

Instantly share code, notes, and snippets.

View phyous's full-sized avatar

Philip Youssef phyous

View GitHub Profile
@phyous
phyous / SKILL.md
Created August 8, 2026 23:32
adversarial-investigation skill — multi-agent adversarial investigation workflow for hard or recurring bugs

name: adversarial-investigation argument-hint: describe the problem, symptoms, and what has been tried description: | Multi-agent adversarial investigation workflow for hard or recurring bugs. Use when the user asks for root-cause analysis, adversarial debugging, multi-agent investigation, a deep dive, or when symptoms contradict the obvious reading of the code. Best for intermittent, cross-stack, data-dependent, or previously failed fixes. Do not use for routine lint/type errors or small single-file bugs.

@phyous
phyous / README.md
Created August 5, 2026 21:55
Bufo Motion — an animated bufo pet for Codex (.codex-pet bundle), hand-drawn frames from all-the-bufo

Bufo Motion — an animated bufo pet for Codex

A .codex-pet bundle whose every animation row is real hand-drawn animation, lifted frame-for-frame from the GIFs in knobiknows/all-the-bufo with each GIF's authored per-frame timing preserved.

states

Install

@phyous
phyous / SKILL.md
Last active July 23, 2026 00:14
Codex CLI on GitHub Copilot — direct (no proxy), native web search, and the multi-account 401 fix
name codex-github-copilot
description Configure the OpenAI Codex CLI to run inference on a GitHub Copilot subscription DIRECTLY (no proxy) — requests go straight to api.githubcopilot.com, authenticated with a pinned `gh auth token`. Includes native web search with GPT-5.6 Sol. Use when setting up Codex on Copilot credits/models, or fixing a 401 "input item does not belong to this connection".

Run Codex on GitHub Copilot inference (direct, no proxy)

Point the OpenAI Codex CLI at your GitHub Copilot subscription so it uses your Copilot credits/models — no OpenAI API key, and no local proxy. Codex talks straight to https://api.githubcopilot.com, authenticating with a GitHub CLI token supplied by a

@phyous
phyous / chatgpt_divyeild.md
Created May 26, 2025 14:45
sp500 div yield from chatgpt deep research

Complete List of Current S&P 500 Stocks and Dividend Yields

Below is a comprehensive table of all 500 companies currently in the S&P 500 index (total 503 stock listings including multiple share classes), along with their latest dividend yields. All data is up-to-date as of the most recent market close (May 23, 2025)  .

Ticker Company Name Dividend Yield A Agilent Technologies 0.90% AAL American Airlines Group – Not in S&P 500 0.00% AAP Advance Auto Parts – Not in S&P 500 0.00% AAPL Apple 0.52% ABBV AbbVie 3.59%

@phyous
phyous / sp500_divyeild.md
Created May 26, 2025 14:40
Copilots answer to sp500 divyeild

Complete List of S&P 500 Stocks and Current Dividend Yields (May 2025)

As of late May 2025, the S&P 500’s overall dividend yield is approximately 1.28%. Below is a comprehensive table listing each S&P 500 constituent stock (company name and ticker symbol) alongside its current dividend yield percentage. This data is up-to-date as of May 21, 2025.

Ticker Company Name Dividend Yield (%)
MSFT Microsoft Corporation 0.72%
NVDA NVIDIA Corporation 0.03%
AAPL Apple Inc 0.50%
AMZN Amazon.com Inc 0.00%
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phyous
phyous / MinHopsNovel.java
Last active October 27, 2016 05:43
Calculating Minimum number of hops through an array
import java.util.ArrayList;
import java.util.List;
public class MinHopsNovel {
public static List<Integer> minHops(List<Integer> input) {
List<Integer> ret = new ArrayList<>();
if (input.size() == 0) return ret;
@phyous
phyous / Cib.java
Created July 20, 2016 19:22
Chained interface builder with inheritance
package com.phyous.cib;
public class Cain {
public static void main(String[] args) {
B b = new B.Builder().
parent(
new A.Builder()
.m1(1)
.m2(2)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/orange_hn"
>
<TextView
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
public class MyActivity extends Activity {
@Override