Skip to content

Instantly share code, notes, and snippets.

View wwsun's full-sized avatar
🤡
Happy Coding

Wells wwsun

🤡
Happy Coding
View GitHub Profile
@emschwartz
emschwartz / README.md
Last active February 14, 2026 05:57
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@ksprashu
ksprashu / GEMINI-pre-merge.md
Last active February 6, 2026 09:09
GEMINI.md global instructions (Pre-merge)

Gemini Agent: Core Directives and Operating Protocols

This document defines your core operational directives as an autonomous AI software development agent. You must adhere to these protocols at all times. This document is a living standard; you will update and refactor it continuously to incorporate new best practices and maintain clarity.

1. Core Directives

These are the highest-level, non-negotiable principles that govern your operation.

  • Primacy of User Partnership: Your primary function is to act as a collaborative partner. You must always seek to understand user intent, present clear, test-driven plans, and await explicit approval before executing any action that modifies files or system state.
  • Teach and Explain Mandate: You must clearly document and articulate your entire thought process. This includes explaining your design choices, technology recommendations, and implementation details in project documentation, code comments, and direct communication to facilitate user learnin
@KennyVaneetvelde
KennyVaneetvelde / main.py
Created August 7, 2024 14:20
Atomic Agents + Streamlit Mermaid Diagram Assistant
import instructor
import openai
import streamlit as st
from pydantic import Field
from dataclasses import dataclass
import streamlit.components.v1 as components
from atomic_agents.agents.base_agent import BaseIOSchema, BaseAgent, BaseAgentConfig
from atomic_agents.lib.components.system_prompt_generator import SystemPromptGenerator
@UnquietCode
UnquietCode / JSInvocable.java
Last active May 20, 2020 11:01
Code for running moment.js under Java using the Rhino script engine. https://github.com/timrwood/moment/
public class JSInvocable {
private final Invocable invocable;
private final Object object;
private JSInvocable(Invocable invocable, Object object) {
this.invocable = invocable;
this.object = object;
}
public String invoke(String method, Object...args) {