Code Examples & Templates
Beginner-friendly examples and templates: language basics, a Discord bot, a datapack, Markdown guides, GitHub files and licenses. Every folder has a README explaining what, how and why.
View on GitHubPython
A simple Python script that walks through the basics of the language
JavaScript
The same basics tour in JavaScript, running in Node.js
C
The basics of C: pointers, structs, and manual memory
Java
The basics of Java: classes, collections, and exceptions
Rust
The basics of Rust: ownership, `Option`, `Result`, and `match`
Bash
The basics of shell scripting: variables, loops, pipes, and files
Website
A basic website with HTML, CSS, and JavaScript files to show how they all work together
Datapack
A Minecraft datapack that doesn't do much yet, but serves as a great starting template
Discord Bot
A Discord bot with slash commands, buttons, dropdown menus, pop-up forms, and moderation
MARKDOWN
Guides to Markdown, from the basics to advanced syntax (this README is written in it!)
Github
Templates for GitHub files like `.gitignore`, issue and Pull Request templates, workflows, and more
Github/Licenses
The full text of popular open-source licenses, plus a guide to picking one