alpha();
bravo();
charlie();
foxtrot();
golf hotel(); india
juliet kilo();
lima(); mike
novemberpapaoscar();
Inline code: let x = 42; and println!("hello") in a sentence.
use std::collections::HashMap;
fn main() {
let mut scores: HashMap<&str, i32> = HashMap::new();
scores.insert("Alice", 100);
scores.insert("Bob", 85);
scores.insert("Charlie", 92);
for (name, score) in &scores {
println!("{name}: {score}");
}
let total: i32 = scores.values().sum();
println!("Average: {}", total / scores.len() as i32);
}
import json
from pathlib import Path
def load_config(path: str) -> dict:
"""Load configuration from a JSON file."""
config_path = Path(path)
if not config_path.exists():
raise FileNotFoundError(f"Config not found: {path}")
with open(config_path) as f:
return json.load(f)
if __name__ == "__main__":
config = load_config("settings.json")
print(f"Loaded {len(config)} settings")
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example Page</title>
<style>
body { font-family: sans-serif; margin: 2rem; }
.highlight { background: #ff0; padding: 0.2em; }
</style>
</head>
<body>
<h1>Hello, World!</h1>
<p class="highlight">This is highlighted text.</p>
</body>
</html>
SELECT u.name, COUNT(o.id) AS order_count, SUM(o.total) AS total_spent
FROM users u
LEFT JOIN orders o ON u.id = o.user_id
WHERE u.created_at >= '2024-01-01'
GROUP BY u.id, u.name
HAVING COUNT(o.id) > 5
ORDER BY total_spent DESC
LIMIT 20;
Multiple inline examples: use git commit -m "message" to commit,
git push origin main to push, and git log --oneline -10
to see recent history. Backtick escaping: echo `date` should work.
#!/bin/bash
set -euo pipefail
# Process all .txt files in the current directory
for file in *.txt; do
if [[ -f "$file" ]]; then
line_count=$(wc -l < "$file")
echo "$file: $line_count lines"
fi
done
echo "Done processing $(ls *.txt 2>/dev/null | wc -l) files"
// No language specified — plain fenced code block
function mystery(x) {
return x * x + 2 * x + 1;
}