Add "example" comments to templates

This commit is contained in:
Sage Vaillancourt 2024-01-20 19:19:02 -05:00
parent 3c3a787ad7
commit f8e8be47c5
8 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Example Dockerfile
FROM node:alpine
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app

View File

@ -1,3 +1,5 @@
// skeleton.c
#include <stdio.h>
int main(int argc, char* argv[])

View File

@ -1,3 +1,5 @@
// skeleton.cpp
#include <iostream>
class Person

View File

@ -1,4 +1,7 @@
<!DOCTYPE html>
<!-- skeleton.html -->
<html lang="en">
<head>

View File

@ -1,3 +1,5 @@
// skeleton.java
class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");

View File

@ -1,3 +1,5 @@
// skeleton.js
document.addEventListener('DOMContentLoaded', function initJs () {
console.log('Hello, world!')
})

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python
# skeleton.py
class Person:
def __init__(self, name, greeting = "Hello!"):
self.name = name

View File

@ -1,5 +1,7 @@
#!/usr/bin/env ruby
# skeleton.rb
class Person
def initialize(name)
@name = name