Skip to content

Instantly share code, notes, and snippets.

View EvanBacon's full-sized avatar
🥓
Markdown developer

Evan Bacon EvanBacon

🥓
Markdown developer
View GitHub Profile
@hirbod
hirbod / BarTest.tsx
Last active February 16, 2025 17:12
Reanimated CSS 4 Search Bar Header Replica (hacked together quick and dirty, no support!)
import { useSafeAreaInsets } from 'react-native-safe-area-context'
import { useCallback, useLayoutEffect, useMemo, useReducer, useRef, useState } from 'react'
import { ActivityIndicator, Keyboard, Platform, Text, View, TextInput, useWindowDimensions } from 'react-native'
import Animated from 'react-native-reanimated'
const SearchBar = () => {
const inset = useSafeAreaInsets()
const [isFocused, toggle] = useReducer((s) => !s, false)
const ref = useRef<View>(null)
const rect = useRef({ width: 0, height: 0, x: 0, y: 0 })
@sergeyk
sergeyk / claude_code_prompts_and_tools.yaml
Last active September 27, 2025 06:48
Claude Code System Prompt and Tool Descriptions
model: claude-opus-4-20250514
messages:
- role: user
content:
- type: text
text: |
<system-reminder>
As you answer the user's questions, you can use the following context:
# important-instruction-reminders
Do what has been asked; nothing more, nothing less.