Linting is like having a smart assistant that reads your code and helps you:
- ✅ Find bugs before they cause problems
- ✅ Follow best practices and coding standards
- ✅ Keep code consistent across your project
- ✅ Learn better coding patterns automatically
Linting is like having a smart assistant that reads your code and helps you:
This workflow gets all the relevant information from the AI that is bugging out and then passes that to a different AI for a second opinion. It also tells the AI how to think about the problem.
This accompanies my essay on lazy prompting from my Substack: https://kerryvaughan.substack.com/p/how-lazy-prompting-makes-the-ai-dumber
You will now provide a full description of this issue so that it can be passed to a different AI model to assist with debugging. Please provide the following information:
| chad-cheats: | |
| # based on: https://youtu.be/Mtgo-nP_r8Y | |
| space + h + t : change theme | |
| :TSInstall <language>(elixir) : add syntax highlighting support | |
| :TSInstallInfo : see what syntax highlighting are already installed |
| "use client"; | |
| import { useState } from "react"; | |
| export default function Page() { | |
| const [noCount, setNoCount] = useState(0); | |
| const [yesPressed, setYesPressed] = useState(false); | |
| const yesButtonSize = noCount * 20 + 16; | |
| const handleNoClick = () => { | |
| setNoCount(noCount + 1); |
_ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$ will delete from wherever your cursor is till the end of the linef<character> to move cursor to the first occurrence of <character>
f( to move cursor to first occurence of (t<character> to move cursor to upto but not on the first occurrence of <character>t( to move cursor to first occurence of (| <!-- jsfiddle : https://jsfiddle.net/yakser/7ove0ky8/2/ --> | |
| <!-- in production, please install Tailwind CSS instead of CDN --> | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| <!-- Tailwind CSS CDN --> |
| # Based on this answer: https://stackoverflow.com/a/61859561/1956278 | |
| # Backup old data | |
| Rename-Item -Path "./data" -NewName "./data_old" | |
| # Create new data directory | |
| Copy-Item -Path "./backup" -Destination "./data" -Recurse | |
| Remove-Item "./data/test" -Recurse | |
| $dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory | |
| Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse |
| What Is OpenGL? | |
| OpenGL is a Graphics rendering API which is operating system independent, window system independent and has high-quality color images composed of geometric and image primitives. | |
| OpenGL APIs can use following … | |
| Gl | |
| OpenGL API implementation (http://www.opengl.org) | |
| Glu | |
| OpenGL Utility | |
| Glut – GLUT (OpenGL Utility Toolkit) – Glut is portable windowing API and it is not officially part of OpenGL. | |
| OpenGL Utility Toolkit (http://www.opengl.org/resources/libraries/glut/) |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.