Search notes:

.gitattributes

*.cpp      eol=lf
*.png      binary

linguist

linguist-… provides a way for custom override stategies for language definitions and file paths.

linguist-language

linguist-language identify/override the assumed language depending on the extension (for example by GitHub which uses the linguist library to identify languages in a repository).
For example, the following three lines make sure that *.bas, *.cls and *.frm are counted as Visual Basic for Application (VBA) source code:
*.bas linguist-language=vba
*.cls linguist-language=vba
*.frm linguist-language=vba

Links

This Github repository claims to collect useful .gitattribute templates.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759391029, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/version-control-systems/git/_gitattributes/index(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78