About this tool
Every developer keeps re-typing the same handful of files: the phpinfo.php you drop on a server to check its config, the .htaccess that forces HTTPS, the Dockerfile, the docker-compose with a database, the nginx reverse proxy. Here they are, ready to view, copy or download with the correct filename.
Treat them as starting points, not production configs — read each one and adjust it to your setup. Everything is served as static text; nothing runs on a server here.
Frequently asked questions
What license are these code samples under?
They're free to use, copy, and modify for any purpose — personal projects, tests, teaching, or as a starting boilerplate. No attribution is required.
Are these production-ready, or just examples?
They're minimal, working boilerplate meant as a starting point or a test fixture — review and harden them (error handling, security, config) before shipping to production.
What are these files useful for beyond just reading the code?
They're handy as real test fixtures: use them to check file-upload validators, syntax highlighters, linters, or file-type detection across many languages and formats without writing sample files yourself.
Is anything about what I download tracked or uploaded?
No. These are static file downloads — nothing about which files you pick or download is sent anywhere or logged.
What categories and languages are covered?
Files are grouped by category — server, Docker, CI, web, config, and language — spanning many popular languages and toolchains, so you can grab a realistic sample file for almost any file type.