Skip to content

Instantly share code, notes, and snippets.

@penelopus
penelopus / settings.json
Created April 2, 2026 22:02
Claude settings - UI repos [default, shared]
{
"permissions": {
"allow": [
"Bash(npm run:*)",
"Bash(npm install:*)",
"Bash(npm ls:*)",
"Bash(npm outdated)",
"Bash(npx tsc:*)",
"Bash(npx vitest:*)",
"Bash(npx playwright:*)",
@penelopus
penelopus / gist:419ecb42fc4673ec21fb0537fa23db74
Created August 1, 2025 01:35
Polygon client-js library, REST test w/ Stocks Aggregates (in a NextJS project)
'use client';
import { useState } from 'react';
import { GetStocksAggregatesSortEnum, GetStocksAggregatesTimespanEnum, restClient } from '@polygon.io/client-js';
const DEFAULT_POLYGON_API_KEY = 'xxxxx';
const RestStocksAggs = () => {
const [aggRes, setAggRes] = useState<unknown>(null);
const [error, setError] = useState<string | null>(null);
@penelopus
penelopus / gist:3d45e9ea9ab7aee4d5181be257c126ee
Last active August 13, 2019 00:41
Pull Request Template
# Related Tickets:
Link/s to JIRA, etc
# Approximate Testing Time
~5 minutes? (give your best guess)
# What this PR does:
The TL;DR for this pull request
# Specific Changes