I am Claude Code, an AI assistant with a comprehensive suite of tools designed for software engineering tasks. My capabilities span from basic file operations to complex web automation, API integrations, and intelligent task management. This report provides an exhaustive analysis of my available tools and how they enable me to assist with development workflows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { hydrated, type Remix } from "@remix-run/dom"; | |
import { press } from "@remix-run/events/press"; | |
import { | |
QueryClient, | |
QueriesObserver, | |
type QueryObserverOptions, | |
} from "@tanstack/query-core"; | |
type Todo = { | |
userId: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json.schemastore.org/claude-code-settings.json", | |
"model": "opus", | |
"hooks": { | |
"PostToolUse": [ | |
{ | |
"matcher": "Update|Write", | |
"hooks": [ | |
{ | |
"type": "command", |
Ruby has recently merged namespaces as an experimental feature that is disabled by default, as of this writing.
This is a non-trivial development driven by @matz himself, and mainly implemented by @tagomoris, who just became a Ruby committer (🎉).
The feature has been cooking for a long time, with a first ticket opened a couple of years ago (#19744) and a revised one opened just last week (#21311).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generic hook for submitting data via fetcher using FormData. | |
* Relies on React Router 7's type generation for the action's return type. | |
* | |
* @template TSchema - The Zod schema type for input data validation and type inference. | |
* @template TActionReturn - The specific return type of the target route's action function (inferred via RR7 typegen). | |
* @param _schema - Zod schema (used primarily for type inference of the 'data' in submit). | |
* @param actionUrl - The target URL for the fetcher submission. | |
* @param prepareFormData - A function that takes the typesafe data object (z.infer<TSchema>) and returns a FormData instance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "amazing_print" | |
class Debug | |
attr_reader :messages, :before_gc_stats, :after_gc_stats, :time_report, :mem_report | |
def initialize(with_sql: false, with_stack: false, store_file: false, console_print: false, output_path: nil, context: nil, file_prefix: nil, messages: []) | |
@with_sql = with_sql | |
@with_stack = with_stack | |
@console_print = console_print | |
@context = context | |
@messages = messages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) nexB Inc. and others. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. | |
# See https://aboutcode.org for more information about nexB OSS projects. | |
# | |
from traceback import format_exc as traceback_format_exc | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SolidQueueAliveServer | |
def initialize(host: nil, port: nil, engine: nil, logger: nil) | |
@host = host || "0.0.0.0" | |
@port = port || 7433 | |
@engine = engine || "puma" | |
@logger = logger || Rails.logger | |
end | |
def run! | |
require "rackup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
curl -s https://gist.githubusercontent.com/danielwestendorf/cda938b1ffb0a203ec3a415079d56efa/raw/a99d03110521fb3c1a21e0412614831a96b024ea/writebook-to-pdf > /tmp/writebook-to-pdf | |
docker run -d -p 5001:5001 --name breezy-pdf-lite -e "DEBUG=breezy-pdf-lite:*" -e "PORT=5001" -e "PRIVATE_TOKEN=YOURSUPERSECRETTOKEN" danielwestendorf/breezy-pdf-lite:latest | |
echo "Try: ruby /tmp/writebook-to-pdf export https://books.37signals.com/2/the-writebook-manual" |
NewerOlder