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 os | |
| import re | |
| import requests | |
| from bs4 import BeautifulSoup | |
| from urllib.parse import urljoin, urlparse | |
| import argparse | |
| def download_resource(session, url, base_dir, level=0): | |
| try: | |
| response = session.get(url, stream=True) |
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
| /* set the background image for all pages which have an (empty) <!-- .slide: data-background="" --> marker */ | |
| /* create overlay with background image */ | |
| .slide-background-content::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-image: url("image-url"); |
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 dateparser | |
| import re | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import csv | |
| from collections import defaultdict | |
| url = "https://easychair.org/smart-program/<conference_name>/program.html" | |
| track_url = "https://easychair.org/smart-program/<conference_name>/de_tracks.html" | |
| css_url = "https://easychair.org/smart-program/<conference_name>/program.css" |
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
| // written with the help of ChatGPT4 | |
| MATCH (n)-[r]->(m) | |
| WITH DISTINCT labels(n) AS ln, type(r) AS rt, labels(m) AS lm | |
| WITH "(" + apoc.text.join(ln, ":") + ")-[:" + rt + "]->(" + apoc.text.join(lm, ":") + ")" AS CypherPathExpression | |
| RETURN apoc.text.join(COLLECT(CypherPathExpression), '\n') AS GraphDataModel |
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
| # written by GPT4 | |
| import requests | |
| import json | |
| import platform | |
| import sys | |
| import argparse | |
| def get_latest_stable_version(): | |
| url = "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json" | |
| response = requests.get(url) |
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 dateparser | |
| import re | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import csv | |
| from collections import defaultdict | |
| url = ".../program.html" | |
| track_url = ".../tracks.html" | |
| css_url = "..../program.css" |
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
| # see https://github.com/sparklemotion/sqlite3-ruby/issues/383#issuecomment-1473000796 | |
| SQLTITE_EXTENSIONS_DIR=/opt/sqlite-extensions # must exist | |
| cd /tmp | |
| git clone https://github.com/sqlite/sqlite.git | |
| cd sqlite | |
| gcc -g -fPIC -shared ./ext/misc/spellfix.c -o spellfix.o | |
| sudo mv spellfix.o $SQLTITE_EXTENSIONS_DIR | |
| rm -rf sqlite # clean up |
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
| #!/usr/bin/env bash | |
| # run as root user | |
| apt install -y git ruby-dev curl | |
| # RUBY | |
| cd ~ | |
| git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
| echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc |
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
| library(tidyverse) | |
| library(tidytext) | |
| library(xts) | |
| library(tstools) | |
| base_dir = "C:\\Users\\Boulanger\\ownCloud\\Abteilung 3\\Projekte\\Legal Theory Graph" | |
| corpus_dirs = c() | |
| for (dir in list.dirs(base_dir)) { | |
| if (dir != base_dir) { | |
| corpus_dirs = c(corpus_dirs, dir) |
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
| ref | 4 Giordano, in: Mecklenburg (Hrsg.), Handbuch deutscher Rechtsextremismus, 1996, | |
| | S. 14; auch Hoffmann-Riem, NJW 2004, 2777 (2778) wirft vor, die deutsche Gesell- | |
| | schaft habe „bei der Aufarbeitung dieser Vergangenheit weithin versagt“; Falk, Ent- | |
| | nazifizierung und Kontinuität, 2017, S. 14 spricht von einer „Verdrängung von all | |
| | dem, was mit der NS-Zeit negativ in Verbindung gebracht werden konnte.“; zu den | |
| | Schwierigkeiten bei der Entnazifizierung auch Görtemaker/Safferling, Die Akte Ro- | |
| | senburg, 2016, S. 63 ff.; vgl. auch Bauer, Die Wurzeln faschistischen und nationalso- | |
| | zialistischen Handelns, 1961, S. 7. | |
| | 5 Dazu die akribische Aufbereitung von Will, Ephorale Verfassung, 2017. | |
| | 6 Salzborn, Rechtsextremismus, 2. Aufl. 2015, S. 36 f. |