View ArrayTitelListe.java
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 |
View ask-totoro.sh
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 "$@") |
View settings.json
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" | |
}, | |
{ |
View lolchatban.txt
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 |
View Waage.jar
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 |
View zeichner.jar
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 |
View karel.txt
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(); | |
*/ | |
View justus.py
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 + '!') |
View eg
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) |
View 6
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
pancakes = int(input()) | |
if pancakes > 3: | |
print('Yum!') | |
else: | |
print('Still hungry!') |
NewerOlder