View codys_jams.py
prices = [9, 9, 12, 12, 12, 15, 16, 20]
new_prices = []
# The lowest price has to be a reduces price
# Then calculate the original price from that
# remove both from the prices list and do it again
def solve (prices, new_prices):
if len(prices) == 0:
return new_prices
View rolling-average.py
import itertools
import math
items = [10, 3, 4, 10]
steps = 10
def make(a, b):
print(a, b)
result = []
View transitivity.js
'use strict'
var tags = {
'a': ['b', 'c', 'd'],
'b': ['c', 'd'],
'c': ['d'],
'd': [],
'e': [],
'f': ['a']
}
View tarjan.js
'use strict'
const tags = {
'1': ['2'],
'2': ['1', '5'],
'3': ['4'],
'4': ['3', '5'],
'5': ['6'],
'6': ['7'],
'7': ['8'],
View threesteep.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Animation</title>
<meta name="description" content="FDSAnimation">
<meta name="author" content="katze">
View gist:ad2db65f08eddfd3957d

.vimrc

set columns=80 set encoding=utf-8

im Terminal

defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001

View gist:efd38967f388ad465ff8
Aal
Abbaumaterial
Abdeckmaterial
Abwehrpotential
Admiral
Aermelkanal
Alarmsignal
Alpenpokal
Analogsignal
Anklagematerial
View gist:ef9f105937e27a28fa0c
{
"caret_style": "phase",
"color_scheme": "Packages/User/earthsong-light.tmTheme",
"draw_white_space": "all",
"file_exclude_patterns":
[
"*.ctxt",
"*.class",
"bluej.*",
".DS_Store",
View Info 3, Lab 2, Korrekturen
# Use Cases & Scenarios
## Use Cases
- Searching for product
- Listing the available products with further information
- Updating existing products
- Creating new products
- Buying a product
- Choosing a language
View Datenbanken Lösungen
# 18
SELECT *
FROM Teams, Spieler, Strafen
WHERE Teams.Spielernr = Spieler.Spielernr
AND Teams.Spielernr = Strafen.Spielernr
AND Strafen.Betrag is NULL
# 19