Skip to content

Instantly share code, notes, and snippets.

@thereisnotime
Last active April 12, 2025 07:22
Show Gist options
  • Save thereisnotime/5300bfde6ff26e76af6bdb98c42c5d44 to your computer and use it in GitHub Desktop.
Save thereisnotime/5300bfde6ff26e76af6bdb98c42c5d44 to your computer and use it in GitHub Desktop.

Revisions

  1. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    Please create the following files in your repository with the same content as the `.aiignore`:

    .cursorignore .tabnineignore .codyignore .continueignore .opencommitignore .autocommitignore .aiexclude

    Also best to have it as a base for `.gitignore` as well!
  2. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    Please create the following files in your repository with the same content as the `.aiignore`:

    .cursorignore .tabnineignore .codyignore .continueignore .opencommitignore .autocommitignore
    .cursorignore .tabnineignore .codyignore .continueignore .opencommitignore .autocommitignore .aiexclude
  3. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 52 additions and 0 deletions.
    52 changes: 52 additions & 0 deletions .aiignore
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    # thereisnotime v1

    # Secrets and credentials
    *.env
    .env.*
    @@ -137,3 +139,53 @@ Thumbs.db
    *.bak
    *.bkp
    *.backup

    # Build results
    bin/
    obj/
    *.dll
    *.exe
    *.app
    *.user
    *.pdb
    *.cache
    *.mdb

    # Visual Studio/VS Code
    .vscode/
    .vs/
    *.suo
    *.user
    *.userosscache
    *.sln.docstates

    # ASP.NET
    project.lock.json
    project.fragment.lock.json
    artifacts/

    # NuGet
    *.nupkg
    *.snupkg
    *.nuspec
    *.psmdcp
    packages/
    *.deps.json
    *.runtimeconfig.json

    # Dotnet CLI
    *.dotCover
    *.dotCover.*.xml
    *.coverage
    TestResults/
    *.trx
    *.coveragexml

    # Rider
    .idea/
    *.sln.iml

    # Logs and dumps
    *.log
    *.dmp

  4. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    We're standardizing a comprehensive .gitignore across all repositories to prevent accidental commits of sensitive data like secrets, credentials, and infrastructure configs. This reduces the risk of security breaches and ensures we stay compliant with best practices and regulatory requirements. It also keeps our repositories clean by excluding unnecessary files like logs, build artifacts, and IDE configs, which improves collaboration and reduces merge conflicts. Overall, it enforces consistency and safeguards our development and deployment workflows.

    Please create the following files in your repository with the same content as the `.aiignore`:

    .cursorignore .tabnineignore .codyignore .continueignore .opencommitignore .autocommitignore
  5. thereisnotime revised this gist Apr 11, 2025. No changes.
  6. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    We're standardizing a comprehensive .gitignore across all repositories to prevent accidental commits of sensitive data like secrets, credentials, and infrastructure configs. This reduces the risk of security breaches and ensures we stay compliant with best practices and regulatory requirements. It also keeps our repositories clean by excluding unnecessary files like logs, build artifacts, and IDE configs, which improves collaboration and reduces merge conflicts. Overall, it enforces consistency and safeguards our development and deployment workflows.
    We're standardizing a comprehensive .gitignore across all repositories to prevent accidental commits of sensitive data like secrets, credentials, and infrastructure configs. This reduces the risk of security breaches and ensures we stay compliant with best practices and regulatory requirements. It also keeps our repositories clean by excluding unnecessary files like logs, build artifacts, and IDE configs, which improves collaboration and reduces merge conflicts. Overall, it enforces consistency and safeguards our development and deployment workflows.

    Please create the following files in your repository with the same content as the `.aiignore`:

    .cursorignore .tabnineignore .codyignore .continueignore .opencommitignore .autocommitignore
  7. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    We're standardizing a comprehensive .gitignore across all repositories to prevent accidental commits of sensitive data like secrets, credentials, and infrastructure configs. This reduces the risk of security breaches and ensures we stay compliant with best practices and regulatory requirements. It also keeps our repositories clean by excluding unnecessary files like logs, build artifacts, and IDE configs, which improves collaboration and reduces merge conflicts. Overall, it enforces consistency and safeguards our development and deployment workflows.
  8. thereisnotime revised this gist Apr 11, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .aiignore
    Original file line number Diff line number Diff line change
    @@ -121,6 +121,8 @@ Thumbs.db
    .codyignore
    .continueignore
    .opencommitignore
    .autocommitignore
    .codeiumignore

    # Database
    *.sqlite
  9. thereisnotime created this gist Apr 11, 2025.
    137 changes: 137 additions & 0 deletions .aiignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,137 @@
    # Secrets and credentials
    *.env
    .env.*
    secrets.*
    credentials.*
    *.key
    *.pem
    *.crt
    *.der
    *.pfx
    *.p12
    *.jks
    *.keystore
    *.vault
    *.gpg
    *.asc
    *.id_rsa*
    *.kube/config
    .kube/
    .sops.yaml
    .sops.json

    # Terraform
    .terraform/
    .terraform.lock.hcl
    *.tfstate
    *.tfstate.*
    *.tfvars
    *.tfvars.json
    crash.log
    override.tf
    override.tf.json

    # Ansible
    *.retry
    *.vault_pass
    group_vars/
    host_vars/

    # Kubernetes
    kubeconfig
    *.kubeconfig
    *.yaml.sensitive

    # AWS/GCP/Azure
    .aws/
    .gcp/
    .azure/
    *.credentials
    *credentials.json
    *.config

    # Docker
    .dockerignore
    docker-compose.override.yml
    docker-compose.*.yml
    *.tar
    *.img
    *.dockerfile.bak

    # Python
    __pycache__/
    *.pyc
    *.pyo
    *.pyd
    .Python
    *.egg-info/
    *.egg

    # Node/JS
    node_modules/
    npm-debug.log*
    .yarn/
    .yarnrc
    .pnpm-debug.log

    # Ruby
    *.gem
    .bundle/
    vendor/bundle

    # Java
    *.class
    *.war
    *.jar
    *.iml
    .gradle/
    target/

    # Golang
    *.test
    bin/
    *.exe

    # Rust
    /target/
    **/*.rs.bk

    # Logs, temp files
    *.log
    *.tmp
    *.swp
    *.bak
    *.old
    *.orig
    *.rej
    *.gz

    # Editor/IDE
    .idea/
    .vscode/
    *.code-workspace
    *.sublime*
    *.vs/
    *.DS_Store
    Thumbs.db

    # AI/code assistants
    .cursorignore
    .tabnineignore
    .codyignore
    .continueignore
    .opencommitignore

    # Database
    *.sqlite
    *.sqlite3
    *.db
    *.mdb
    *.sql
    *.dump
    *.rdb

    # Backups
    *.bak
    *.bkp
    *.backup