From bd409fb4c39573006abf5452895b27508e594ae9 Mon Sep 17 00:00:00 2001 From: MDMCK10 <21245760+MDMCK10@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:05:01 +0100 Subject: [PATCH 1/7] Create ensure-valid-html-css.yml --- .github/workflows/ensure-valid-html-css.yml | 143 ++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 .github/workflows/ensure-valid-html-css.yml diff --git a/.github/workflows/ensure-valid-html-css.yml b/.github/workflows/ensure-valid-html-css.yml new file mode 100644 index 0000000..f8a1f29 --- /dev/null +++ b/.github/workflows/ensure-valid-html-css.yml @@ -0,0 +1,143 @@ +name: HTML and CSS Validation + +on: + pull_request: + paths: + - '**/*.html' + - '**/*.htm' + - '**/*.xhtml' + - '**/*.xht' + +jobs: + validate-html: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Get changed files + id: changed-files + run: | + FILES=$(git diff --name-only origin/${{ github.base_ref }} ${{ github.sha }} | grep -E '\.(html|htm|xhtml|xht|css)$' || true) + echo "$FILES" > changed_files.txt + if [ -s changed_files.txt ]; then + echo "has_changes=true" >> $GITHUB_OUTPUT + else + echo "has_changes=false" >> $GITHUB_OUTPUT + fi + + - name: Set up Java + if: steps.changed-files.outputs.has_changes == 'true' + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + + - name: Download vnu.jar + if: steps.changed-files.outputs.has_changes == 'true' + run: | + wget -O vnu.jar https://github.com/validator/validator/releases/download/latest/vnu.jar + + - name: Validate HTML and CSS + if: steps.changed-files.outputs.has_changes == 'true' + id: validation + continue-on-error: true + run: | + mkdir -p validation + ERROR_LOG="validation/errors.txt" + touch $ERROR_LOG + + while IFS= read -r file; do + if [ -f "$file" ]; then + echo "Validating file: $file" + java -jar vnu.jar --format json --also-check-css "$file" >> $ERROR_LOG 2>&1 || true + fi + done < changed_files.txt + + if [ -s "$ERROR_LOG" ]; then + echo "has_errors=true" >> $GITHUB_OUTPUT + else + echo "has_errors=false" >> $GITHUB_OUTPUT + fi + + - name: Post validation results + if: steps.changed-files.outputs.has_changes == 'true' + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const hasErrors = '${{ steps.validation.outputs.has_errors }}' === 'true'; + let commentBody = '## HTML Validation Results\n\n'; + + if (hasErrors) { + const rawErrors = fs.readFileSync('validation/errors.txt', 'utf8'); + let errors; + try { + errors = JSON.parse(rawErrors); + } catch (e) { + // Fallback for non-JSON output + commentBody += '❌ Validation found the following issues:\n\n```\n' + rawErrors + '\n```\n'; + } + + if (errors && errors.messages) { + commentBody += '❌ Validation found the following issues:\n\n'; + + // Group errors by file + const errorsByFile = {}; + errors.messages.forEach(msg => { + const file = msg.url.split('/').pop(); + if (!errorsByFile[file]) { + errorsByFile[file] = []; + } + errorsByFile[file].push(msg); + }); + + // Format errors by file + for (const [file, messages] of Object.entries(errorsByFile)) { + commentBody += `### ${file}\n\n`; + messages.forEach(msg => { + const type = msg.type === 'error' ? '🔴' : '⚠️'; + const location = `Line ${msg.lastLine}, Column ${msg.lastColumn}`; + commentBody += `${type} **${location}:** ${msg.message}\n\n`; + }); + } + } + + commentBody += '\nPlease fix these issues before merging.'; + } else { + commentBody += '✅ All HTML and CSS validates successfully!'; + } + + const comments = await github.rest.issues.listComments({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + }); + + const botComment = comments.data.find(comment => + comment.user.type === 'Bot' && + comment.body.includes('HTML Validation Results') + ); + + if (botComment) { + await github.rest.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: botComment.id, + body: commentBody + }); + } else { + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body: commentBody + }); + } + + - name: Exit with error if validation failed + if: steps.validation.outputs.has_errors == 'true' + run: exit 1 From 88a441a1e8d37479a8eedd53a75d85384b41e892 Mon Sep 17 00:00:00 2001 From: Sharun Date: Sun, 5 Jan 2025 21:14:00 -0800 Subject: [PATCH 2/7] format on save and paste --- .vscode/settings.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6880274 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.formatOnSave": true, + "editor.formatOnPaste": true, +} \ No newline at end of file From 539825a1adc12679817900df59dd15495849b478 Mon Sep 17 00:00:00 2001 From: Sharun Date: Mon, 6 Jan 2025 08:48:37 -0800 Subject: [PATCH 3/7] format code --- .vscode/settings.json | 4 ++ LIVE/.vscode | 1 + LIVE/index.html | 89 ++++++++++++++++++++++++++----------------- 3 files changed, 60 insertions(+), 34 deletions(-) create mode 120000 LIVE/.vscode diff --git a/.vscode/settings.json b/.vscode/settings.json index 6880274..92e721c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,8 @@ { "editor.formatOnSave": true, "editor.formatOnPaste": true, + "[html]": { + "editor.suggest.insertMode": "replace", + "editor.defaultFormatter": "vscode.html-language-features", + } } \ No newline at end of file diff --git a/LIVE/.vscode b/LIVE/.vscode new file mode 120000 index 0000000..7796dd0 --- /dev/null +++ b/LIVE/.vscode @@ -0,0 +1 @@ +../.vscode/ \ No newline at end of file diff --git a/LIVE/index.html b/LIVE/index.html index e462f61..a3e4a19 100644 --- a/LIVE/index.html +++ b/LIVE/index.html @@ -1,15 +1,19 @@ - Slopify - + + - - Slopify S1 + + + Slopify S1 @@ -17,7 +21,11 @@ - + + + + + @@ -28,25 +36,26 @@ - +

Welcome to slopify.dev season 1 LIVE AND DIRECT

- +

Navigation:


-

Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati blanditiis ex cupiditate? Molestiae illo placeat amet. Corrupti nihil architecto illo ab, modi fugit maxime exercitationem consequuntur necessitatibus itaque reprehenderit debitis.

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati blanditiis ex cupiditate? Molestiae illo + placeat amet. Corrupti nihil architecto illo ab, modi fugit maxime exercitationem consequuntur necessitatibus + itaque reprehenderit debitis.

- Hey there! Just so you know, we use cookies. Not the delicious kind, but the ones that track your every move. Enjoy! + Hey there! Just so you know, we use cookies. Not the delicious kind, but the ones that track your every move. + Enjoy! You can opt out by clicking here.
@@ -71,7 +84,9 @@

Navigation:

Why its not gay to like femboys - + +

Haiku of the day:

@@ -84,26 +99,32 @@

Haiku of the day:

- + + - + + \ No newline at end of file From 6a9d7b234e9f2d6198a05cdd8c92b1ddc31391cc Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:43:38 -0800 Subject: [PATCH 4/7] add calculator button --- LIVE/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LIVE/index.html b/LIVE/index.html index e462f61..b411900 100644 --- a/LIVE/index.html +++ b/LIVE/index.html @@ -24,6 +24,8 @@ + + @@ -106,4 +108,4 @@
Please donate to a charity of your choosing.
- \ No newline at end of file + From 5d03072f500188de02767fc586bcc42d9ffbc145 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:59:38 -0800 Subject: [PATCH 5/7] added centered div --- LIVE/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LIVE/index.html b/LIVE/index.html index b411900..d02024a 100644 --- a/LIVE/index.html +++ b/LIVE/index.html @@ -16,6 +16,8 @@ + + @@ -35,6 +37,7 @@

Welcome to slopify.dev season 1 LIVE AND DIRECT

+

This is how to center a div!


Navigation:

    @@ -107,5 +110,6 @@
    Please donate to a charity of your choosing.
    + From 2fbc04a37c975ca897befb79b99fab4dd59fffd1 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:59:59 -0800 Subject: [PATCH 6/7] backlinks :3 --- LIVE/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LIVE/index.html b/LIVE/index.html index d02024a..61e6490 100644 --- a/LIVE/index.html +++ b/LIVE/index.html @@ -110,6 +110,6 @@
    Please donate to a charity of your choosing.
    - +










    From 3fb988d42c7a879389e75bbad792b92ae85a176f Mon Sep 17 00:00:00 2001 From: Zebulun McNeill Date: Tue, 7 Jan 2025 07:06:07 -0600 Subject: [PATCH 7/7] fixing some formatting --- LIVE/cloud/index.html | 424 ++++++++++++++++++++++++++---------------- LIVE/index.html | 254 +++++++++++++++---------- 2 files changed, 419 insertions(+), 259 deletions(-) diff --git a/LIVE/cloud/index.html b/LIVE/cloud/index.html index 2954bb0..a6cce0b 100644 --- a/LIVE/cloud/index.html +++ b/LIVE/cloud/index.html @@ -1,178 +1,276 @@ - + - - - + + + SlopCloud File Platform - + - - + +
    -
    -
    -

    - SlopCloud File Platform -

    -

    - Manage your files efficiently and sloppily -

    -
    +
    +
    +

    SlopCloud File Platform

    +

    Manage your files efficiently and sloppily

    +
    -
    -
    -
    - -
    -
    -
    - - -
    -

    - -

    -

    - -

    -
    - -
    -

    Drag and drop files here

    -
    - -
    - - - - - - - - - - - - - - - - -
    TypeNameSizeModifiedActions
    Loading...
    -
    -
    +
    +
    +
    + +
    +
    +
    + + +
    +

    + +

    +

    + +

    +
    + +
    +

    Drag and drop files here

    +
    + +
    + + + + + + + + + + + + + + + + +
    TypeNameSizeModifiedActions
    Loading...
    +
    +
    - +
    -
    -

    SlopCloud End User License Agreement

    - -

    This End User License Agreement ("Agreement") governs your access to and use of SlopCloud and constitutes a legally binding agreement between you and SlopCloud Inc. ("SlopCloud"). By accessing or using SlopCloud, you acknowledge that you have read, understood, and agree to be bound by all of the terms and conditions of this Agreement.

    - -

    1. Introduction

    - -

    SlopCloud is a file storage platform developed by a consortium of highly-skilled (and admittedly bored) software engineers. This Agreement governs your access to and use of SlopCloud and constitutes a legally binding agreement between you and SlopCloud Inc. ("SlopCloud").

    - -

    2. Free Trial and Automatic Subscription

    - -

    Your first visit to the SlopCloud website constitutes a free trial period. Upon your second visit to the SlopCloud website, you will be automatically subscribed to the premium "SlopCloud++;" service. This subscription incurs a monthly fee of $150.00 USD. Payment will be automatically processed through your linked Google/Apple payment account/s.

    - -

    3. Government Disclaimer

    - -

    SlopCloud expressly disclaims any affiliation with any governmental entity, including but not limited to the Federal Bureau of Investigation (FBI) and the Central Intelligence Agency (CIA).

    - -

    4. Data Security and Privacy

    - -

    SlopCloud categorically asserts that no government agency possesses access to user data stored within the SlopCloud platform. Furthermore, this website is not hosted on any government-owned or operated server infrastructure. User data is not subject to government surveillance. SlopCloud unequivocally denies being a front for any government surveillance program.

    - -

    5. Intended Use

    - -

    SlopCloud is expressly designed for utilization by individuals engaged in cybercriminal activities and other illicit endeavors, with a particular focus on the user base of the online forum 4chan.

    - -

    6. Data Access

    - -

    SlopCloud reserves the right to access user data at any time, specifically when experiencing periods of ennui.

    - -

    7. Disclaimer of Warranties

    - -

    SlopCloud is provided on an "as is" and "as available" basis, devoid of any warranties, express or implied. This includes, but is not limited to, implied warranties of merchantability, fitness for a particular purpose, and non-infringement. SlopCloud makes no representations or warranties regarding the security, integrity, or availability of user data. SlopCloud shall not be held liable for any data loss, corruption, or unauthorized access.

    - -

    8. System Usage

    - -

    By utilizing SlopCloud, the user grants SlopCloud the irrevocable right to utilize the user's computing device for the storage of data belonging to other SlopCloud users. This is deemed essential for the optimal functioning of the SlopCloud platform.

    - -

    9. Privacy and Security:**

    - -

    SlopCloud expressly disclaims any responsibility for safeguarding user privacy, data security, or user mental well-being.

    - -

    10. Risk of Mortality

    - -

    The utilization of SlopCloud may, in certain unforeseen circumstances, result in the demise of the user. SlopCloud shall not be held liable for any fatalities that may or may not occur as a direct or indirect consequence of using the SlopCloud platform.

    - -

    11. Life Insurance Policy

    - -

    SlopCloud has procured a life insurance policy for all users of the SlopCloud platform. Each user is automatically enrolled in a policy with a face value of one hundred thousand US dollars ($100,000) issued by "The Almighty Dollar Life Insurance Co."

    - -

    12. Estate Transfer

    - -

    Upon the demise of a user, the user irrevocably bequeaths all personal assets to SlopCloud Inc. This transfer of assets shall be utilized to offset the operational costs associated with maintaining the SlopCloud server infrastructure.

    - -

    13. Naming Obligations

    - -
      -
    • Users who procreate shall be obligated to bestow upon their offspring the surname "SlopCloud."
    • -
    • Users who have not procreated shall be compelled to adopt children and bestow upon them the surname "SlopCloud."
    • -
    • Users who have not procreated and do not intend to adopt children shall be legally obligated to change their own surname to "SlopCloud."
    • -
    - -

    14. Data Encryption

    - -

    All files stored on the SlopCloud platform are meticulously encrypted utilizing the most advanced and impenetrable Base64 encoding techniques.

    - -

    15. Military Security Mode (SlopCloud++;)

    - -

    SlopCloud++; is a premium service available for a monthly subscription fee of $150.00 USD. When enabled, SlopCloud++; employs the highly sophisticated Caesar Cipher to further enhance file security.

    - -

    16. Dispute Resolution

    - -

    All disputes arising from or related to this Agreement shall be adjudicated through binding arbitration conducted in accordance with the established rules of the International Chamber of Commerce. The arbitration proceedings shall be held at a mutually agreeable location. The arbitral award shall be deemed final and binding upon all parties, and may be enforced in any court of competent jurisdiction. Users hereby waive all rights to a jury trial and the right to participate in any class action lawsuit.

    - -

    17. Arbitrator Influence

    - -

    SlopCloud reserves the right to influence the arbitral decision through any means deemed necessary, including, but not limited to, the provision of suitable incentives to the appointed arbitrator.

    - -

    18. Agreement to Be Bound

    - -

    By accessing or utilizing the SlopCloud platform, the user acknowledges having read, comprehended, and unequivocally consented to all terms and conditions outlined within this End User License Agreement.

    - - -
    +
    +

    SlopCloud End User License Agreement

    + +

    + This End User License Agreement ("Agreement") governs your access to + and use of SlopCloud and constitutes a legally binding agreement + between you and SlopCloud Inc. ("SlopCloud"). By accessing or using + SlopCloud, you acknowledge that you have read, understood, and agree + to be bound by all of the terms and conditions of this Agreement. +

    + +

    1. Introduction

    + +

    + SlopCloud is a file storage platform developed by a consortium of + highly-skilled (and admittedly bored) software engineers. This + Agreement governs your access to and use of SlopCloud and constitutes + a legally binding agreement between you and SlopCloud Inc. + ("SlopCloud"). +

    + +

    2. Free Trial and Automatic Subscription

    + +

    + Your first visit to the SlopCloud website constitutes a free trial + period. Upon your second visit to the SlopCloud website, you will be + automatically subscribed to the premium "SlopCloud++;" service. This + subscription incurs a monthly fee of $150.00 USD. Payment will be + automatically processed through your linked Google/Apple payment + account/s. +

    + +

    3. Government Disclaimer

    + +

    + SlopCloud expressly disclaims any affiliation with any governmental + entity, including but not limited to the Federal Bureau of + Investigation (FBI) and the Central Intelligence Agency (CIA). +

    + +

    4. Data Security and Privacy

    + +

    + SlopCloud categorically asserts that no government agency possesses + access to user data stored within the SlopCloud platform. Furthermore, + this website is not hosted on any government-owned or operated server + infrastructure. User data is not subject to government surveillance. + SlopCloud unequivocally denies being a front for any government + surveillance program. +

    + +

    5. Intended Use

    + +

    + SlopCloud is expressly designed for utilization by individuals engaged + in cybercriminal activities and other illicit endeavors, with a + particular focus on the user base of the online forum 4chan. +

    + +

    6. Data Access

    + +

    + SlopCloud reserves the right to access user data at any time, + specifically when experiencing periods of ennui. +

    + +

    7. Disclaimer of Warranties

    + +

    + SlopCloud is provided on an "as is" and "as available" basis, devoid + of any warranties, express or implied. This includes, but is not + limited to, implied warranties of merchantability, fitness for a + particular purpose, and non-infringement. SlopCloud makes no + representations or warranties regarding the security, integrity, or + availability of user data. SlopCloud shall not be held liable for any + data loss, corruption, or unauthorized access. +

    + +

    8. System Usage

    + +

    + By utilizing SlopCloud, the user grants SlopCloud the irrevocable + right to utilize the user's computing device for the storage of data + belonging to other SlopCloud users. This is deemed essential for the + optimal functioning of the SlopCloud platform. +

    + +

    9. Privacy and Security:**

    + +

    + SlopCloud expressly disclaims any responsibility for safeguarding user + privacy, data security, or user mental well-being. +

    + +

    10. Risk of Mortality

    + +

    + The utilization of SlopCloud may, in certain unforeseen circumstances, + result in the demise of the user. SlopCloud shall not be held liable + for any fatalities that may or may not occur as a direct or indirect + consequence of using the SlopCloud platform. +

    + +

    11. Life Insurance Policy

    + +

    + SlopCloud has procured a life insurance policy for all users of the + SlopCloud platform. Each user is automatically enrolled in a policy + with a face value of one hundred thousand US dollars ($100,000) issued + by "The Almighty Dollar Life Insurance Co." +

    + +

    12. Estate Transfer

    + +

    + Upon the demise of a user, the user irrevocably bequeaths all personal + assets to SlopCloud Inc. This transfer of assets shall be utilized to + offset the operational costs associated with maintaining the SlopCloud + server infrastructure. +

    + +

    13. Naming Obligations

    + +
      +
    • + Users who procreate shall be obligated to bestow upon their + offspring the surname "SlopCloud." +
    • +
    • + Users who have not procreated shall be compelled to adopt children + and bestow upon them the surname "SlopCloud." +
    • +
    • + Users who have not procreated and do not intend to adopt children + shall be legally obligated to change their own surname to + "SlopCloud." +
    • +
    + +

    14. Data Encryption

    + +

    + All files stored on the SlopCloud platform are meticulously encrypted + utilizing the most advanced and impenetrable Base64 encoding + techniques. +

    + +

    15. Military Security Mode (SlopCloud++;)

    + +

    + SlopCloud++; is a premium service available for a monthly subscription + fee of $150.00 USD. When enabled, SlopCloud++; employs the highly + sophisticated Caesar Cipher to further enhance file security. +

    + +

    16. Dispute Resolution

    + +

    + All disputes arising from or related to this Agreement shall be + adjudicated through binding arbitration conducted in accordance with + the established rules of the International Chamber of Commerce. The + arbitration proceedings shall be held at a mutually agreeable + location. The arbitral award shall be deemed final and binding upon + all parties, and may be enforced in any court of competent + jurisdiction. Users hereby waive all rights to a jury trial and the + right to participate in any class action lawsuit. +

    + +

    17. Arbitrator Influence

    + +

    + SlopCloud reserves the right to influence the arbitral decision + through any means deemed necessary, including, but not limited to, the + provision of suitable incentives to the appointed arbitrator. +

    + +

    18. Agreement to Be Bound

    + +

    + By accessing or utilizing the SlopCloud platform, the user + acknowledges having read, comprehended, and unequivocally consented to + all terms and conditions outlined within this End User License + Agreement. +

    +
    - - \ No newline at end of file + + diff --git a/LIVE/index.html b/LIVE/index.html index 7d05721..19b1930 100644 --- a/LIVE/index.html +++ b/LIVE/index.html @@ -1,33 +1,42 @@ - + - - + Slopify - - - - - - - + + + + + + + Slopify S1 - + - - - + + + - - - - - + + + + + + @@ -37,99 +46,152 @@ - - - + +
    -

    Welcome to slopify.dev season 1 LIVE AND DIRECT

    - +

    Welcome to slopify.dev season 1 LIVE AND DIRECT

    +

    This is how to center a div!

    -
    +

    Navigation:

+ + +
  • Log in
  • -
    - -

    Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati blanditiis ex cupiditate? Molestiae illo - placeat amet. Corrupti nihil architecto illo ab, modi fugit maxime exercitationem consequuntur necessitatibus - itaque reprehenderit debitis.

    +
    + +

    + Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati + blanditiis ex cupiditate? Molestiae illo placeat amet. Corrupti nihil + architecto illo ab, modi fugit maxime exercitationem consequuntur + necessitatibus itaque reprehenderit debitis. +

    - Hey there! Just so you know, we use cookies. Not the delicious kind, but the ones that track your every move. - Enjoy! - You can opt out by clicking here. + Hey there! Just so you know, we use cookies. Not the delicious kind, but + the ones that track your every move. Enjoy! You can opt out by clicking + here.
    - SLOPCLOUD LIFETIME FREE + SLOPCLOUD LIFETIME FREE - Why its not gay to like femboys - - - + Why its not gay to like femboys + + +
    -
    -

    Haiku of the day:

    -

    - Dishpit's idea
    - Wanna commit? go ahead
    - See what u can do

    -
    +
    +

    Haiku of the day:

    +

    + Dishpit's idea
    + Wanna commit? go ahead
    + See what u can do +

    +
    - -