Software & DevOps

Untangle layers of escaped and encoded text

A developer was stuck on a tangle of escapes and encodings. ChatGPT worked out the whole sequence and how to undo it right away.

Steps

  1. Paste in the string.
  2. Get the layers explained.
  3. Check the decoded result.

Prompt you can copy

This string has been escaped/encoded several times: [paste]. Identify each layer and show how to decode it step by step.

Tools

  • ChatGPT

For Developers. Added .

Source

hn ·

Related use cases

Software & DevOps

Generate infrastructure code from a design diagram

An engineer gives ChatGPT a labeled design diagram with detailed security notes and gets back working CDK and Terraform code.

Caution. Never apply infrastructure code you haven't reviewed.

DevelopersChatGPT

Software & DevOps

Generate test cases for your project

Building their own Lisp, one developer gave ChatGPT a few sample tests and had it write more for the test suite.

DevelopersChatGPT