diff options
author | Marvin Borner | 2022-05-31 14:17:19 +0200 |
---|---|---|
committer | Marvin Borner | 2022-05-31 14:17:19 +0200 |
commit | b8be82d9113dd0fec9021aa573039cc64dbd849a (patch) | |
tree | 0694d21e5ba03e843dc6f03d1c5b1ed033123875 /.boilerplates | |
parent | 272cc6e941d798d7270fcf74a98f592ef06e14ac (diff) |
Clean
Diffstat (limited to '.boilerplates')
-rw-r--r-- | .boilerplates/c/.gitignore | 3 | ||||
-rw-r--r-- | .boilerplates/c/makefile | 24 | ||||
-rwxr-xr-x | .boilerplates/c/run | 7 | ||||
-rw-r--r-- | .boilerplates/c/src/main.c | 18 | ||||
-rwxr-xr-x | .boilerplates/clj/run | 3 | ||||
-rw-r--r-- | .boilerplates/comp/file.cpp | 31 | ||||
-rwxr-xr-x | .boilerplates/comp/run | 6 | ||||
-rw-r--r-- | .boilerplates/comp/test.txt | 0 | ||||
-rwxr-xr-x | .boilerplates/cs/run | 3 | ||||
-rw-r--r-- | .boilerplates/tex/.gitignore | 5 | ||||
-rw-r--r-- | .boilerplates/tex/bib/main.bib | 5 | ||||
-rw-r--r-- | .boilerplates/tex/main.tex | 51 | ||||
-rwxr-xr-x | .boilerplates/tex/run | 7 | ||||
-rw-r--r-- | .boilerplates/txt/md.md | 9 | ||||
-rw-r--r-- | .boilerplates/txt/ms.ms | 19 | ||||
-rwxr-xr-x | .boilerplates/txt/run | 3 | ||||
-rw-r--r-- | .boilerplates/web/index.html | 13 | ||||
-rwxr-xr-x | .boilerplates/web/run | 3 | ||||
-rw-r--r-- | .boilerplates/web/script.js | 0 | ||||
-rw-r--r-- | .boilerplates/web/style.css | 5 |
20 files changed, 0 insertions, 215 deletions
diff --git a/.boilerplates/c/.gitignore b/.boilerplates/c/.gitignore deleted file mode 100644 index 3a401d0..0000000 --- a/.boilerplates/c/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -out/ -compile_commands.json -tags diff --git a/.boilerplates/c/makefile b/.boilerplates/c/makefile deleted file mode 100644 index 7f33a3b..0000000 --- a/.boilerplates/c/makefile +++ /dev/null @@ -1,24 +0,0 @@ -TARGET=out/name -CC=gcc -CFLAGS=-Iinc -Wall -Wextra -g - -SRC=$(wildcard src/*.c) -OBJ=$(patsubst src/%.c,out/%.o,$(SRC)) -MAKEFLAGS+=--silent - -all: $(TARGET) - -$(TARGET): $(OBJ) - $(CC) $(CFLAGS) -o $@ $^ - -out/%.o: src/%.c - @mkdir -p "$(@D)" - $(CC) $(CFLAGS) -MD -o $@ -c $< - - -clean: - rm -rf out/ - --include $(OBJECTS:.o=.d) - -.PHONY: all clean run diff --git a/.boilerplates/c/run b/.boilerplates/c/run deleted file mode 100755 index 6eea488..0000000 --- a/.boilerplates/c/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env sh - -make --always-make --dry-run | grep -w 'gcc' | grep -w '\-c' | jq -nR '[inputs|{directory:".", command:., file: match(" [^ ]+$").string[1:]}]' > compile_commands.json - -ctags -R --exclude=.git --exclude=out . - -make && ./out/name "$@" diff --git a/.boilerplates/c/src/main.c b/.boilerplates/c/src/main.c deleted file mode 100644 index 10ea279..0000000 --- a/.boilerplates/c/src/main.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -void print_help() -{ - printf("Help\n"); - exit(1); -} - -int main(int argc, char *argv[]) -{ - if (argc == 2 && (strcmp(argv[1], "--help") == 0)) - print_help(); - - printf("Hello, world!\n"); - return 0; -} diff --git a/.boilerplates/clj/run b/.boilerplates/clj/run deleted file mode 100755 index 3daae31..0000000 --- a/.boilerplates/clj/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -lein run diff --git a/.boilerplates/comp/file.cpp b/.boilerplates/comp/file.cpp deleted file mode 100644 index ffdf9be..0000000 --- a/.boilerplates/comp/file.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include <iostream> -#include <cmath> -#include <bits/stdc++.h> -using namespace std; - -#define IOS \ - ios::sync_with_stdio(0); \ - cin.tie(0); \ - cout.tie(0); -#define int long long - -int32_t main() -{ - IOS int T; - cin >> T; - for (int t = 0; t < T; t++) { - int n, cnt = 0; - cin >> n; - - int a[n]; - for (int i = 0; i < n; i++) { - cin >> a[i]; - } - - // - - cout << "Case #" << t + 1 << ": " << cnt << endl; - } - - return 0; -} diff --git a/.boilerplates/comp/run b/.boilerplates/comp/run deleted file mode 100755 index dae3494..0000000 --- a/.boilerplates/comp/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env sh - -g++ file.cpp || exit 1 -./a.out < test.txt - -xclip -selection c < file.cpp diff --git a/.boilerplates/comp/test.txt b/.boilerplates/comp/test.txt deleted file mode 100644 index e69de29..0000000 --- a/.boilerplates/comp/test.txt +++ /dev/null diff --git a/.boilerplates/cs/run b/.boilerplates/cs/run deleted file mode 100755 index 995cd7c..0000000 --- a/.boilerplates/cs/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -time dotnet run diff --git a/.boilerplates/tex/.gitignore b/.boilerplates/tex/.gitignore deleted file mode 100644 index f01a3df..0000000 --- a/.boilerplates/tex/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.log -*.bbl -*.blg - -build/ diff --git a/.boilerplates/tex/bib/main.bib b/.boilerplates/tex/bib/main.bib deleted file mode 100644 index e7b117b..0000000 --- a/.boilerplates/tex/bib/main.bib +++ /dev/null @@ -1,5 +0,0 @@ -@book{beispiel, - author = {Borner, Marvin}, - year = {2020}, - title = {Dies ist ein Beispiel}, -} diff --git a/.boilerplates/tex/main.tex b/.boilerplates/tex/main.tex deleted file mode 100644 index 485184b..0000000 --- a/.boilerplates/tex/main.tex +++ /dev/null @@ -1,51 +0,0 @@ -\documentclass[a4paper]{article} - -% Packages -\usepackage[a4paper, inner=2.5cm, outer=2.5cm, top=2.5cm, bottom=2cm, bindingoffset=0cm]{geometry} -\usepackage{amsmath,amsthm,amssymb,amsfonts} -\usepackage{graphicx} -\usepackage[colorlinks=true, allcolors=blue]{hyperref} -\usepackage{fontspec,xunicode,xltxtra} -\usepackage{biblatex} - -% GERMAN -%\usepackage[ngerman=ngerman-x-latest]{hyphsubst} -%\usepackage[ngerman]{babel} - -% ENGLISH -\usepackage[USenglish]{babel} -\usepackage{hyphsubst} - -% Figures -\graphicspath{{figures/}} - -% Citations -\addbibresource{bib/main.bib} - -\begin{document} - -\title{Awesome paper} -\author{Marvin Borner} -\date{\today} - -\maketitle - -%\tableofcontents - -\begin{abstract} - Writing a professional paper in latex can be hard and exhausting. It takes a long time to compile but it's just the best option if you need a flawless vectorized font with a specific instruction set. -\end{abstract} - -\section{Introduction} -Welcome back! - -\begin{equation} - \label{simple_equation} - \alpha = \sqrt{\beta} -\end{equation} - -%\includegraphics[width=0.5\textwidth]{test} - -%\printbibliography[heading=bibintoc] - -\end{document} diff --git a/.boilerplates/tex/run b/.boilerplates/tex/run deleted file mode 100755 index e2a969a..0000000 --- a/.boilerplates/tex/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env sh - -mkdir -p build/ && - xelatex --output-directory=build/ main && - biber --input-directory=build/ main && - xelatex --output-directory=build/ main && - zathura build/main.pdf diff --git a/.boilerplates/txt/md.md b/.boilerplates/txt/md.md deleted file mode 100644 index a94ea2f..0000000 --- a/.boilerplates/txt/md.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "Awesome paper" -date: \today -author: "Marvin Borner" ---- - -# Abstract - -Writing a professional paper in latex can be hard and exhausting. If you write your paper in `markdown` with `Pandoc` though, you can easily write professional-looking papers with almost no effort! diff --git a/.boilerplates/txt/ms.ms b/.boilerplates/txt/ms.ms deleted file mode 100644 index 766ae3f..0000000 --- a/.boilerplates/txt/ms.ms +++ /dev/null @@ -1,19 +0,0 @@ -.TL -Awesome paper -.DA -.AU -Marvin Borner - -.AB -Writing a professional paper in latex can be hard and exhausting. If you write your paper in -.B groff -with -.B "ms macros" -though, you can easily write professional-looking papers with almost no effort -.B "and lightning speed"! -.AE - -.NH -Introduction -.PP -Good morning! diff --git a/.boilerplates/txt/run b/.boilerplates/txt/run deleted file mode 100755 index 945c051..0000000 --- a/.boilerplates/txt/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -echo "Run!" diff --git a/.boilerplates/web/index.html b/.boilerplates/web/index.html deleted file mode 100644 index 47f32f6..0000000 --- a/.boilerplates/web/index.html +++ /dev/null @@ -1,13 +0,0 @@ -<!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 deleted file mode 100755 index f878e94..0000000 --- a/.boilerplates/web/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -$BROWSER index.html diff --git a/.boilerplates/web/script.js b/.boilerplates/web/script.js deleted file mode 100644 index e69de29..0000000 --- a/.boilerplates/web/script.js +++ /dev/null diff --git a/.boilerplates/web/style.css b/.boilerplates/web/style.css deleted file mode 100644 index 625c2f0..0000000 --- a/.boilerplates/web/style.css +++ /dev/null @@ -1,5 +0,0 @@ -html, body { - padding: 0; - margin: 0; - font-family: sans-serif; -} |