Skip to content

Instantly share code, notes, and snippets.

View yshmarov's full-sized avatar
🇺🇦

Yaro Shm yshmarov

🇺🇦
View GitHub Profile
class BaseClient
class APINotFound < StandardError; end
attr_reader :auth_strategy
def initialize(auth_strategy: :headers, headers: {})
@auth_strategy = auth_strategy
@headers = headers
end
@SamSaffron
SamSaffron / test.rb
Created November 10, 2025 00:02
env_lookup.rb
# frozen_string_literal: true
require "benchmark"
require "memory_profiler"
require "active_support"
require "active_support/core_ext/object/blank"
def test_fast
@cache = ENV["TESTING"].presence if !defined?(@cache)
@cache
end
@jtomaszon
jtomaszon / README.md
Created January 25, 2026 16:08
Claude Code statusline - screenrc-style footer with model, tokens, context %, lines changed, duration, git branch, path, cost

Claude Code Status Line

A screenrc-style status footer for Claude Code showing real-time session data.

Preview

[Opus] 14% | ↓28.5K ↑8.2K/200.0K | +156 -23 | 14m07s | main | myproject/src | $0.08