From a9472585efce358ec3c25a4d99eef3c659a69d5c Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Fri, 24 Jan 2025 11:41:54 +0700 Subject: [PATCH] added templates directory --- templates/file.txt | 0 templates/index.html | 12 ++++++++++++ templates/index.js | 1 + templates/main.c | 6 ++++++ templates/main.cpp | 6 ++++++ templates/main.py | 5 +++++ templates/shell | 1 + templates/shell.sh | 1 + templates/styles.css | 5 +++++ 9 files changed, 37 insertions(+) create mode 100755 templates/file.txt create mode 100755 templates/index.html create mode 100755 templates/index.js create mode 100755 templates/main.c create mode 100755 templates/main.cpp create mode 100755 templates/main.py create mode 100755 templates/shell create mode 100755 templates/shell.sh create mode 100755 templates/styles.css diff --git a/templates/file.txt b/templates/file.txt new file mode 100755 index 0000000..e69de29 diff --git a/templates/index.html b/templates/index.html new file mode 100755 index 0000000..718a0d9 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,12 @@ + + + + + + + index + + + + + \ No newline at end of file diff --git a/templates/index.js b/templates/index.js new file mode 100755 index 0000000..1952682 --- /dev/null +++ b/templates/index.js @@ -0,0 +1 @@ +let root = document.querySelector('#root') \ No newline at end of file diff --git a/templates/main.c b/templates/main.c new file mode 100755 index 0000000..63a04cf --- /dev/null +++ b/templates/main.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("hello world"); + return 0; +} diff --git a/templates/main.cpp b/templates/main.cpp new file mode 100755 index 0000000..2f36fe3 --- /dev/null +++ b/templates/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "hello world\n"; + return 0; +} diff --git a/templates/main.py b/templates/main.py new file mode 100755 index 0000000..d1618a3 --- /dev/null +++ b/templates/main.py @@ -0,0 +1,5 @@ +def main(): + print("hello world") + +if __name__ == "__main__": + main() diff --git a/templates/shell b/templates/shell new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/templates/shell @@ -0,0 +1 @@ +#!/bin/sh diff --git a/templates/shell.sh b/templates/shell.sh new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/templates/shell.sh @@ -0,0 +1 @@ +#!/bin/sh diff --git a/templates/styles.css b/templates/styles.css new file mode 100755 index 0000000..4721693 --- /dev/null +++ b/templates/styles.css @@ -0,0 +1,5 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} \ No newline at end of file