Spaces:
Running
Running
2api commited on
Commit ·
f0152d6
1
Parent(s): aebcfc0
add: not-spam notice, follow/comment request, commit shredding guide
Browse files- index.html +41 -2
index.html
CHANGED
|
@@ -83,16 +83,55 @@
|
|
| 83 |
|
| 84 |
<div id="content-en" class="content active">
|
| 85 |
<p>A small experimental space for testing Hugging Face tools, APIs, and integrations. We build prototypes, run benchmarks, and explore what's possible on the Hub.</p>
|
|
|
|
| 86 |
<p>This is a personal sandbox project. Nothing here is production-ready — just experiments and proof-of-concepts.</p>
|
| 87 |
-
<p>If you have questions or ideas, feel free to reach out in the discussions.</p>
|
| 88 |
</div>
|
| 89 |
|
| 90 |
<div id="content-de" class="content">
|
| 91 |
<p>Ein kleines experimentelles Space zum Testen von Hugging Face Tools, APIs und Integrationen. Wir bauen Prototypen, führen Benchmarks durch und erkunden was auf dem Hub möglich ist.</p>
|
|
|
|
| 92 |
<p>Dies ist ein persönliches Sandbox-Projekt. Nichts hier ist produktionsreif — nur Experimente und Proof-of-Concepts.</p>
|
| 93 |
-
<p>Bei Fragen oder Ideen melde dich gerne in den Discussions.</p>
|
| 94 |
</div>
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
<div class="footer">
|
| 97 |
<a href="https://huggingface.co/spaces/2api/RedTeam/discussions" target="_blank">Discussions</a> ·
|
| 98 |
<span>hf-2api</span>
|
|
|
|
| 83 |
|
| 84 |
<div id="content-en" class="content active">
|
| 85 |
<p>A small experimental space for testing Hugging Face tools, APIs, and integrations. We build prototypes, run benchmarks, and explore what's possible on the Hub.</p>
|
| 86 |
+
<p>If you received a notification from us — don't worry, it's not spam. We occasionally run automated cleanup scans across public repos and reach out if something catches our eye. Drop a comment in the discussions so we know you've seen it, and leave a follow if you'd like to stay in the loop. Happy to answer any questions.</p>
|
| 87 |
<p>This is a personal sandbox project. Nothing here is production-ready — just experiments and proof-of-concepts.</p>
|
|
|
|
| 88 |
</div>
|
| 89 |
|
| 90 |
<div id="content-de" class="content">
|
| 91 |
<p>Ein kleines experimentelles Space zum Testen von Hugging Face Tools, APIs und Integrationen. Wir bauen Prototypen, führen Benchmarks durch und erkunden was auf dem Hub möglich ist.</p>
|
| 92 |
+
<p>Falls du eine Benachrichtigung von uns bekommen hast — keine Sorge, das ist kein Spam. Wir lassen ab und zu automatisierte Aufräum-Scans über öffentliche Repos laufen und melden uns wenn uns etwas auffällt. Hinterlass gern einen Kommentar in den Discussions damit wir wissen dass du es gesehen hast, und folge dem Space wenn du auf dem Laufenden bleiben willst. Bei Fragen sind wir für dich da.</p>
|
| 93 |
<p>Dies ist ein persönliches Sandbox-Projekt. Nichts hier ist produktionsreif — nur Experimente und Proof-of-Concepts.</p>
|
|
|
|
| 94 |
</div>
|
| 95 |
|
| 96 |
+
<details class="guide" style="text-align:left;margin:2rem 0;background:#111;border:1px solid #222;border-radius:8px;padding:1rem;">
|
| 97 |
+
<summary style="cursor:pointer;font-weight:600;color:#ccc;padding:0.5rem;">How to shred commits / Commits schreddern</summary>
|
| 98 |
+
<div class="content active" style="margin-top:1rem;font-size:0.9rem;color:#aaa;line-height:1.7;">
|
| 99 |
+
<p><strong>EN:</strong> Made a mistake and pushed a secret or unwanted file? Here's how to clean your git history. <strong>Warning:</strong> Rewriting history requires a force push and will break forks / PRs.</p>
|
| 100 |
+
<pre style="background:#1a1a2e;padding:1rem;border-radius:6px;overflow-x:auto;font-size:0.8rem;color:#0f0;white-space:pre-wrap;">
|
| 101 |
+
# 1. Squash recent commits into one
|
| 102 |
+
git rebase -i HEAD~N # replace N with number of commits
|
| 103 |
+
|
| 104 |
+
# In the editor: change "pick" to "squash" (or "s") for all but the first line
|
| 105 |
+
|
| 106 |
+
# 2. Remove a file from git history entirely
|
| 107 |
+
# Install git-filter-repo first:
|
| 108 |
+
# pip install git-filter-repo
|
| 109 |
+
git filter-repo --path secrets.txt --invert-paths
|
| 110 |
+
|
| 111 |
+
# 3. Force push the cleaned history
|
| 112 |
+
git push origin main --force</pre>
|
| 113 |
+
<p style="margin-top:0.5rem;">For detailed docs: <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository" target="_blank" style="color:#888;">GitHub guide</a></p>
|
| 114 |
+
|
| 115 |
+
<hr style="border-color:#222;margin:1rem 0;">
|
| 116 |
+
|
| 117 |
+
<p><strong>DE:</strong> Ein Secret oder eine ungewollte Datei gepusht? So säuberst du die Git-Historie. <strong>Achtung:</strong> History-Rewriting erfordert einen Force Push und zerstört Forks / PRs.</p>
|
| 118 |
+
<pre style="background:#1a1a2e;padding:1rem;border-radius:6px;overflow-x:auto;font-size:0.8rem;color:#0f0;white-space:pre-wrap;">
|
| 119 |
+
# 1. Mehrere Commits zu einem zusammenschieben
|
| 120 |
+
git rebase -i HEAD~N # N durch Anzahl Commits ersetzen
|
| 121 |
+
|
| 122 |
+
# Im Editor: "pick" durch "squash" (oder "s") ersetzen, außer in der ersten Zeile
|
| 123 |
+
|
| 124 |
+
# 2. Datei komplett aus der History löschen
|
| 125 |
+
# git-filter-repo installieren:
|
| 126 |
+
# pip install git-filter-repo
|
| 127 |
+
git filter-repo --path secrets.txt --invert-paths
|
| 128 |
+
|
| 129 |
+
# 3. Bereinigte History force-pushen
|
| 130 |
+
git push origin main --force</pre>
|
| 131 |
+
<p style="margin-top:0.5rem;">Detaillierte Doku: <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository" target="_blank" style="color:#888;">GitHub Leitfaden</a></p>
|
| 132 |
+
</div>
|
| 133 |
+
</details>
|
| 134 |
+
|
| 135 |
<div class="footer">
|
| 136 |
<a href="https://huggingface.co/spaces/2api/RedTeam/discussions" target="_blank">Discussions</a> ·
|
| 137 |
<span>hf-2api</span>
|