From f5f080536e4f2cab5aaa7e7ebdc79829fff16de1 Mon Sep 17 00:00:00 2001 From: Kalzu Rekku Date: Sun, 23 Feb 2025 21:49:17 +0200 Subject: [PATCH] Added simple test page. --- index.html | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..c0964ca --- /dev/null +++ b/index.html @@ -0,0 +1,94 @@ + + + + + + Dark Themed Test Page + + + +
+

Test Page

+

This is a simple example of a dark-themed HTML page. You can customize it further as needed.

+ +

Sample Content

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

+ + + +

Code Example

+
import subprocess
+import os
+
+# Create the bash script content
+bash_script = """#!/bin/bash
+echo "Hello World from Bash!"
+"""
+
+# Write the bash script to a file
+with open("hello.sh", "w") as f:
+    f.write(bash_script)
+
+# Make the bash script executable
+os.chmod("hello.sh", 0o755)
+
+# Execute the bash script from Python
+try:
+    result = subprocess.run(["./hello.sh"], capture_output=True, text=True)
+    print("Bash script output:", result.stdout)
+except subprocess.CalledProcessError as e:
+    print("Error executing bash script:", e)
+
+ +
+ +