aboutsummaryrefslogtreecommitdiff
path: root/.boilerplates
diff options
context:
space:
mode:
Diffstat (limited to '.boilerplates')
-rwxr-xr-x.boilerplates/clj/run3
-rw-r--r--.boilerplates/cs/Program.cs9
-rwxr-xr-x.boilerplates/cs/run4
-rw-r--r--.boilerplates/web/index.html13
-rwxr-xr-x.boilerplates/web/run3
-rw-r--r--.boilerplates/web/script.js0
-rw-r--r--.boilerplates/web/style.css5
7 files changed, 37 insertions, 0 deletions
diff --git a/.boilerplates/clj/run b/.boilerplates/clj/run
new file mode 100755
index 0000000..3daae31
--- /dev/null
+++ b/.boilerplates/clj/run
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+lein run
diff --git a/.boilerplates/cs/Program.cs b/.boilerplates/cs/Program.cs
new file mode 100644
index 0000000..9dd8986
--- /dev/null
+++ b/.boilerplates/cs/Program.cs
@@ -0,0 +1,9 @@
+using System;
+
+public class Program
+{
+static int Main(string[] args)
+{
+ Console.WriteLine("Hello, world!");
+}
+}
diff --git a/.boilerplates/cs/run b/.boilerplates/cs/run
new file mode 100755
index 0000000..397bce4
--- /dev/null
+++ b/.boilerplates/cs/run
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+csc Program.cs
+mono Program.exe
diff --git a/.boilerplates/web/index.html b/.boilerplates/web/index.html
new file mode 100644
index 0000000..47f32f6
--- /dev/null
+++ b/.boilerplates/web/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
+ <link rel="stylesheet" href="style.css" type="text/css" media="all">
+ <title>Index</title>
+ </head>
+ <body>
+
+ <script src="script.js" charset="utf-8"></script>
+ </body>
+</html>
diff --git a/.boilerplates/web/run b/.boilerplates/web/run
new file mode 100755
index 0000000..f878e94
--- /dev/null
+++ b/.boilerplates/web/run
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+$BROWSER index.html
diff --git a/.boilerplates/web/script.js b/.boilerplates/web/script.js
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.boilerplates/web/script.js
diff --git a/.boilerplates/web/style.css b/.boilerplates/web/style.css
new file mode 100644
index 0000000..625c2f0
--- /dev/null
+++ b/.boilerplates/web/style.css
@@ -0,0 +1,5 @@
+html, body {
+ padding: 0;
+ margin: 0;
+ font-family: sans-serif;
+}