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 os | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
cwd = os.getcwd() | |
def plot_file(file_path, filename): | |
print(f'Processing file: {file_path}') | |
with open(file_path, 'r') as file: |
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 java.util.Arrays; | |
/** | |
* Diese Klasse implementiert das Interface TitelListe mit "wachsenden" Arrays. | |
* | |
* @author Till Aust | |
* @author Axel Schmolitzky | |
* @author Petra Becker-Pechau | |
* @author Alexander Pokahr | |
* @author Christian Spaeh |
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 | |
# chmod +x ./ask-totoro.sh | |
# sudo mv ask-totoro.sh /path/to/bin/ask-totoro (e.g /usr/bin or ~/.local/bin) | |
# rofi -modi "ask-totoro:ask-totoro" -show ask-totoro | |
# i3 config (optional): | |
# bindym $mod+c exec --no-startup-id rofi -modi "ask-totoro:ask-totoro" -show ask-totoro | |
if [ ! -z "$@" ]; then | |
input=$(echo "$@") |
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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": "find", | |
"keys": "ctrl+shift+f" | |
}, | |
{ |
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
Game 1 | |
In-Game | |
PfifferlingPhil: KATA BOT IF YOU DIE I QUIT | |
PfifferlingPhil: bye | |
PfifferlingPhil: for realk | |
PfifferlingPhil: fuck you | |
PfifferlingPhil: no | |
PfifferlingPhil: I was base | |
PfifferlingPhil: when I pinged and wrote in chat | |
PfifferlingPhil: ff |
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
/** | |
* Nimmt die Messung einer Waage entgegen und gibt zurück, wie sich das Gewicht verändert hat, Durchschnitt des Gewichts und max- min- Gewicht | |
* | |
* @author Lucas Rock und Marius Niveri | |
* @version (a version number or a date) | |
*/ | |
public class Waage | |
{ | |
private int _letztesGewicht; // Das letzte Gewicht in Gramm |
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
/** | |
* Exemplare dieser Klasse zeichnen eine einfache Zeichnung. | |
* Um die Zeichnung auf dem Bildschirm anzuzeigen, muss die | |
* zeichneSimpel-Methode an einem Exemplar aufgerufen werden. | |
* | |
* Diese Klasse ist als fruehes Java-Lehrbeispiel mit BlueJ gedacht. | |
* | |
* @author Petra Becker-Pechau | |
*/ | |
class Zeichner |
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
/* | |
F1 = moveForward(); | |
F2 = turnLeft(); | |
F3 = turnAround(); | |
F4 = turnRight(); | |
F5 = pickBeeper(); | |
F6 = dropBeeper(); | |
*/ | |
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
name = input() | |
print(name + ', ' + name + ', bo-b' + name[1:]) | |
print('banana-fana fo-f' + name[1:]) | |
print('fee-fi-mo-m' + name[1:]) | |
print(name + '!') |
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
minBetrag = min(max(5, 0.021 * balance), balance) | |
print(minBetrag) |
NewerOlder