This file contains 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 | |
def getSceneReleases(link): | |
newLink = link.split(".html")[0] + "/releases.html" | |
cookies = {"notice_understood":"1"} | |
r2 = requests.get(newLink, cookies = cookies) | |
soup = BeautifulSoup(r2.text, features = "lxml") | |
sceneReleases = soup.find_all("div", {"class": "release_item"}) | |
liste = [] |
This file contains 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
from collections import Counter | |
import requests | |
def getTotalSongLength(day, hour): | |
dauer = 0 | |
params = {"day": day, "hour": hour} | |
req = requests.get("https://api.nrjnet.de/webradio/playlist/energy/sachsen", params = params) | |
req.raise_for_status() | |
for title in req.json()["playlist"]["songs"]: | |
duration = title["duration"].split(":") |
This file contains 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 | |
import re | |
import html | |
from urllib.parse import urlparse, parse_qs | |
import difflib | |
import csv | |
from io import StringIO | |
# data is provided by Datacamp in a weired mixture of JSON and CSV, so I wrote my own function so find specific information | |
def findString2(result, search): |
This file contains 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
\documentclass{article} | |
\usepackage{amsmath,amssymb} | |
\usepackage{tikz} | |
\usepackage{pgfplots} | |
\usepackage{xcolor} | |
\usepackage{colortbl} | |
\usepackage[left=2.1cm,right=3.1cm,bottom=3cm,footskip=0.75cm,headsep=0.5cm]{geometry} | |
\usepackage{enumerate} | |
\usepackage{enumitem} |
This file contains 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
\documentclass{article} | |
\usepackage{amsmath,amssymb} | |
\usepackage{tikz} | |
\usepackage{pgfplots} | |
\usepackage{xcolor} | |
\usepackage[left=2.1cm,right=3.1cm,bottom=3cm,footskip=0.75cm,headsep=0.5cm]{geometry} | |
\usepackage{enumerate} | |
\usepackage{enumitem} | |
\usepackage{marvosym} |
This file contains 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
\documentclass{article} | |
\usepackage{amsmath,amssymb} | |
\usepackage{tikz} | |
\usepackage{pgfplots} | |
\usepackage{xcolor} | |
\usepackage[left=2.1cm,right=3.1cm,bottom=3cm,footskip=0.75cm,headsep=0.5cm]{geometry} | |
\usepackage{enumerate} | |
\usepackage{enumitem} | |
\usepackage{marvosym} |
This file contains 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 | |
#passende Ordner erstellen | |
read -p "Nummer der Vorlesung " nummer | |
mkdir -p Einzelseiten | |
mkdir -p Einzelseiten/VL$nummer | |
mkdir -p Einzelseiten/VL$nummer/audio | |
mkdir -p Einzelseiten/VL$nummer/jpg | |
mkdir -p Einzelseiten/VL$nummer/pdf | |
# mkdir -p Einzelseiten/VL$nummer/png |
This file contains 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
#file=$1 | |
#videoname=$(echo "$file" | cut -d "." -f1) | |
#echo "$videoname" | |
touch playlist.txt | |
touch urllist.txt | |
key=$1 | |
videoname=$2 | |
#keystring=$(cat $file | grep -o -E "key=[0-9,a-z]+") |
This file contains 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
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{parskip} | |
\usepackage[left=2.1cm,right=3.1cm,bottom=2.3cm,footskip=0.75cm,headsep=0.5cm]{geometry} | |
\usepackage[ngerman]{babel} | |
\usepackage{enumerate} | |
\usepackage{longtable} | |
\title{GDIÖ Selbsttest \LaTex Dokument} | |
\author{Felix Hauspurg} | |
\date{October 2020} |
This file contains 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
\documentclass{article} | |
\usepackage{amsmath,amssymb} | |
\usepackage{tikz} | |
\usepackage{xcolor} | |
\usepackage[left=2.1cm,right=3.1cm,bottom=3cm,footskip=0.75cm,headsep=0.5cm]{geometry} | |
\usepackage{enumerate} | |
\usepackage{enumitem} | |
\usepackage{marvosym} | |
\usepackage{tabularx} |
NewerOlder