Skip to content

Instantly share code, notes, and snippets.

@stjordanis
stjordanis / README.md
Created April 7, 2026 09:53 — forked from shriram/README.md
Artemis II Tribute Using Apollo Guidance Computer display

Artemis II DSKY tribute — artemis.agc

Credit: the work to generate this code was done by Claude Code using Claude Sonnet 4.6.

A program for the Apollo Guidance Computer (AGC) that displays a tribute to the Artemis II mission on the Apollo DSKY (Display/Keyboard unit). It cycles through three phases, looping forever:

Phase 0   _ _ _ _ 3    "3 2 1"
 _ _ _ _ 2
@stjordanis
stjordanis / microgpt.py
Created March 20, 2026 13:24 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@stjordanis
stjordanis / git_and_github_instructions.md
Created February 11, 2026 12:52 — forked from mindplace/git_and_github_instructions.md
Pushing your first project to github

1. Make sure git is tracking your project locally

Do you need a refresher on git? Go through Codecademy's git course.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
    → Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  2. Check if git is already initialized: git status

@stjordanis
stjordanis / chat-gpt-cliches.md
Created April 5, 2025 01:53 — forked from chrisgherbert/chat-gpt-cliches.md
ChatGPT Overused Words & Phrases

Chat GPT Cliches

Chat GPT has certain words and phrases that it uses way too much. Here's a rolling list of them. You can ask Chat GPT to avoid them by including custom instructions in the "Customize ChatGPT" menu.

  • A testament to
  • Akin
  • Beacon
  • Bolster
  • Bustling
  • Camaraderie
@stjordanis
stjordanis / grpo_demo.py
Created March 10, 2025 12:41 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
@stjordanis
stjordanis / agent loop
Created March 10, 2025 12:40 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@stjordanis
stjordanis / Gemfile
Created November 6, 2024 23:13 — forked from neoeno/Gemfile
Pokemon Go Slack Bot
source "https://rubygems.org"
gem "httparty"
gem "geocoder"
gem "slack-poster"
$sals1 = array("Beloved", "Darling", "Dear", "Dearest", "Fanciful", "Honey");
$sals2 = array("Chickpea", "Dear", "Duck", "Jewel", "Love", "Moppet", "Sweetheart");
$adjs = array("affectionate", "amorous", "anxious", "avid", "beautiful", "breathless", "burning", "covetous", "craving", "curious", "eager", "fervent", "fondest", "loveable", "lovesick", "loving", "passionate", "precious", "seductive", "sweet", "sympathetic", "tender", "unsatisfied", "winning", "wistful");
$nouns = array("adoration", "affection", "ambition", "appetite", "ardour", "being", "burning", "charm", "craving", "desire", "devotion", "eagerness", "enchantment", "enthusiasm", "fancy", "fellow feeling", "fervour", "fondness", "heart", "hunger", "infatuation", "little liking", "longing", "love", "lust", "passion", "rapture", "sympathy", "thirst", "wish", "yearning");
$advs = array("affectionately", "ardently", "anxiously", "beautifully", "burningly", "covetously", "curiously", "eagerly", "fervently", "fondly", "impatiently", "keenly", "lovingly"
@stjordanis
stjordanis / chain.js
Created November 6, 2024 23:10 — forked from neoeno/chain.js
Blockchain (I think?? maybe there needs to be more to be real but it's something)
const hashMaker = require("hash.js");
const hashString = string =>
hashMaker
.sha256()
.update(string)
.digest("hex");
const findBlockWithHashPrefix = (signedGenerator, prefix) => {
let nonce = 0;
@stjordanis
stjordanis / sad.c
Created November 6, 2024 23:10 — forked from neoeno/sad.c
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
const char* RESET = "\x1B[0m";
const char *COLORS[] = { "\x1B[31m", "\x1B[32m", "\x1B[33m", "\x1B[34m", "\x1B[35m", "\x1B[36m" };
int main() {