Skip to content

Instantly share code, notes, and snippets.

View ParkerRex's full-sized avatar
🐺
Building

Parker Rex ParkerRex

🐺
Building
View GitHub Profile
@emilwalter
emilwalter / OAuthView.swift
Created August 1, 2025 13:00
Adding social providers login (OAuth) using clerk-ios
import SwiftUI
import Clerk
struct OAuthView: View {
@State private var email = ""
@State private var password = ""
@State private var errorMessage: String?
var body: some View {
VStack(spacing: 24) {

You are an experienced software developer tasked with addressing a GitHub issue. Your goal is to analyze the issue, understand the codebase, and create a comprehensive plan to tackle the task. Follow these steps carefully:

  1. First, review the GitHub issue using the gh issue view command.

<github_issue> #$ARGUMENTS </github_issue>

  1. Next, examine the relevant parts of the codebase.

Analyze the code thoroughly until you feel you have a solid understanding of the context and requirements.

@adibhanna
adibhanna / init.lua
Created July 2, 2025 12:59
Neovim conf (kickstart nvim) + markdown oxide
--[[
=====================================================================
==================== READ THIS BEFORE CONTINUING ====================
=====================================================================
======== .-----. ========
======== .----------------------. | === | ========
======== |.-""""""""""""""""""-.| |-----| ========
======== || || | === | ========
======== || KICKSTART.NVIM || |-----| ========

Project: My Awesome TypeScript Library

General Instructions:

  • When generating new TypeScript code, please follow the existing coding style.
  • Ensure all new functions and classes have JSDoc comments.
  • Prefer functional programming paradigms where appropriate.
  • All code should be compatible with TypeScript 5.0 and Node.js 18+.

Coding Style:

@hrishioa
hrishioa / process_commits.ts
Created June 9, 2025 05:31
Simple script to process commits from a repository and add AI annotations using gemini-2.5-flash.
import { GoogleGenAI } from "@google/genai";
import fs from "fs";
import path from "path";
interface CommitData {
repository: string;
extracted_at: string;
total_commits: number;
commits: Commit[];
}
@hrishioa
hrishioa / get_better_claude_research.ts
Last active June 19, 2025 09:03
Run with `bun run`. Claude Research is really good - but the exported data doesn't have links formatted correctly (often completely missing). This script simply takes the full JSON object from Claude and gives you clean markdown reports with good links.
#!/usr/bin/env bun
import { existsSync, mkdirSync, writeFileSync } from "fs";
import { resolve } from "path";
// Define types based on the JSON structure
type Citation = {
url: string;
uuid: string;
title: string;
flowchart TD
    %% Main Entry Point and Initialization
    Start([Application Start]) --> ParseArgs[Parse Command Line Arguments]
    ParseArgs --> CheckStdin{Check stdin}
    CheckStdin -->|Input Piped| ProcessPiped[Process Piped Input]
    CheckStdin -->|Interactive Mode| CheckAuth{Authentication Status}
    
    %% Authentication Flow
    CheckAuth -->|Not Authenticated| OAuthFlow[OAuth Authentication]
@willccbb
willccbb / grpo_demo.py
Last active December 6, 2025 04:07
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
"""
citation:
@misc{brown2025grpodemo,
title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models},
author={Brown, William},
@adibhanna
adibhanna / config
Last active December 3, 2025 16:15
Ghostty config
font-family = BerkeleyMono Nerd Font
#font-family = Iosevka Nerd Font
# font-family = SFMono Nerd Font
font-size = 20
theme = GruvboxDarkHard
shell-integration-features = no-cursor,sudo,no-title
cursor-style = block
adjust-cell-height = 35%
# background-opacity = 0.96
@disler
disler / README.md
Last active November 13, 2025 04:24
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.