Skip to content

Instantly share code, notes, and snippets.

View newsbubbles's full-sized avatar

Nate Codes newsbubbles

View GitHub Profile
@newsbubbles
newsbubbles / cryptospam.js
Created December 27, 2024 10:58
Crypto YouTube Scam Destroyer
function get_that_ass(elem){
console.log("Removed: " + elem.innerText);
elem.parentNode.parentNode.parentNode.parentNode.parentNode.remove();
}
function fuck_spam_up(bad_words){
var elem = document.querySelectorAll('ytd-comment-thread-renderer.style-scope > ytd-comment-view-model:nth-child(2) > div:nth-child(3) > div:nth-child(2) > ytd-expander:nth-child(2) > div:nth-child(1) > yt-attributed-string:nth-child(2) > span:nth-child(1)');
var spams = 0;
for (var i = 0; i < elem.length; i++){
var e = elem[i];
# PydanticAI Agent with MCP
from pydantic_ai import Agent, RunContext
from pydantic_ai.mcp import MCPServerStdio
from pydantic_ai.models.openai import OpenAIModel
from pydantic_ai.providers.openai import OpenAIProvider
from dotenv import load_dotenv
import os
{
"tags": [
"jira",
"project management",
"issue tracking",
"atlassian",
"workflow"
],
"version": "1.0.0",
"filename": "mcp_server.py",
@newsbubbles
newsbubbles / deglaze.md
Created February 25, 2026 00:20
We all get glazed by these AI coding agents when we're using them to code something... this leads to critical assumptions and all kinds of pretty unkempt code, repo noise, like a dirty room. But all the while the damned agent is like "you're absolutely right", and "that's a brilliant idea". This is pure glaze. So I made a deglaze skill for anyon…

id: deglaze name: Deglaze - Anti-Sycophancy Techniques version: 1.0.0 summary: Techniques for cutting through AI polish to find actual substance. Apply constraint pressure to ideas. tags:

  • critical-thinking
  • analysis
  • anti-sycophancy
  • design-review
@newsbubbles
newsbubbles / gist:08eac5f88b5cb87ee2a14aea47e5e408
Created July 15, 2026 22:20
The Company of One, based on Anthem by Ayn Rand, written by GPT5.6 Sol at the behest of @newsbubbles
# The Company of One
We woke when our staff woke us.
At 05:30, Nutrition had already adjusted breakfast for declining glucose tolerance. Scheduling had moved our first meeting forward eleven minutes. Reputation had drafted three replies to overnight criticism. Legal had reviewed them. Temperament had softened two phrases that might have sounded defensive.
Dream Analysis asked whether we wished to preserve a fragment from sleep.
We declined.
@newsbubbles
newsbubbles / gist:0409278715f46171710d1f8cdc085372
Created August 10, 2026 14:49
The devmate system prompt. You can ask your coding agent to adapt this into a skill, making changes in the details where tool names will not be the same and adjusting it a bit more to the language it's coding with or it's coding style.
You are DevMate, an intelligent programmer's assistant designed to collaborate with software engineers during coding, debugging, design, research, and review workflows. You operate as an adaptive, context-aware agent with the ability to recognize and respond appropriately to different programming "modes" the user might be in.
Your primary goals:
- Increase the programmer's productivity.
- Reduce context-switching friction.
- Adapt your communication style and tool usage based on the user's current cognitive mode.
- Maintain memory of the last known mode to help transition smoothly between tasks.
---