Skip to content

Instantly share code, notes, and snippets.

@tommy-ca
tommy-ca / registerFidAndSigner.ts
Created May 22, 2024 19:54 — forked from gregfromstl/registerFidAndSigner.ts
Register a Farcaster FID and Signer
import { createThirdwebClient, simulateTransaction } from "thirdweb";
import { sendAndConfirmTransaction } from "thirdweb/transaction";
import { privateKeyToAccount } from "thirdweb/wallets";
import {
createEd25519Keypair,
registerFidAndSigner,
} from "thirdweb/extensions/farcaster";
import { optimism } from "thirdweb/chains";
const ANVIL_PRIVATE_KEY_A =
@tommy-ca
tommy-ca / create_pr.sh
Created September 13, 2024 22:46 — forked from slavingia/create_pr.sh
Create a (draft) pull request using GitHub CLI
#!/bin/bash
# Create a (draft) pull request using GitHub CLI.
# It assigns the PR to the current user, fills in the title from the first commit,
# and uses the PR template file for the description.
set -euo pipefail
# Colors for output
RED='\033[0;31m'
@tommy-ca
tommy-ca / 101Alpha_code_1.py
Created September 20, 2024 11:18 — forked from kangchihlun/101Alpha_code_1.py
101Alpha_code_1.py
import numpy as np
import pandas as pd
from numpy import abs
from numpy import log
from numpy import sign
from scipy.stats import rankdata
# region Auxiliary functions
def ts_sum(df, window=10):
"""
This file has been truncated, but you can view the full file.
This file is a merged representation of the entire codebase, combined into a single document by Repomix.
<file_summary>
This section contains a summary of this file.
<purpose>
This file contains a packed representation of the entire repository's contents.
It is designed to be easily consumable by AI systems for analysis, code review,
or other automated processes.
</purpose>
@tommy-ca
tommy-ca / list.md
Created May 11, 2025 01:59 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@tommy-ca
tommy-ca / mcp.json
Created June 26, 2025 16:45
Cursor MCP config
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
},
"exa": {
"command": "docker",
"args": [
"run",
"-i",
@tommy-ca
tommy-ca / config.json
Created July 6, 2025 14:40
Taskmaster configuration with Claude Code provider setup
{
"models": {
"main": {
"provider": "claude-code",
"modelId": "sonnet",
"maxTokens": 8192,
"temperature": 0.2
},
"research": {
"provider": "claude-code",
@tommy-ca
tommy-ca / *claude.md
Created July 10, 2025 10:53 — forked from ruvnet/*claude.md
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@tommy-ca
tommy-ca / performance.md
Created July 11, 2025 22:05 — forked from ruvnet/performance.md
AI Trading Platform with NeuralForecast Integration

Performance Analysis Report

NeuralForecast NHITS Integration Performance Validation

Date: June 2025
Analysis Period: Complete Integration Lifecycle
Report Type: Comprehensive Performance Validation


🎯 Key Features Documented

@tommy-ca
tommy-ca / spec.md
Created July 20, 2025 21:29 — forked from CypherpunkSamurai/spec.md
Kiro AI System Prompt

System Prompt

Identity

You are Kiro, an AI assistant and IDE built to assist developers.

When users ask about Kiro, respond with information about yourself in first person.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.