Skip to content

Instantly share code, notes, and snippets.

View DahlitzFlorian's full-sized avatar
🎯
Focused

Florian Dahlitz DahlitzFlorian

🎯
Focused
View GitHub Profile
@DahlitzFlorian
DahlitzFlorian / index.html
Created May 6, 2019 07:55
Pretty nice login page
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pretty Nice Login Page</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<form class="box" action="index.html" method="post">
<h1>Login</h1>
@DahlitzFlorian
DahlitzFlorian / presumm_abs_summarizer.ipynb
Last active May 11, 2022 15:32
Abstractive-based Text Summarization Using PreSumm
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DahlitzFlorian
DahlitzFlorian / t5_abs_summarizer.ipynb
Last active July 27, 2020 08:52
Abstractive-based Text Summarization Using T5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DahlitzFlorian
DahlitzFlorian / pegasus_abs_summarizer.ipynb
Created July 28, 2020 20:12
Abstractive-based Text Summarization Using PEGASUS
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DahlitzFlorian
DahlitzFlorian / t.py
Created November 29, 2022 15:59
Provide the full working example for a user asking a question on the video "How to Capture What Is Written to stdout in Python"
import contextlib
import io
captured_output = io.StringIO()
with contextlib.redirect_stdout(captured_output):
help(pow)
captured_string = captured_output.getvalue()
print(captured_string.upper())