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 | |
| # unified bash command interceptor | |
| set -o pipefail | |
| # silently exit on any error - don't block claude | |
| trap 'exit 0' ERR | |
| INPUT=$(cat 2>/dev/null) || exit 0 | |
| COMMAND=$(echo "$INPUT" | jq -r '.tool_input.command // empty' 2>/dev/null) || exit 0 |
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 { | |
| blue, | |
| blueDark, | |
| gray, | |
| grayDark, | |
| green, | |
| greenDark, | |
| orange, | |
| orangeDark, | |
| pink, |
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 { promises as fs } from 'node:fs' | |
| import * as path from 'node:path' | |
| import { exec } from 'node:child_process' | |
| import os from 'node:os' | |
| interface PackageJson { | |
| profile?: { [key: string]: any } | |
| [key: string]: any | |
| } |
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
| const AnimatedNumbers = () => { | |
| const [numbers, setNumbers] = useState(100_000) | |
| const len = `${numbers}`.length | |
| return ( | |
| <YStack gap="$5"> | |
| <XStack gap="$2"> | |
| <Button | |
| onPress={() => { |
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 { | |
| blue, | |
| blueDark, | |
| gray, | |
| grayDark, | |
| green, | |
| greenDark, | |
| orange, | |
| orangeDark, | |
| pink, |
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
| { | |
| "apc.activityBar": { | |
| "position": "bottom", | |
| "hideSettings": true, | |
| "size": 20 | |
| }, | |
| "apc.statusBar": { | |
| "position": "editor-bottom", | |
| "height": 22, |
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 { animation, Button, Card, Geometry, Row, Title, View } from '@o/ui' | |
| import React from 'react' | |
| export const TestCarousel = () => { | |
| const apps = [{ title: 'ok' }, { title: 'ok2' }, { title: 'ok3' }, { title: 'o4' }] | |
| const carousel = animation(() => ({ | |
| scrollLeft: 0, | |
| zoomed: false, | |
| })) | |
| /** |
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 { always, AppDefinition, AppIcon, createUsableStore, ensure, getAppDefinition, react, shallow, Templates, useReaction } from '@o/kit' | |
| import { AppBit } from '@o/models' | |
| import { Card, CardProps, fuzzyFilter, idFn, Row, useIntersectionObserver, useNodeSize, useParentNodeSize, useTheme, View } from '@o/ui' | |
| import { numberBounder, numberScaler } from '@o/utils' | |
| import React, { createRef, memo, useEffect, useLayoutEffect, useRef, useState } from 'react' | |
| import { to, useSpring, useSprings } from 'react-spring' | |
| import { useGesture } from 'react-use-gesture' | |
| import { om, useOm } from '../../om/om' | |
| import { queryStore } from '../../om/stores' |
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 { ensure, useReaction } from '@mcro/use-store' | |
| import { getTargetValue, List, searchBits, TreeList, useTreeList } from '@o/kit' | |
| import { Button, InputRow, Panel, preventDefault, useToggle, View } from '@o/ui' | |
| import { flow } from 'lodash' | |
| import React, { useState } from 'react' | |
| export function ListsAppIndex() { | |
| const treeList = useTreeList('list') | |
| const [addQuery, setAddQuery] = useState('') | |
| const [showSearch, toggleShowSearch] = useToggle(false) |
NewerOlder