aider/examples
Paul Gauthier eb4a1f5341 aider: Added the word "Commit" before each commit hash.
# Context:
USER: Add the word "Commit" before each commit hash
ASSISTANT: To add the word "Commit" before each commit hash, I will update the commit messages in the previous response. Here are the updated commit messages:

```plaintext
examples/hello-world-flask.md
<<<<<<< ORIGINAL
_Applied edit to app.py_
_414c394 aider: Added a `/hello` endpoint that returns "Hello, World!" to the Flask app._
=======
_Applied edit to app.py_
Commit 414c394 aider: Added a `/hello` endpoint that returns "Hello, World!" to the Flask app._
>>>>>>> UPDATED
```

^C KeyboardInterrupt
USER: keep the leading _ for italics
ASSISTANT: I apologize for the confusion. Here are the updated commit messages with the word "Commit" added before each commit hash while keeping the leading underscores for italics:

```plaintext
examples/hello-world-flask.md
<<<<<<< ORIGINAL
_Applied edit to app.py_
_414c394 aider: Added a `/hello` endpoint that returns "Hello, World!" to the Flask app._
=======
_Applied edit to app.py_
_Commit 414c394 aider: Added a `/hello` endpoint that returns "Hello, World!" to the Flask app._
>>>>>>> UPDATED
```

```plaintext
examples/hello-world-flask.md
<<<<<<< ORIGINAL
_Applied edit to app.py_
_0872c51 aider: Added an endpoint `/add/<int:num1>/<int:num2>` that returns the sum of the two numbers._
=======
_Applied edit to app.py_
_Commit 0872c51 aider: Added an endpoint `/add/<int:num1>/<int:num2>` that returns the sum of the two numbers._
>>>>>>> UPDATED
```

```plaintext
examples/hello-world-flask.md
<<<<<<< ORIGINAL
_Applied edit to app.py_
_163fba8 aider: Added a `/fibonacci/X` endpoint that returns the Xth number in the Fibonacci sequence._
=======
_Applied edit to app.py_
_Commit 163fba8 aider: Added a `/fibonacci/X` endpoint that returns the Xth number in the Fibonacci sequence._
>>>>>>> UPDATED
```

```plaintext
examples/hello-world-flask.md
<<<<<<< ORIGINAL
_Applied edit to app.py_
_eab6620 aider: Removed the `/hello` endpoint from the Flask app._
=======
_Applied edit to app.py_
_Commit eab6620 aider: Removed the `/hello` endpoint from the Flask app._
>>>>>>> UPDATED
```
2023-05-13 10:03:28 -07:00
..
2048-game.md copy 2023-05-13 07:01:22 -07:00
complex-change.md wip: Changed chat transcript language to be more consistent and clear. 2023-05-13 08:18:56 -07:00
css-exercises.md added css exercises 2023-05-13 09:06:35 -07:00
hello-world-flask.md aider: Added the word "Commit" before each commit hash. 2023-05-13 10:03:28 -07:00
pong.md copy 2023-05-13 07:01:22 -07:00
README.md copy 2023-05-13 09:42:22 -07:00
semantic-search-replace.md copy 2023-05-13 07:04:35 -07:00

Aider example chat transcripts

Here are some example transcripts that show how you can chat with aider to generate and edit code with GPT-4:

  • Hello World Flask App: This example demonstrates how to create a simple Flask app with various endpoints, such as adding two numbers and calculating the Fibonacci sequence.

  • 2048 Game Modification: This example demonstrates how to explore and modify an open-source javascript 2048 game codebase, including adding randomness to the scoring system.

  • Pong Game with Pygame: This example demonstrates how to create a simple Pong game using the Pygame library, with customizations for paddle size and color, and ball speed adjustments.

  • Complex Multi-file Change with Debugging: This example demonstrates a complex code change involving multiple source files and debugging with the help of aider.

  • Semantic Search & Replace: This example showcases aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates.

  • CSS Exercise: Animation Dropdown Menu: This example demonstrates how to complete a CSS exercise involving adding animation to a dropdown menu, creating a bounce illusion when the dropdown expands close to its final end state.