  # Compiled Java output                                                                                                   
  bin/                                                                                                                     
  target/                                                                                                                  
  *.class                                                                                                                  
                                                                                                                           
  # NetBeans private/generated files                                                                                       
  nbproject/private/
  nbbuild/                                                                                                                 
  dist/                                                                                                                    
  nbdist/                                                                                                                  
                                                                                                                           
  # VS Code personal settings                                                                                              
  .vscode/launch.json                                                                                                      
  .vscode/tasks.json                                                                                                       
                                                                                                                           
  # OS files                                                                                                               
  .DS_Store                                                                                                                
  Thumbs.db                                                                                                                
   
  # PDF files                                                                                                              
  *.pdf                   EOF
cat > .gitignore << 'EOF'                                                                                                
  # Compiled Java output                                                                                                   
  bin/                                                                                                                     
  target/                                                                                                                  
  *.class                                                                                                                  
                                                                                                                           
  # NetBeans private/generated files                                                                                       
  nbproject/private/
  nbbuild/                                                                                                                 
  dist/                                                                                                                    
  nbdist/                                                                                                                  
                                                                                                                           
  # VS Code personal settings                                                                                              
  .vscode/launch.json                                                                                                      
  .vscode/tasks.json                                                                                                       
                                                                                                                           
  # OS files                                                                                                               
  .DS_Store                                                                                                                
  Thumbs.db                                                                                                                
   
  # PDF files                                                                                                              
  *.pdf           
