This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| from bs4 import BeautifulSoup | |
| import json | |
| def fetch_html_with_curl(url): | |
| """ | |
| Ruft den HTML-Inhalt von einer gegebenen URL mit curl ab. | |
| """ | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Frank Kienitz", | |
| "functions": [ | |
| "Mitglied der AfD seit 2023", | |
| "Mitglied im AfD Kreisvorstand seit 2024", | |
| "Mitglied im Stadtrat", | |
| "Mitglied im Stadtrat Worms seit 2023" | |
| ] | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| from bs4 import BeautifulSoup | |
| import json | |
| import re | |
| def fetch_html_with_curl(url): | |
| """ | |
| Ruft den HTML-Inhalt von einer gegebenen URL mit curl ab, um Blockaden zu umgehen. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Adolf Kessel", | |
| "functions": [ | |
| "Oberbürgermeister der Stadt Worms" | |
| ] | |
| }, | |
| { | |
| "name": "Stephanie Lohr", | |
| "functions": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from bs4 import BeautifulSoup | |
| import json | |
| import re | |
| import subprocess | |
| def fetch_html_with_curl(url): | |
| """ | |
| Ruft den HTML-Inhalt von einer gegebenen URL mit curl ab, um Blockaden zu umgehen. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Dunp anzeigen, Die ersten 10 Suchergebnisse | |
| w3m -dump "https://duckduckgo.com/?t=h_&q=wetter+Worms" |grep -3 ^[1-9] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # nicht getestet | |
| # Dateiname des Jekyll-Posts als Argument übergeben | |
| POST_FILE="$1" | |
| if [[ -z "$POST_FILE" ]]; then | |
| echo "Bitte gib den Pfad zur Post-Datei an." | |
| echo "Beispiel: ./update_date.sh _posts/2024-05-10-mein-post.md" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <div id="anchors"></div> | |
| … | |
| <p>Lorem Ipsun <strong>trallala</strong> und noch mehr Zeugs</p> | |
| <p><strong>trullulu</strong> Lora ipsa macht Unsinn</p> | |
| <p>In die Pfanne eine <strong>Bratwurstlegen</strong></p> | |
| <p>This girl named <strong> Lolo </strong> is a dancer</p> | |
| <p>Kein anckor für diese Teile</p | |
| <br />Anderes Zeugs mit <strong>Strong</strong>,aber ohne Anchor Link | |
| <p><strong>Test</strong> and I know her</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="statuses"></div> | |
| <script> | |
| fetch('https://dein.masto-dingsbums.org/api/v1/accounts/<yournumber>/statuses') | |
| .then(response => response.json()) | |
| .then(data => { | |
| const container = document.getElementById('statuses'); | |
| data.forEach(status => { | |
| // Display status content (it's HTML) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for s in {1..20};do echo "$s";done |
NewerOlder