commit 4b2558503d710931d58d028a680f6098da8f0b96 Author: klaas Date: Wed Jan 15 16:21:02 2025 +0100 initial diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/html/.gitignore b/html/.gitignore new file mode 100644 index 0000000..31b2671 --- /dev/null +++ b/html/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +dist/ +.cache/ +package-lock.json \ No newline at end of file diff --git a/html/assets/images/js-logo-xs.png b/html/assets/images/js-logo-xs.png new file mode 100644 index 0000000..25deac0 Binary files /dev/null and b/html/assets/images/js-logo-xs.png differ diff --git a/html/assets/scripts/app.js b/html/assets/scripts/app.js new file mode 100644 index 0000000..f53e28f --- /dev/null +++ b/html/assets/scripts/app.js @@ -0,0 +1,4 @@ +const user = ["klaas", "Börgmann"]; +const [first, last] = user; + +console.log(first); diff --git a/html/assets/scripts/utils.js b/html/assets/scripts/utils.js new file mode 100644 index 0000000..0e50f5d --- /dev/null +++ b/html/assets/scripts/utils.js @@ -0,0 +1 @@ +export let apiKey = "kjahyssiufhsah9"; diff --git a/html/assets/styles/main.css b/html/assets/styles/main.css new file mode 100644 index 0000000..a04f249 --- /dev/null +++ b/html/assets/styles/main.css @@ -0,0 +1,42 @@ +@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&family=Roboto+Condensed:wght@400;700&display=swap'); + +body { + font-family: sans-serif; + background-color: #1f1c17; + color: #e6e2db; +} + +header { + display: flex; + gap: 1rem; + justify-content: center; + align-items: center; + width: 90%; + max-width: 40rem; + margin: 2rem auto; + padding-bottom: 1.5rem; + border-bottom: 2px solid #ccc; +} + +header img { + width: 2rem; + object-fit: contain; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); +} + +header h1 { + color: #fce563; + font-family: 'Roboto Condensed', sans-serif; + font-weight: normal; + font-size: 1.25rem; +} + +ul { + list-style: none; + text-align: center; +} + +li { + margin: 0.5rem 0; + color: #e9e2ba; +} diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..5bc71d8 --- /dev/null +++ b/html/index.html @@ -0,0 +1,27 @@ + + + + JavaScript Refresher + + + + + + +
+ JavaScript logo +

JavaScript Refresher

+
+ + + diff --git a/html/package.json b/html/package.json new file mode 100644 index 0000000..2041eb2 --- /dev/null +++ b/html/package.json @@ -0,0 +1,23 @@ +{ + "name": "javascript-refresher-start", + "version": "1.0.0", + "description": "", + "main": "index.html", + "scripts": { + "start": "parcel index.html --open", + "build": "parcel build index.html" + }, + "dependencies": { + "parcel-bundler": "^1.12.5" + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "typescript": "^5.5.4" + }, + "resolutions": { + "@babel/preset-env": "7.13.8" + }, + "keywords": [], + "author": "", + "license": "ISC" +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..766401d --- /dev/null +++ b/index.html @@ -0,0 +1,368 @@ + + + + + + Apache2 Debian Default Page: It works + + + +
+ + +
+ + +
+
+ It works! +
+
+

+ This is the default welcome page used to test the correct + operation of the Apache2 server after installation on Debian systems. + If you can read this page, it means that the Apache HTTP server installed at + this site is working properly. You should replace this file (located at + /var/www/html/index.html) before continuing to operate your HTTP server. +

+ + +

+ If you are a normal user of this web site and don't know what this page is + about, this probably means that the site is currently unavailable due to + maintenance. + If the problem persists, please contact the site's administrator. +

+ +
+
+
+ Configuration Overview +
+
+

+ Debian's Apache2 default configuration is different from the + upstream default configuration, and split into several files optimized for + interaction with Debian tools. The configuration system is + fully documented in + /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full + documentation. Documentation for the web server itself can be + found by accessing the manual if the apache2-doc + package was installed on this server. + +

+

+ The configuration layout for an Apache2 web server installation on Debian systems is as follows: +

+
+/etc/apache2/
+|-- apache2.conf
+|       `--  ports.conf
+|-- mods-enabled
+|       |-- *.load
+|       `-- *.conf
+|-- conf-enabled
+|       `-- *.conf
+|-- sites-enabled
+|       `-- *.conf
+          
+
    +
  • + apache2.conf is the main configuration + file. It puts the pieces together by including all remaining configuration + files when starting up the web server. +
  • + +
  • + ports.conf is always included from the + main configuration file. It is used to determine the listening ports for + incoming connections, and this file can be customized anytime. +
  • + +
  • + Configuration files in the mods-enabled/, + conf-enabled/ and sites-enabled/ directories contain + particular configuration snippets which manage modules, global configuration + fragments, or virtual host configurations, respectively. +
  • + +
  • + They are activated by symlinking available + configuration files from their respective + *-available/ counterparts. These should be managed + by using our helpers + + a2enmod, + a2dismod, + + + a2ensite, + a2dissite, + + and + + a2enconf, + a2disconf + . See their respective man pages for detailed information. +
  • + +
  • + The binary is called apache2. Due to the use of + environment variables, in the default configuration, apache2 needs to be + started/stopped with /etc/init.d/apache2 or apache2ctl. + Calling /usr/bin/apache2 directly will not work with the + default configuration. +
  • +
+
+ +
+
+ Document Roots +
+ +
+

+ By default, Debian does not allow access through the web browser to + any file apart of those located in /var/www, + public_html + directories (when enabled) and /usr/share (for web + applications). If your site is using a web document root + located elsewhere (such as in /srv) you may need to whitelist your + document root directory in /etc/apache2/apache2.conf. +

+

+ The default Debian document root is /var/www/html. You + can make your own virtual hosts under /var/www. This is different + to previous releases which provides better security out of the box. +

+
+ +
+
+ Reporting Problems +
+
+

+ Please use the reportbug tool to report bugs in the + Apache2 package with Debian. However, check existing bug reports before reporting a new bug. +

+

+ Please report bugs specific to modules (such as PHP and others) + to respective packages, not to the web server itself. +

+
+ + + + +
+
+
+
+ + + diff --git a/index.nginx-debian.html b/index.nginx-debian.html new file mode 100644 index 0000000..e8f5622 --- /dev/null +++ b/index.nginx-debian.html @@ -0,0 +1,23 @@ + + + +Welcome to nginx! + + + +

Welcome to nginx!

+

If you see this page, the nginx web server is successfully installed and +working. Further configuration is required.

+ +

For online documentation and support please refer to +nginx.org.
+Commercial support is available at +nginx.com.

+ +

Thank you for using nginx.

+ +