Skip to content

Results for “reusable”

4 prompts

Write a React custom hook called [useSomething] that [purpose, e.g. fetches data with caching / debounces input / tracks window size]. Use TypeScript, handle cleanup and errors, and include usage examples and tests.

ChatGPT
Coding & Development

React custom hook

A reusable custom hook with clean state management.

0

Write a [Python / Node.js] script to transform data. Input format and sample: [paste] Desired output format and sample: [paste] Rules: [renames, filters, calculations, date formats] The script should read from a file, handle missing or malformed values, log problems, write the output file, and be easy to rerun. Includ…

ChatGPT
Coding & Development

Data transformation script

Convert, clean and reshape data between JSON, CSV and other formats with a reusable script.

0

Help me tame my email. Emails per day: [number] Email tool: [Gmail, Outlook, etc.] Types of emails I get: [list] Create: a folder/label structure, filters and rules to set up, a daily processing routine (with time blocks), 5 reusable reply templates, unsubscribe strategy, and a plan to clear the current backlog.

ChatGPT
Business & Productivity

Inbox zero email system

Get your inbox under control with rules, folders, templates and a daily email routine.

0

Act as a Linux/macOS command-line expert. OS and shell: [macOS zsh / Ubuntu bash / Windows WSL] Task: [e.g. find all .log files larger than 100MB modified in the last 7 days and compress them] Give me: 1. The command 2. A breakdown of each flag and part 3. A dry-run version that shows what would happen without changin…

ChatGPT
Coding & Development

Shell commands and Bash one-liners

Describe a terminal task and get the command, what each part does and a safer alternative where relevant.

0