Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

# 18
SELECT *
FROM Teams, Spieler, Strafen
WHERE Teams.Spielernr = Spieler.Spielernr
AND Teams.Spielernr = Strafen.Spielernr
AND Strafen.Betrag is NULL
# 19
# 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
@danieldiekmeier
danieldiekmeier / gist:ef9f105937e27a28fa0c
Created December 11, 2014 11:23
Sublime Test Settings 141211
{
"caret_style": "phase",
"color_scheme": "Packages/User/earthsong-light.tmTheme",
"draw_white_space": "all",
"file_exclude_patterns":
[
"*.ctxt",
"*.class",
"bluej.*",
".DS_Store",
@danieldiekmeier
danieldiekmeier / gist:efd38967f388ad465ff8
Last active August 29, 2015 14:11
Wörter, die auf -al enden
Aal
Abbaumaterial
Abdeckmaterial
Abwehrpotential
Admiral
Aermelkanal
Alarmsignal
Alpenpokal
Analogsignal
Anklagematerial

.vimrc

set columns=80 set encoding=utf-8

im Terminal

defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Animation</title>
<meta name="description" content="FDSAnimation">
<meta name="author" content="katze">
'use strict'
const tags = {
'1': ['2'],
'2': ['1', '5'],
'3': ['4'],
'4': ['3', '5'],
'5': ['6'],
'6': ['7'],
'7': ['8'],
'use strict'
var tags = {
'a': ['b', 'c', 'd'],
'b': ['c', 'd'],
'c': ['d'],
'd': [],
'e': [],
'f': ['a']
}
import itertools
import math
items = [10, 3, 4, 10]
steps = 10
def make(a, b):
print(a, b)
result = []
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