OpenAI ChatGPT Results

A collection of some real-world work use cases of ChatGPT at work.

  • Use both rg and fg together to search for specific things in specific files

image

  • Debounce or throttle a command in lua / hammerspoon

image

It took 3 tries but I finally got my answer:

image

  • I need javascript regex that follows this set of rules:

Keys may contain alphanumeric characters ., -, and _.

image

  • I need to add a 2nd function that replaces all instances of non-alphanumeric characters, ., -, and _ with .

image

  • I've made changes to a file in git. I want those changes to persist locally without pushing them up to Github and having to continue undoing the changes. What command can I run to assume the changes haven't changed?

image

Previous Days

  • Convert to React Native:

756BC08A-2714-432E-A331-04A89F0F0809

  • Convert to Typescript

864DA14C-2CFB-44AF-8741-59F53FE6E043

  • Finding all occurences of "hello" using Grep:

5B5F2BCF-A31C-4B00-B13E-E4D459A9268C_1_105_c