aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-02-05 14:25:40 +0100
committerlonkaars <loek@pipeframe.xyz>2022-02-05 14:25:40 +0100
commit63c6a5da7d63b701f301b1a3b2f575e48ec350da (patch)
tree0e4ab06bcfd47491a253c3d876d0967d3b522561
initial commit
-rw-r--r--html16
-rw-r--r--makefile22
-rw-r--r--readme.md3
-rw-r--r--tex10
4 files changed, 51 insertions, 0 deletions
diff --git a/html b/html
new file mode 100644
index 0000000..1730a7a
--- /dev/null
+++ b/html
@@ -0,0 +1,16 @@
+snippet newhtml "HTML Starting Point"
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset='utf-8'>
+ <meta http-equiv='X-UA-Compatible' content='IE=edge'>
+ <title>${1:Page Title}</title>
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
+ <link rel='stylesheet' type='text/css' media='screen' href='${2:style.css}'>
+ <script src='${3:script.js}'></script>
+</head>
+<body>
+ ${0}
+</body>
+</html>
+endsnippet
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..05077fe
--- /dev/null
+++ b/makefile
@@ -0,0 +1,22 @@
+CC = gcc
+LD = gcc
+RM = rm -f
+CFLAGS =
+EXECNAME = main
+
+SOURCES := $(wildcard *.c)
+OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
+
+all: main
+
+.o:
+ $(CC) -c $(CFLAGS) $<
+
+$(EXECNAME): $(OBJECTS)
+ $(CC) $(OBJECTS) -o $(EXECNAME)
+
+clean:
+ $(RM) $(EXECNAME)
+
+distclean: clean
+ $(RM) *.o
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..98d7f6b
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,3 @@
+# templates
+
+these are templates i use as starting points for various projects
diff --git a/tex b/tex
new file mode 100644
index 0000000..008593f
--- /dev/null
+++ b/tex
@@ -0,0 +1,10 @@
+\documentclass[12pt, a4paper]{article}
+\usepackage[margin=1in]{geometry}
+
+\bigskipamount=7mm
+\medskipamount=4mm
+\parindent=0mm
+
+\begin{document}
+\end{document}
+